AES Encryption / Decryption
Encrypt and decrypt text with AES-256-GCM using a password. PBKDF2 key derivation, fully client-side via the Web Crypto API.
How to use AES Encryption / Decryption?
- 1
Choose Encrypt or Decrypt mode.
- 2
Enter your text and a secret password (used to derive the AES key).
- 3
Click Encrypt to produce a base64 cipher, or Decrypt to recover the original text.
- 4
Use the same password to decrypt that you used to encrypt — there is no recovery if it is lost.
Frequently Asked Questions
What encryption does this use?
AES-256 in GCM mode, an authenticated encryption standard. The key is derived from your password using PBKDF2 with 100,000 iterations of SHA-256 and a random salt.
Is my data sent to a server?
No. All encryption and decryption run entirely in your browser via the Web Crypto API. Your text and password never leave your device.
What happens if I forget the password?
The data cannot be recovered. AES-GCM with a strong password is designed so that decryption is impossible without the exact password. Store it safely.
Encrypt and Decrypt Text with AES-256
Quick Answer: This tool encrypts text with AES-256-GCM, deriving a key from your password via PBKDF2. The salt and IV are bundled into the output so you only need the password to decrypt.
AES (Advanced Encryption Standard) is the symmetric cipher trusted by governments and industry worldwide. Symmetric means the same password encrypts and decrypts the data. GCM mode adds authentication, so any tampering with the ciphertext is detected during decryption.
How This Tool Protects Your Data
- PBKDF2 key derivation: Your password is stretched with 100,000 iterations, making brute-force attacks expensive.
- Random salt & IV: Every encryption uses fresh random values, so encrypting the same text twice yields different output.
- Client-side only: Nothing is uploaded. The operation runs in your browser's secure crypto engine.