AES Encrypt Decrypt
UTF-8 text
Mode and format notes
- • Browser SubtleCrypto only provides GCM, CBC, and CTR for AES—not ECB, CFB, or OFB (to prevent weak usage). For other modes, use OpenSSL or a server-side library.
- • Ciphertext format options: Hex / Base64 / Base64URL, aligned with CyberChef, APIs, JWT, etc. Both encrypt and decrypt sides must use the same format.
- • Under AES-GCM, output is a continuous byte stream of "ciphertext + authentication tag"; this tool encodes the entire block into the selected format—paste the whole block when decrypting.
Notes
- • Web Crypto runs entirely in the browser; GCM is authenticated encryption, suitable for default scenarios.
- • On encrypt, leave IV empty and the tool will generate a random IV and fill it above for reuse during decryption.
- • On decrypt, leave IV empty to try an all-zero vector (only valid when the other party uses the same convention).
Secure online tool to encrypt and decrypt data with AES (CBC, GCM, CTR, ECB). Supports custom IV, PKCS7 padding, and multiple key sizes. Ideal for API debugging and symmetric encryption testing.