Random Token Generator
Generate a cryptographically secure random token for API keys, secrets, or passwords — in hex, Base64, or alphanumeric format.
1959a98f3d2dbcb3aa963cff876bed83
Frequently Asked Questions
Is this random enough for secrets?
Yes — it uses your browser's Web Crypto API (crypto.getRandomValues), a cryptographically secure random number generator suitable for API keys and session secrets.
Which format should I use?
Hex and Base64 are compact and common for API keys and tokens; alphanumeric avoids special characters, which is handy when a token needs to be pasted into URLs or config files without escaping.
Is my generated token stored anywhere?
No — it's generated locally in your browser and never sent to any server.
Related free utility tools
- Character CounterCount total characters, letters, digits, and spaces live as you type, plus remaining tweet space.
- Line CounterCount total, empty, and non-empty lines in any text, plus the longest line length.
- Remove Duplicate LinesStrip duplicate lines from a list while keeping the original order, with a case-sensitive toggle.
- Remove Empty LinesStrip blank and whitespace-only lines from any text, with an optional trim toggle.
- Sort LinesSort a list of lines alphabetically A-Z, Z-A, or by line length, shortest or longest first.
- Reverse TextReverse text by character, word order, or line order instantly.
Explore CodeSpeedTest