Generators
Random Token Generator
Generate random tokens, API keys and secrets in bulk.
Free browser toolRuns in your browserNo sign-up
Tokens are generated locally with your browser's secure random generator and are never stored or sent anywhere.
About the Random Token Generator
Tokens and API keys are long random strings used to identify or authorise requests. The more random and longer they are, the harder they are to guess.
This generator creates them using your browser's secure random number generator, in hex, base62, base64url or alphanumeric formats, with your own length, count and optional prefix.
Nothing is stored or transmitted, so the tokens are yours alone.
Key features
- Hex, base62, base64url and alphanumeric formats
- Custom length and bulk generation
- Optional prefix like sk_live_
- Secure, local generation
How to use
- 1Choose a format, length and how many tokens you need.
- 2Add an optional prefix.
- 3Click Generate, then copy the tokens.
Examples
Generate an API token
Input:
32-byte hexadecimal tokenOutput:
A random 64-character hexadecimal stringTwo hexadecimal characters represent each random byte.
Frequently asked questions
- Are these tokens secure?
- Yes. They use crypto.getRandomValues, a cryptographically secure source, and are generated locally without being stored or sent anywhere.
- What token formats can I generate?
- You can generate hex or Base64 style tokens of the length you choose, with an optional prefix.
- Can I generate several tokens at once?
- Yes. Set how many tokens you need and they are all generated in a single click.
Continue your workflow
Open a related tool to prepare your files or refine the finished result.
