Random String Generator
Generate random tokens, API keys and identifiers with custom alphabets.
Loading tool…
How to use it
- Set the length and how many strings you need.
- Customize the alphabet, or exclude look-alike characters for strings that will be typed by hand.
- Add a prefix (e.g. api_) directly in the output.
- Copy the batch — generation uses crypto.getRandomValues() locally.
About this tool
Generates batches of random strings from a custom alphabet and length, with an ambiguity-safe mode that excludes look-alike characters like 0/O and 1/l. Suitable for API keys, session tokens and test fixtures — with a clear note that these are not passwords.
Your input never leaves the browser: this tool works entirely offline once the page has loaded.
Frequently asked questions
Should I use these strings as passwords?
They are meant for API keys, tokens and test fixtures. For human-typed passwords use the Password Generator, which guarantees character-set coverage and reports entropy.
Why remove look-alike characters?
0/O and 1/l are easily confused when a string is read aloud or copied by hand — excluding them trades a few bits of entropy for far fewer support tickets.