Skip to main content
HomeAES Encryption

AES Encryption

Encrypt and decrypt text using AES with full control over mode (ECB/CBC/CTR/GCM), padding (None/Zero/PKCS5), key size (128/192/256-bit), and output format (Base64/Hex).

100% client-side · no data leaves your browser

How to encrypt and decrypt text with AES

Encrypt or decrypt a string with AES using the mode and key size you choose, entirely in the browser.

  1. 1

    Pick a mode

    Choose AES-GCM (recommended for new code), or CBC / CTR / ECB for compatibility scenarios.

  2. 2

    Set the key size

    Select 128-bit, 192-bit, or 256-bit. Provide your key as text — it will be derived to the right length.

  3. 3

    Enter plaintext or ciphertext

    Paste the data you want to encrypt, or the Base64/Hex ciphertext you want to decrypt.

  4. 4

    Run the operation

    Click Encrypt or Decrypt. The result is generated locally — no key or data leaves your browser.