AES Encrypt / Decrypt
Free online AES encryption and decryption tool: CBC/ECB modes, Pkcs7/ZeroPadding, Base64/Hex output, keys stay local.
Privacy: all processing happens locally in your browser. Your input never leaves your device.
What is AES Encrypt / Decrypt?
AES is the most widely used symmetric cipher — API payload encryption and database field encryption are almost always AES. The classic integration pain is "the ciphertext does not match": any mismatch in mode, padding, IV or key length breaks decryption. This tool supports CBC and ECB modes, Pkcs7 and ZeroPadding, and Base64 or Hex output. All computation runs in your browser; keys never cross the network.
How to Use
- Choose encrypt or decrypt, then enter the content and key
- Select mode / padding / output encoding (matching the other system)
- View the result and copy it
FAQ
- Should I choose CBC or ECB?
- CBC is more secure (identical plaintext yields different ciphertext each time) and is the recommended default; ECB is only for compatibility with legacy systems — do not use it in new ones.
- What are the key length requirements?
- AES supports 16/24/32-byte keys (AES-128/192/256). This tool takes the key as UTF-8 bytes and, in CBC mode, uses the first 16 bytes as the IV — a convention shared by most backends.
- Why is the decrypted output garbled?
- Check item by item: key, mode, padding and ciphertext encoding (Base64/Hex) must match the encrypting side exactly — any mismatch causes failure or garbage.
Related Tools
MD5 Hash GeneratorFree online MD5 hash generator: type text and instantly get the 32-char hex digest — computed locally in your browser.SHA Hash GeneratorFree online SHA hash tool: compute SHA-1, SHA-256 and SHA-512 hex digests at once to verify downloads — runs locally.HMAC GeneratorFree online HMAC calculator for HMAC-SHA1/256/512: enter key and message to generate a MAC for API signature checks.RSA Encrypt / DecryptFree online RSA tool: generate 1024/2048-bit PEM key pairs locally, encrypt with public key, decrypt with private key.UUID GeneratorFree online UUID generator: batch-create random v4 or time-ordered v7 UUIDs, uppercase or no-dash, crypto-secure.Random Password GeneratorFree online password generator: 8-64 chars, custom charsets, ambiguous-character exclusion, hex/Base64Url tokens.
Last updated 2026-09-04