The Random String Generator creates random strings for passwords, API tokens, IDs, coupon codes, and test data. In Characters mode you choose the length and which characters to use: uppercase and lowercase letters, digits, symbols, and any custom characters, optionally without look-alikes such as 0 and O.
The other algorithms generate random bytes and encode them as Hex, Base64, Base64URL, or Base32 (RFC 4648), which suits secret keys and URL-safe tokens. Every result comes from your browser's cryptographically secure random generator and is never sent anywhere.
Are the strings secure enough for passwords and keys?
Yes. Every character or byte comes from crypto.getRandomValues, the browser's cryptographically secure random generator, and characters are picked without modulo bias. A 16-character password from letters and digits has about 95 bits of randomness; longer strings and larger character sets are stronger.
Is anything sent to a server?
No. Results are generated in your browser and never sent or saved. Only your settings, such as the algorithm, length, and character sets, are kept in this browser's local storage.
What are the limits?
Each result can be 1–256 characters in Characters mode or 1–256 random bytes in the byte encodings, and you can generate up to 100 results at once. Custom characters are limited to 256.
Which characters and encodings are supported?
Characters mode uses A–Z, a–z, 0–9, the symbols !@#$%^&*()-_=+[]{};:,.<>?/~, and any custom characters, including letters from other alphabets and emoji. Hex is lowercase, Base64 and Base32 follow RFC 4648 with = padding, and Base64URL uses - and _ without padding.
What does avoiding look-alike characters do?
It removes 0, O, o, 1, l, I, and | from the characters used, so codes are easier to read aloud or type from paper. Removing characters makes each string slightly less random, so use a longer length if strength matters.