Random String Generator
Generate random strings with custom charsets — uppercase, lowercase, digits, symbols, custom. Length up to 256, batch up to 50. Cryptographically secure.
Reference
How does the string generator work?
This tool builds a charset from your selected options, then picks each character independently using crypto.getRandomValues() with a bias-elimination loop so every character has exactly equal probability. The "exclude ambiguous" option removes look-alike characters (0/O, 1/l/I) for human-readable output.
Common uses
- API keys & tokens — generate secrets that fit your charset constraints.
- Test fixtures — create realistic string columns for databases.
- Random IDs — short codes for promotions, invites, or shareable links.
- Passwords — for system accounts where you control the policy.
Privacy
All strings are generated 100% in your browser. No data is sent to any server.