Home › Tools › Security › Random Token & API Key Generator

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

  1. Enter or paste your input in the fields above.
  2. The result updates as you type, or press Run.
  3. 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

•••Secure Password Generator

Generate strong random passwords using the Web Crypto API.

Security
•••SHA Hash Generator

Generate SHA-1, SHA-256 or SHA-512 hashes locally.

Security
•••JWT Decoder

Decode JSON Web Token header and payload (no verification).

Security
•••Password Strength Checker

Estimate password strength and entropy without sending it anywhere.

Security
•••HMAC Generator

Create HMAC signatures with SHA-256, SHA-1 or SHA-512.

Security
•••Caesar Cipher / ROT13

Encode or decode text with a Caesar shift. For learning, not real security.

Security
Copied!