Short answer: set the length, choose the character sets and press Generate. The entropy line tells you how many bits of randomness the string actually has, and the strength badge says what that is adequate for. Nothing is stored, so copy it before you close the tab.
Why the entropy figure is honest
Strength meters on the web usually score character classes and call it a day, which lets a value like Password1! pass as "strong". The number here is the size of the space the string was drawn from: length × log₂(alphabet). It is a fact about the draw, not a claim about the secret. 16 characters from 62 symbols is about 95 bits; 24 from 85 is about 154.
If the string is reused across services, or pasted into a chat window, its effective strength is whatever the weakest handling of it is. No generator can fix that.
Uniform, not just random
Taking byte % alphabetLength biases the first characters of the alphabet, because 256 does not divide evenly by most lengths. This generator discards the biased tail and redraws, then shuffles with the same source so a guaranteed character is not always first. The unit tests assert the shape of the output and the entropy maths, not the specific string.
What not to use it for
- Storing a password — that is a password manager's job.
- Deriving a key from a passphrase — use a KDF such as Argon2id or HKDF.
- Anything you need to recover later: this page keeps no record.
For identifiers that will live in a database, a UUID is the better shape. For verifying a download, use thehash generator.