Encryption Key Generator
Generate random AES-128, AES-192 or AES-256 encryption keys, plus an optional IV or nonce, in hex or Base64. Uses the secure Web Crypto random source. Free.
Runs in your browser. Nothing is uploaded.
About Encryption Key Generator
Encryption Key Generator produces raw random keys of exactly 128, 192 or 256 bits for AES and other symmetric ciphers, encoded as hex or Base64 ready to paste into config or code.
Tick the IV option to also get an initialisation vector: 12 bytes for AES-GCM or 16 bytes for CBC and CTR. Remember that an IV or nonce must be unique for every message encrypted with the same key, so generate a fresh one per message in your app.
How to use Encryption Key Generator
- Set the options you want.
- Your result is generated straight away. Press Generate again for a new one.
- Copy the result with one click.
Frequently asked questions
Is a password the same as a key?
No. A key is raw random bytes. If you start from a password, derive a key from it with PBKDF2, scrypt or Argon2.
Which size should I pick?
AES-256 is the common default. AES-128 is also considered secure today.
Is Encryption Key Generator free and private?
Yes. Encryption Key Generator is completely free with no sign-up. Everything runs in your browser, so whatever you type or paste never leaves your device.