Tool Fu
$ toolfu run random-string-generator

Random String Generator — Secure Random Strings Online

Free online random string generator. Generate cryptographically secure random strings, passwords, and API keys with configurable length and character sets.

all processing runs in your browser
random-string-generator
config > length: 32
character sets
custom characters (optional)
output
bur7qvvRWUVWYxfQyPceWDpg1J6Lbb5L
32 characters

Random String Generator — Generate Secure Strings Online

Need a random API key, a secure password, a session token, or a unique identifier? This tool generates cryptographically secure random strings using the Web Crypto API — the same foundation used for encryption in the browser.

Configure the exact length and character set you need. Choose from uppercase, lowercase, digits, and symbols, or add custom characters for specific requirements. The result is generated instantly in your browser — nothing is sent to any server.

Use cases

  • Generating secure passwords and passphrases
  • Creating API keys and secret tokens
  • Generating unique identifiers and nonces
  • Creating test data with random strings
$ cat FAQ.md
Is the randomness cryptographically secure?
Yes. The generator uses the Web Crypto API (crypto.getRandomValues) which provides cryptographically secure random numbers. This is the same API used for generating encryption keys in the browser.
What character sets are available?
You can include uppercase letters (A-Z), lowercase letters (a-z), digits (0-9), and symbols (!@#$%^&* etc.). You can also add custom characters for specific needs like generating tokens with only certain allowed characters.
What's a good password length?
For passwords, 16+ characters with mixed character sets is recommended. For API keys and tokens, 32-64 characters is common. The tool supports up to 256 characters.
Is the generated string sent anywhere?
No. The string is generated entirely in your browser using the Web Crypto API. Nothing is transmitted to any server.