crypto.getRandomValues, rejection sampling
Generate a random password
A password from a coin-flip source is stronger than a word you adapted. This page draws each character from the sets you leave on, and then forgets it when you leave.
Bytes come from crypto.getRandomValues. Values that would bias the remainder are discarded, so the last characters in the alphabet are not slightly more common. Length runs from 8 to 64. Similar-looking characters, such as 0, O, 1, and l, can be removed when a person has to read the password aloud. The page does not hash the result and does not check it against a breach list.
The password exists only in this tab. It is not uploaded, logged, or written to an account, because Glazlo has no accounts.
This tool runs in your browser. Turn on JavaScript to use it.
A 16-character draw, not a password to reuse
The illustration below is the shape of the settings. Generate your own. Do not adopt a password that was printed on a web page.
- Length
- 16
- Sets
- lowercase, uppercase, digits, symbols
- Stored
- No
How to use it
- 1Set a length. Sixteen or more is a reasonable start for a generated password.
- 2Leave at least one character set on. Turn off similar characters if a human will type it.
- 3Copy it into a password manager. Then clear the page.
Good to know
- The generator does not guarantee a character from every set. A short password can miss symbols by chance. Length is the main control.
- Symbols are !@#$%^&*-_=+?. Some sites reject a subset of those.
- Refresh the page and the previous password is gone.
Questions
Is this stored in the browser?
No. There is no local database and no cookie for the password.
Why not a memorable phrase?
This page is for random characters. A phrase you can remember is a different design, and it is not generated here.
Can I see how random it is?
The source is the Web Cryptography random generator. The page does not use Math.random.
Related tools
- Generate UUID version 4
A version 4 UUID is a random id in a fixed shape. Databases use it when they do not want a guessable counter. It is not a secret and not a checksum.
- Encrypt text with a passphrase
This page locks a message you can read again only with the same passphrase. The package is specific to Glazlo. OpenSSL and a password manager will not know the byte layout.
- Hash text or a file
A hash is a fixed-length fingerprint. The same bytes always produce the same digest, and the digest is not a way back to the file. Use it to compare a download or to spot a changed string.