🎲Random String / Token Generator
Generate strings with cryptographically secure Web Crypto random. Useful for API keys, session tokens, temporary IDs and passwords, invitation codes, and UUID alternatives.
How to use
- 1Pick length and charset (alphabet, digits, symbols).
- 2Press generate for a secure random string.
- 3Copy and use.
FAQ
Can I use this as a password?+
For passwords, use [Password Generator]. This tool is for general-purpose random like API keys and tokens.
What's Web Crypto?+
The browser's cryptographically secure random API. Stronger than Math.random() statistically and security-wise.
Different from UUID?+
UUID is a fixed 128-bit format; random strings let you choose length and charset. Random for short tokens/IDs; UUID for distributed system IDs.
Korean and emojis?+
Standard ASCII (alphabet, digits, symbols) only. Korean isn't typical for tokens/keys.
How long is safe?+
API keys 32 chars (~192 bits); session tokens 32~64 chars are common. Shorter increases collision risk.
URL-safe?+
Optional URL-safe charset (A-Z, a-z, 0-9, -, _) is available.