# API Key Generator

> Cryptographically secure API keys with prefixes, minimum-character rules, 11 output formats (env, YAML, JS, Python, .NET, Java, PHP, Bash, more), QR transfer, and a paste-in validator.

Author: Nimoy Burrowes (https://nimoyburrowes.com/about)
Category: Security tools
Canonical: https://nimoyburrowes.com/tools/api-key-generator

## What it does

Free client-side API key generator that uses the browser Web Crypto API to produce cryptographically secure keys. Supports lengths from 16 to 128 characters, standard and URL-safe alphabets, ambiguous-character exclusion, minimum uppercase/lowercase/number/symbol rules, no-repeated-characters, custom alphabets, and configurable prefixes (sk_, pk_, live_, test_, and custom). Outputs to plain text, CSV, JSON, environment variables, YAML, JavaScript, Python, .NET, Java, PHP, and Bash. Includes a paste-in strength validator with entropy score, character diversity, and suitability grid (development, production, JWT secret, OAuth secret, database password, encryption key). Every key is generated in the visitor's browser; nothing is sent, stored, or logged.

## Search intents this tool serves

- api key generator
- secret key generator
- jwt secret generator
- oauth client secret generator
- random string generator developers
- secure token generator
- client-side api key generator

## Privacy

Every action runs entirely in the visitor's browser. No input or output is sent to a server, stored, or logged. See the full HTML page for the tool's live interface and full FAQ.

Full page: https://nimoyburrowes.com/tools/api-key-generator