API Key Generator
Prefixed, bulk, checksum — for test fixtures only
Configuration
Config: 10 keys × 24 charsGenerated Keys
No keys generatedConfigure and generate API keys
Keys are test fixtures only — never use as real credentials
About this tool
Generates production-shaped API keys with custom prefixes (sk_, pk_), lengths, alphabets, optional checksum digits, and bulk export — seeded for dev teams wiring auth systems who need realistic, entropy-honest keys. The mechanism is crypto.getRandomValues rejection-sampled over a chosen alphabet with prefix/format composition, plus a mod-47-style checksum option and .env/CSV export templates.
How to use this tool
Choose preset or configure
Pick a preset (Stripe, GitHub, Hex) or set custom prefix, body length (8–128), and count (1–100).
Select alphabet
Base62 (default), Base58 (no lookalikes), Hex lower/upper, Alphanumeric+dash, or Custom (≥16 unique chars).
Enable options
Add mod-47 checksum digit for Stripe-like realism. Add expiry suffix (YYYY-MM). Set seed for reproducible fixtures (NOT secure).
Generate
Click Generate. Keys appear in the output panel with entropy readout.
Export
Choose Plain, .env, CSV, or JSON format. Copy or download.
Frequently asked questions
Are these real API keys?
No. These are fixture keys for testing and development only. They have the shape of real keys (prefix, checksum) but are randomly generated. Never use them as real credentials.
How much entropy do the keys have?
Entropy = bodyLength × log2(alphabetSize). For 24-char Base62: ~190 bits. For 8-char Base62: ~48 bits (warning shown). Always shown per configuration.
What is a checksum digit for?
Adds Stripe-like realism. The last character is computed from the key body (mod-47 over alphabet indices). A verifier can detect typos. It does not make the key cryptographically stronger.
Can I use these in production?
Absolutely not. They are test fixtures. For production, use your provider's key generation (OpenAI, Stripe, GitHub, etc.) or a proper secret management system.
Which alphabet should I pick?
Base62 for general IDs. Base58 if you need human-safe transcription (excludes 0/O/I/l). Hex for webhook secrets. Custom for your own character set.
Related tools
ABA Routing Number Generator
Generate 9-digit US ABA routing numbers with weighted Mod-10 checks.
Address Generator
Generate realistic addresses in the correct format for 21 countries — single-line, multi-line, JSON or HTML — plus a postcode validator. Test data only, runs in your browser.
Argentina CUIT / CUIL Generator
Generate and validate 11-digit Argentine CUIT and CUIL numbers with AFIP Mod-11 check digits.
ASCII Text Art Generator
Turn text into large ASCII art banners with multiple figlet fonts
Australia ABN Generator
Generate and validate 11-digit Australian Business Numbers (ABN) using weighted Mod-89.
Australia TFN Generator
Generate and validate 9-digit Australian Tax File Numbers (TFN) using weighted Mod-11.