Two hexadecimal characters represent each byte. The output is predictable in length and supported almost everywhere.
Best for: Configuration files, command lines, logs and debugging.
Create cryptographically secure API keys, encryption keys and access tokens with the browser Web Crypto API. Choose HEX, Base64, Base64URL or Base32; every operation stays on this device.
Changing a setting generates fresh keys automatically; use the button to regenerate with the same settings.
Random source: crypto.getRandomValues(), a cryptographically secure generator. Keys are not stored after refresh; copy or download them and keep them in a secret manager.
The same random bytes can be represented in different text encodings. Choose the format required by your URL, JSON, configuration file or protocol.
Two hexadecimal characters represent each byte. The output is predictable in length and supported almost everywhere.
Best for: Configuration files, command lines, logs and debugging.
Compact binary-to-text encoding, but +, / and = need escaping in URLs and some filenames.
Best for: JSON/XML transport and general text storage.
A URL-safe Base64 variant that uses - and _ and removes = padding.
Best for: JWT, OAuth tokens, cookies and URL parameters.
Case-insensitive encoding without easily confused 0/O or 1/I/L characters.
Best for: TOTP secrets, DNS records, barcodes and manual entry.
Yes. It uses crypto.getRandomValues(), which draws from the operating system’s cryptographically secure random source instead of Math.random().
No. Generation and encoding happen in this browser. The page does not store key history, and refreshing removes the current results.
They are designed for machine-readable secrets such as API keys, encryption keys and tokens. Use a password manager for passwords people must enter.
A collision is theoretically possible but negligible at recommended lengths. A 32-byte key has 2^256 possible values.
Put long-lived keys in a secret manager or protected environment variable. Never commit them to source control, chat or logs, and rotate them periodically.