Key takeaways
- Password strength is a number of bits, not a verdict. Each character adds log2 of the alphabet size: about 4.7 bits for lowercase only, 5.95 for letters and digits, 6.55 for the full printable ASCII set.
- Length beats symbol variety. Twelve characters from a 94-symbol alphabet is roughly 79 bits; eight characters with every symbol class enabled is only about 52 bits, which a fast-hash GPU attack can exhaust in hours.
- A five-word diceware passphrase carries about 65 bits and a six-word one about 78, because each word is drawn from a fixed list of 7,776 and contributes 12.9 bits.
- QR error correction recovers approximately 7 percent of codewords at L, 15 at M, 25 at Q and 30 at H. Higher correction means less payload at the same version, so a logo overlay is a capacity decision as well as a durability one.
- Unpredictable and auditable are different properties. Cryptographic randomness is right for a secret and wrong for a prize draw people need to verify, which wants a published seed and a reproducible method instead.
- Generated names, handles and business names are candidates, not clearance. A name generator cannot tell you whether a trademark or a domain is already taken, and mock names can coincide with real people.
Entropy Is a Number, Not a Feeling
'Strong' is the word every password meter uses and the word that tells you nothing. The measurable quantity is entropy in bits: the base-2 logarithm of the number of equally likely passwords the generator could have produced. A password drawn uniformly from an alphabet of size A and length L carries L × log2(A) bits. That is the whole formula, and it makes the trade-offs arithmetic instead of opinion. Lowercase letters alone give log2(26) ≈ 4.70 bits per character; adding uppercase takes the alphabet to 52 and 5.70 bits; adding digits takes it to 62 and 5.95 bits; the full printable ASCII set of 94 characters gives 6.55 bits. The password generator reports this number rather than a colour, because the number is the part you can act on.
Notice what the formula says about the advice people are usually given. Enabling every character class buys you 6.55 bits per character instead of 4.70 — a gain of about 40 percent per character. Adding four more characters at the smaller alphabet buys 4 × 4.70 ≈ 18.8 bits, which is a factor of roughly 450,000 in search space. Length wins, and it wins by orders of magnitude, which is why a long lowercase passphrase can be stronger than a short 'complex' password that is harder to type and harder to remember. The random word generator is the raw material for exactly that trade.
Bits only mean something against an attack rate, so here is one stated plainly. Against a fast, unsalted hash such as NTLM, a single high-end GPU already tests on the order of tens of billions of candidates per second; a rig tests more. At 100 billion guesses per second, exhausting 52 bits takes about twelve hours, 64 bits about six years, and 78 bits about a hundred thousand years. Those figures are for the worst case — an attacker who has your hash and no rate limit. A properly salted, deliberately slow hash such as bcrypt or Argon2 cuts the rate by several orders of magnitude and moves every one of those numbers in your favour. The practical reading: 52 bits is not enough for anything you care about, 64 bits is a floor, and somewhere in the high 70s is comfortable for a password you will keep for years.
Two follow-ups turn that arithmetic into decisions. First, hashing does not add entropy: a hash function is deterministic, so an attacker who knows your scheme can enumerate the same candidate list and hash each one. Feeding a 52-bit input through SHA-256 gives you a 256-bit digest that is still only 52 bits strong, which is why the hash functions guide separates what a digest is good for — integrity, fingerprints, key derivation — from what it cannot do, which is manufacture unpredictability that was never in the input. Second, not every random identifier is a password, and the budgets differ by design: the UUID versions guide works through the 122 random bits in a version 4 UUID against the 74 in a time-ordered version 7, and explains why a version 1 UUID leaks the machine it was made on. Pick the version for the job, then check its bit budget against the threat rather than assuming all UUIDs are equally unguessable.
Passphrases: The Same Bits, Remembered Differently
A diceware passphrase replaces characters with words drawn from a fixed public list of 7,776 entries — 6 to the fifth power, originally chosen so five dice rolls select one word. Each word therefore contributes log2(7776) ≈ 12.92 bits. Five words give about 64.6 bits, six give 77.5, seven give 90.5. Compare that with the character maths above: six random words are roughly equivalent to twelve random printable-ASCII characters, and they are far easier to remember, type and read aloud. That equivalence is the entire argument for passphrases, and it is why the password generator offers a passphrase mode alongside random strings.
Two conditions make the number honest. The list must be fixed and known, so the entropy comes from the selection and not from secrecy about the vocabulary — a private word list you invented yourself has unknown size and usually far less entropy than it feels like. And the words must be chosen independently and uniformly, not picked by a human trying to make a memorable sentence, because human choice collapses the space dramatically. 'correct horse battery staple' is famous precisely as an illustration of the format, not as a password anyone should use; a phrase that has appeared in a comic is in every cracking dictionary.
Separators are a small bonus and a real usability decision. A space, hyphen or dot between words adds a little entropy if the choice is itself random, but the main effect is that the phrase survives being typed into a field that strips or normalises whitespace. Some legacy systems reject spaces outright, which is a reason to prefer a hyphen. What does not add entropy is capitalising the first letter or appending a digit to satisfy a composition rule — those are predictable transformations, and an attacker models them as such rather than counting them as random choices.
QR Error Correction: Four Levels, Four Different Jobs
A QR code stores redundant codewords so it can be read when part of it is damaged, dirty or covered. The four levels recover approximately 7 percent of codewords at L, 15 percent at M, 25 percent at Q and 30 percent at H. The trade is direct: at a fixed version, higher correction means fewer bytes of payload, because the redundancy occupies space that would otherwise carry data. The QR code generator reports the version and module count it settled on, which is how you see that trade happening rather than guessing at it.
Choose by what will physically happen to the code. L is for a clean screen-to-screen scan where nothing will ever obscure it and you want maximum payload in the smallest space. M is the sensible default for general print. Q is for industrial or outdoor use where abrasion and dirt are expected. H is for the case people most often get wrong: a logo placed in the centre. A centred logo covering up to about a quarter of the code area is generally survivable at H, because the correction is distributed across the whole symbol rather than concentrated in the middle — but the quiet zone, the four-module blank margin around the code, must stay clear regardless of level. A logo that bleeds into the quiet zone breaks detection before correction ever gets a chance to help.
Size and contrast decide whether a code scans at all, and neither is fixed by the correction level. The common rule of thumb is that the code's width should be about a tenth of the intended scanning distance, so a poster read from two metres wants a code around twenty centimetres across, not two. Each module needs to be large enough for the camera to resolve — at version 40 the symbol is 177 modules per side, so a small printed high-version code can have modules below a tenth of a millimetre and simply fail. Inverted codes, light modules on a dark background, are a frequent cause of 'it works on my phone but not theirs': many decoders assume dark-on-light. Keep strong contrast, keep the quiet zone, and prefer SVG over PNG for anything that will be printed or scaled, since a raster export upscaled past its resolution produces the blurred module edges that scanners read as damage.
Unpredictable Is Not the Same as Fair
This is the distinction almost nobody makes before running a draw, and it is the one that causes arguments afterwards. Cryptographic randomness is designed to be unpredictable: nobody, including the person running the generator, can know or reconstruct the next value. That is exactly what a password or a session token needs. It is exactly what a raffle does not need, because the people entering want to be able to check that the draw was not arranged — and an unpredictable, unreproducible number gives them nothing to check.
For a draw that has to be defensible, the properties you want are a published method and a published seed, so that anyone can rerun the same shuffle and get the same result. A seeded pseudorandom generator is the right tool there, not a weakness: its predictability is the feature, because it makes the outcome reproducible and therefore auditable. The stronger pattern is commit-and-reveal — publish a hash of the seed before entries close, then publish the seed afterwards, so nobody could have chosen a seed that favoured a particular entrant after seeing the list. The random number generator draws from the cryptographic source and is the right choice when the value must be unguessable; when the value must be verifiable, the mechanism has to be one other people can repeat.
The same reasoning applies to picking teams or ordering a queue. If the outcome will be disputed, record the input list and the method, not just the result. And be clear about what 'random' is being asked to achieve: a uniform shuffle gives every ordering equal probability, which is fair in the sense of unbiased, but it does not produce balanced groups. Ten people split randomly into two teams can easily land eight strong players on one side. Unbiased and balanced are different goals, and only one of them is what randomness delivers.
Mock Data That Breaks Your Interface on Purpose
Generated names are for testing, and the useful ones are the ones that expose the assumptions your interface has not stated. A list of tidy Anglophone first-and-last pairs will pass every test and hide every bug. Real data contains apostrophes, hyphens, accents, particles, single-character surnames, forty-character compound names, and scripts your font may not cover. The random name generator is worth using with the awkward cases deliberately included, because a field that truncates at twenty characters or a database column that rejects an apostrophe is a defect you want to find before a user does.
There is a second trap that is easy to miss: realistic generated names coincide with real people. A name list drawn from common given names and surnames will produce combinations that belong to actual individuals, which matters if the mock data ends up in a screenshot, a public demo, a seeded staging database or a support ticket. Treat generated identities as fictional-but-possibly-real, and do not attach invented attributes to them — a fake medical record or a fake criminal history keyed to a name that turns out to be a real person is a genuine harm, not a styling bug.
For filler text the choice is between volume and vocabulary. Lorem ipsum gives realistic word-length distribution without meaning, which is right for judging layout; the lorem ipsum generator and the random word generator serve those two different needs, and the text tools guide covers where each fits alongside counters and case conversion. For identifiers rather than prose, a nanoid generator produces URL-safe random IDs — the default 21 characters from a 64-symbol alphabet is about 126 bits, comfortably more than the 122 random bits in a UUID v4, in a shorter and more readable string. Neither is a password: an identifier is meant to be stored and logged, and a secret is meant to be neither.
Business Names and Teams: A Human Decision Still Follows
A business name generator produces candidates, and the word 'candidates' is doing real work. The business name generator combines a keyword with naming patterns — compounds, suffixes, alliteration, portmanteaus — to give you a list worth reacting to, which is genuinely useful when the blank page is the problem. What it cannot do is tell you whether a name is available. Trademark registers, company registries and domain availability are three separate searches, and a name that clears all three in your own country may still be blocked in a market you plan to enter. Generate widely, then check narrowly; the order matters, because falling in love with an unchecked name is how projects end up rebranding after launch.
Usernames have a smaller version of the same problem. The username generator produces handles in a chosen style from a seed word, and style is the part people care about — underscores, dots, leet substitutions, gamer tags. Availability is per-platform and cannot be inferred from the string. A handle that is free on one service is routinely taken on another, and the generated list is a starting point for checking rather than a reservation.
Team splitting is where the fairness distinction from earlier becomes concrete. The team generator shuffles a list into groups, which gives unbiased assignment and near-equal group sizes. If the groups need to be balanced by something — skill, department, seniority, availability — random assignment alone will not do it, and the honest approach is to stratify first: bucket people by the attribute you care about, then shuffle within each bucket and deal across teams. That keeps the randomness where it belongs, on the tie-breaking, and puts the balance where it belongs, in the structure. A generator that claims to produce 'balanced' teams from an unstructured list is claiming something randomness does not provide.
Why the Entropy Source Should Be on Your Device
There is a specific reason to prefer a generator that runs in the browser, and it is not the general privacy argument — it is that a password produced on a server is a password that server has seen. Even a well-run service that logs nothing deliberately may retain the value in an access log, an error trace, a debugging snapshot or a backup, and the person who generated it has no way to verify any of that. A generator running locally produces the secret inside your own tab, and you can confirm the absence of a network request yourself by opening the browser's Network panel before pressing the button. That is a checkable claim rather than a policy promise, and it is the same standard the online calculators guide applies to salary and loan figures.
The source matters as much as the location. Every generator here draws from crypto.getRandomValues, the browser's interface to the operating system's cryptographic entropy pool — the same source that produces TLS session keys. Math.random() is never used: in current engines it is a fast pseudorandom generator whose internal state can be reconstructed from a handful of outputs, which makes it fine for animation and useless for anything secret or anything contested. The distinction is not about speed or quality of distribution in the ordinary sense; it is about whether an adversary who sees some outputs can compute the others.
The practical payoff is that these tools keep working with the network disconnected, which is both a privacy property and a reliability one. A password generated on a plane, a QR code produced for a poster with no connection, a team split run in a classroom with bad wifi — none of them depend on a service being up, and none of them leave a record of what you made. Closing the tab discards everything, which is the correct behaviour for a secret and the reason to copy the result somewhere you control before you close it.
Frequently asked questions
The questions people ask most about random generators: passwords, qr & names, answered directly.