Random Hex Generator
Secure random hexadecimal strings for tokens, salts, and nonces.
Generating…128 bitsVery strongOffline crack estimate (10B/s): billions+ years
Computed locally via Web Crypto. Secrets never leave this browser tab.
How to use Random Hex Generator
Set the hexadecimal string length (1 to 256 hex characters) and click New to regenerate.
Copy a single string or change How many to generate up to 50 independent hex tokens.
Frequently asked questions
How many bits is a 32-char hex string?
Each hex digit carries 4 bits, so 32 hex characters represent 128 random bits.