AES Encryption & Decryption Tool - DES/3DES
Online AES / DES / 3DES symmetric encryption with CBC, GCM, CTR and ECB modes. Keys and IVs accept UTF-8, Hex or Base64, and everything runs locally in your browser.
Plain Text
Cipher Text
Keys, IVs and plaintext stay in browser memory and are never uploaded or persisted.
About This Tool
This tool supports AES-128/192/256 plus DES and 3DES across CBC, GCM, CTR and ECB modes. Keys and IVs accept UTF-8, Hex or Base64, and output can be Base64 or Hex so you can match your backend byte for byte.
AES CBC, CTR and GCM use the browser native WebCrypto implementation, while AES-ECB and DES/3DES use pure JavaScript. Keys and plaintext stay in memory and are never stored or uploaded.
Key Features
Full algorithm coverage
AES with three key sizes, DES and 3DES, combined with CBC, GCM, CTR and ECB.
Flexible key formats
UTF-8, Hex and Base64 input with Base64 or Hex output saves manual conversion.
Random IV
Generate a correctly sized random IV to avoid reuse.
Security hints
ECB and DES selections show a warning and point you to AES-GCM.
When to Use It
API integration
Verify encryption results against your backend using the same key, IV and mode.
Debugging cipher text
Decrypt production cipher text to isolate padding, mode or key mismatches.
Algorithm comparison
Compare AES output with the SM4 tool when migrating crypto stacks.
How to Use It
- 1Choose the encrypt or decrypt tab and set the algorithm and mode.
- 2Enter the key and IV, or generate a random IV.
- 3Run it and copy the result from the right panel.
Frequently Asked Questions
Why is the decrypted result empty?
Usually the key, IV, mode or padding does not match. Confirm the backend mode and check that the IV is entered as Hex.
Why is ECB discouraged?
ECB produces identical cipher blocks for identical plaintext blocks, leaking patterns. Use it only for legacy compatibility.
Is my key uploaded?
No. All cryptography runs locally in your browser.
