About this tool
Makes batches of random strings for test data, coupon codes, invite codes, file names or tokens. Choose a ready-made character set or type your own, set the length and an optional prefix, and see how many bits of entropy each string carries. Generation uses the browser's secure random source with no modulo bias.
How to use Random String Generator
- Pick a character set or choose Custom and type the characters.
- Set the length and how many strings you need.
- Add a prefix if you like, such as key_.
- Copy one string, copy all, or download them as a text file.
Frequently asked questions
Are the strings unique?
They are random, not checked against each other. With 16 alphanumeric characters a repeat is astronomically unlikely.
Which set should I use for codes people type?
Base58 or uppercase-and-digits avoid confusing characters and are easier to read aloud.