Symmetric Key Generator
Generate random AES or HMAC keys in hex, Base64, or raw bytes using the Web Crypto API.
Keys
Copied!
Generate a key to see the result.
How It Works
Select a key length (128, 192, or 256 bits) and an output format (hex or Base64). The tool calls the browser's built-in Web Crypto API to generate a cryptographically secure random key and displays it immediately. Each click produces a fresh key; nothing is stored or transmitted.
Use Cases
- Generating AES encryption keys for local file encryption
- Creating HMAC secrets for signing tokens
- Producing one-time keys for test environments
- Teaching symmetric cryptography with real key sizes