What is a Random String Generator?
API keys, test fixtures, nonces, coupon codes — all need random strings, and Math.random() is not random enough for any of them.
This generator samples uniformly from your chosen character set using the browser’s crypto source. Base58 excludes the look-alike characters 0/O and I/l for codes humans will read or type.
How to use the Random String Generator
- Pick length, count and character set.
- Click Generate.
- Copy the batch.
Frequently asked questions
How is this different from the password generator?
Passwords optimize for entropy with mixed sets and a strength meter; this tool gives you exact charsets in bulk for technical uses.
What is Base58 for?
Codes without 0/O/I/l confusion — good for coupons, invite codes and anything read aloud or retyped.
Is the randomness biased?
No — rejection sampling ensures every character is exactly equally likely.
Are the strings sent to a server?
No — generated locally, safe to use as secrets.