Tool

API Key Generator

Generate cryptographically random API keys in multiple formats. Add custom prefixes and suffixes for branded keys like sk_live_...

Last updated March 1, 2026

Runs entirely in your browser — no data sent to servers. Privacy policy
Prove it runs locally
  1. Open DevTools → Network tab
  2. Click Generate
  3. Confirm zero outbound requests for the secret

Generation uses crypto.getRandomValues() in your browser. Privacy policy

How to Use This Tool

Choose the key format: UUID (standard 36-char format), Hex (compact hexadecimal), Alphanumeric (URL-safe letters and numbers), or Base64 (URL-safe base64 encoding).

Add an optional prefix to create branded keys — for example, "sk_live_" produces keys like "sk_live_a3f8b2c1d4e5f6..." that are recognizable and easy to filter in logs.

Click "Generate" to produce a cryptographically random key using your browser's Web Crypto API. Store the generated key in a secrets manager or environment variable — it is shown only once.

Continue learning