SnapTools

🎲 Random Generator

Generate random strings and numbers
String Generator

Length: 16 characters

Character Types

Character set: A-Z, a-z, 0-9
Common Use Cases
πŸ”‘ Passwords
🎰 Lottery Numbers
πŸ†” API Keys
🎲 Dice Roll

Generate random strings using your browser’s cryptographically secure random number generator. Choose the length and which character sets to include β€” uppercase, lowercase, digits and symbols β€” and copy the result with one click. Everything is generated on your device, so no string you create is ever sent anywhere.

Frequently asked questions

They use the Web Crypto API (crypto.getRandomValues), which draws from your operating system’s secure random source β€” the same quality of randomness used for encryption keys. That makes it suitable for tokens, temporary passwords and API-style keys, unlike simple Math.random() generators.

Yes. Because the randomness is cryptographically secure and generated locally in your browser, the strings are safe to use as passwords, session tokens or one-off secrets. For memorable passwords with specific site rules, a dedicated password generator may be more convenient.

No. The string is created in your browser and only exists on your screen and clipboard. Nothing is sent to a server, so there is no log of what you generated.

For passwords, 16+ characters with mixed character sets is a good baseline. For tokens or keys where you want roughly 128 bits of entropy, use at least 22 characters of mixed letters and digits, or 32 hex-style characters.