Loading…

How to use Random String Generator

Pick the length and character set, then generate. Strings are produced with crypto.getRandomValues() so they are safe for cryptographic use.

Frequently asked questions

Are the strings cryptographically secure?

Yes — they use the browser Web Crypto API rather than Math.random(), making them suitable for salts and tokens.

Can I choose the characters?

Yes — select from letters, digits and symbols, or restrict to hex or alphanumeric only.

What are these strings good for?

Salts, API keys, nonces, one-off passwords, unique IDs and randomized test fixtures.

More Hash & Crypto Tools

UUID / GUID Generator
Generate RFC 4122 UUID v4 random identifiers
File Hash Calculator
Calculate MD5, SHA-1 and SHA-256 hashes for uploaded files
Bcrypt Hash Generator
Generate real bcrypt password hashes with a random salt and adjustable cost factor
API Token Generator
Generate secure API keys and bearer tokens
OTP Code Generator
Generate real RFC 6238 TOTP codes that match Google Authenticator from a Base32 secret
Simple String Hash
Compare multiple non-cryptographic hash algorithms
XOR Cipher
Encrypt and decrypt text with XOR bitwise operation
Number Base Converter
Convert numbers between binary, octal, decimal, hex
Text to Color Hash
Visualize text as a deterministic color hash
PBKDF2 Key Derivation
Derive a key from a password with PBKDF2-HMAC (SHA-256/384/512), salt and iterations
SHA-3 / Keccak Hash
Generate SHA3-256/384/512 and Keccak-256 digests (used by Ethereum)
Hash Identifier
Identify the likely hash type of a digest from its length and format

← View all Hash & Crypto ToolsBrowse all 1,100+ tools →