Random Token & API Key Generator
Generate secure random tokens in hex or base64url. Free, private and instant.
About the Random Token & API Key Generator
Secure tokens must be unpredictable. This tool uses the browser cryptographic random generator to create keys that are safe to use as secrets.
When to use it
Use it for API keys, session secrets and webhook tokens. 32 bytes is a strong default.
How to use the Random Token & API Key Generator
- Enter or paste your input in the fields above.
- The result updates as you type, or press Run.
- Press Copy to copy the output.
Frequently asked questions
Is the Random Token & API Key Generator free?
Yes. It is completely free, with no signup and no usage limits.
Is my data uploaded anywhere?
No. Everything runs locally in your browser, so what you type never leaves your device.
Does the Random Token & API Key Generator work on mobile?
Yes. The tool is responsive and works on phones, tablets and desktops.
More free tools
Generate strong random passwords using the Web Crypto API.
Security•••SHA Hash GeneratorGenerate SHA-1, SHA-256 or SHA-512 hashes locally.
Security•••JWT DecoderDecode JSON Web Token header and payload (no verification).
Security•••Password Strength CheckerEstimate password strength and entropy without sending it anywhere.
Security•••HMAC GeneratorCreate HMAC signatures with SHA-256, SHA-1 or SHA-512.
Security•••Caesar Cipher / ROT13Encode or decode text with a Caesar shift. For learning, not real security.
Security