Generates cryptographically-random tokens.
Token Generator creates cryptographically-random tokens directly in your browser using the Web Crypto API. Choose hex, Base64URL, or alphanumeric output, set the number of random bytes, and generate one or many secrets at once. It is handy whenever you need a random secret, API key, or unguessable identifier without reaching for a command line.
No. All tokens are generated entirely in your browser using the built-in Web Crypto API, and nothing is uploaded or transmitted. The generated values never leave your device.
Tokens are produced with crypto.getRandomValues, the browser's cryptographically secure random number generator. This is suitable for secrets such as API keys and session tokens.
Three formats are available: Hex (lowercase 0-9a-f), Base64URL (URL-safe Base64 with + and / replaced by - and _ and no padding), and Alphanumeric (A-Z, a-z, 0-9).
Length depends on the byte count and format. Hex output is twice the byte count in characters, alphanumeric output equals the byte count, and Base64URL is roughly four characters per three bytes. The byte count can be set from 1 to 256.
Yes. Set the Count field to generate between 1 and 100 tokens at once; each token is placed on its own line in the output.