Back to the blog

Random

How a name generator makes names, and keeps them clean.

How a name generator works in your browser, with nothing uploaded: its own word lists, fair random draws, a check for rude joins and seeds that repeat.

By 5 min read

The Random number generator showing 42 in large figures, two dice showing four and three, and a coin showing heads

A name generator looks like magic: press a button and twenty names appear. Underneath, it is word lists, a few rules for putting words together, and a fair source of chance. Here is how KeepSimp's works, and what it can and cannot tell you about a name.

Word lists of its own, put together by rules.

Every name is made from lists KeepSimp wrote for the job: several hundred adjectives and nouns for usernames, plural nouns for teams, word roots and endings for brands, pet names in six styles, and sets of syllables for made-up names. None of them is copied from another site.

Each kind of name has its own rules. A username joins an adjective and a noun, a team puts The in front of an adjective and a plural, a brand blends a root with an ending so that Maple and ify become Maplify, and a fantasy name joins syllables and refuses letters nobody could say.

Every word as likely as any other.

Words are drawn by your browser's cryptographic generator, the one that makes encryption keys, by rejection sampling, so that no word in a list is favoured. The same method draws the numbers in the random number generator.

That matters less for a name than for a lottery, but it means a list of fifty names is fifty fair draws, not the same few favourites every time.

Rude words are caught where words join.

Two harmless words can spell something rude where they meet, and made-up syllables can spell anything. So every name is checked against LDNOOBW's public list of rude words, letters only, before it is shown, and drawn again if it holds one. The word lists themselves hold none, and a test checks that.

A word you type yourself is yours: a term found wholly inside it is let through, so a brand called Glassworks is not refused, but one that reaches over its edge into a generated word is caught.

A seed makes the same names again.

Under More options, turn on a seed and type any word. The seed is turned into a number and starts a seeded generator, so the same seed and the same settings make the same list on any device. A class or a team can all see the same names.

What a generator cannot do is tell you whether a name is free. KeepSimp sends nothing anywhere, so it never looks names up. Search for a name on the site where you will use it before you settle on it.

Further reading

Topics: name generator · random name generator · username generator · how name generators work · name ideas · seeded random names · family friendly names

A little less theory. A little more doing.

Try it on your own terms, with a free browser tool.

Try the tool