Tool

AES Key Generator

Generate AES-128, AES-192, and AES-256 keys as hex or Base64.

Last updated April 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

Advertisement

How to Use This Tool

Select AES key size: 128, 192, or 256 bits. AES-256 is recommended for new applications.

Click Generate to create a cryptographically random key using Web Crypto.

Copy the hex or Base64 output for use in your encryption library.

Store keys in a secrets manager. Never hardcode AES keys in source code.

Continue learning