Random Alphanumeric Generator
Random strings of a fixed length: letters, digits, hex or lowercase.
This is for identifiers rather than passwords: order references, coupon codes, fixture data, placeholder IDs. The character set and the length are the only two knobs, which keeps the output predictable in shape even though the content is random.
The default excludes characters that are easy to confuse when read aloud or transcribed — a detail that matters the moment a code is dictated over the phone.
How to use it
- Choose the character set: letters and digits, letters only, lowercase or hex.
- Set the length and how many strings you need.
- Keep no-repeats on if the codes must be unique within the batch.
Choosing a character set that survives real use
Alphanumeric with both cases gives 62 characters: 12 of them is about 71 bits, plenty for an identifier. Hex gives 16 characters, so the same length carries half the entropy — fine for database keys, weak for anything an attacker would want to guess.
If the code will be typed by a human, drop the ambiguous characters. Excluding 0, O, 1, l and I removes five characters from 62 and loses less than a bit per character, while eliminating most transcription errors.
Reviewed 2026-10-21. This tool runs entirely in your browser — no server, no account, and nothing you generate is stored.
Frequently asked questions
What is the difference between this and a password generator?
Intent and character set. A password should be as dense as the destination allows; an identifier needs to be the same shape every time and often readable. Use the password generator when the value protects an account.
Can I generate UUIDs?
Not here — a UUID has a fixed structure with version and variant bits set. Generating a random hex string of 32 characters is not the same thing and will fail UUID validation.
How many strings can I generate at once?
Up to 200 per run. Above a few thousand the download becomes more useful than the on-screen list.
Related tools
More from Random numbers.