UTILS.
Private by default
🔑

API Token Generator

Generate secure random tokens or API keys in hex, base62 or base64url.

Your files stay on this device

Files are processed in your browser, never uploaded. The site downloads code and assets to run the tools. No accounts or trackers.

Use Download to save this tool as one HTML file for offline use.

Privacy →
— output appears here —

About this tool

Generate cryptographically random tokens in your browser using crypto.getRandomValues, in your choice of format and length.

Frequently asked questions

Are these tokens secure?
Yes — they use the browser's cryptographically secure random number generator, and nothing leaves your device.
What do the formats mean?
Hex uses 0-9a-f, base62 uses letters and digits, and base64url uses URL-safe Base64 without padding.

More tools