πŸ›‘οΈ

AES Encryption / Decryption

Encrypt and decrypt text using AES-256-GCM with PBKDF2 key derivation. Enter a passphrase to encrypt sensitive text or decrypt ciphertext. All processing happens in your browser using the Web Crypto API.

Encrypt and decrypt text using AES-256-GCM, one of the strongest encryption standards available. This free AES encryption tool uses the Web Crypto API with PBKDF2 key derivation (100,000 iterations) to convert your passphrase into a secure encryption key. The output is a Base64-encoded string containing the salt, initialization vector, and ciphertext. All processing happens entirely in your browser β€” your data and passphrase are never sent to any server.

Use a strong passphrase. You'll need the exact same passphrase to decrypt.

0 chars
πŸ”’

100% Client-Side Processing

All encryption and decryption happens directly in your browser using the Web Crypto API. Your plaintext, passphrase, and encrypted data never leave your device. This tool works offline after the page loads.

How to Use AES Encryption / Decryption

  1. Select your mode: "Encrypt" converts plaintext to encrypted ciphertext, "Decrypt" reverses it.
  2. Enter a passphrase: Choose a strong, memorable passphrase. You'll need the exact same passphrase to decrypt later.
  3. Enter your text: Type or paste the text to encrypt or the Base64 ciphertext to decrypt.
  4. Click Encrypt/Decrypt: The result will appear in the output panel.
  5. Copy the result: Use the "Copy Output" button to copy the encrypted or decrypted text.

Technical Details

Algorithm: AES-256-GCM (Galois/Counter Mode)

Key Derivation: PBKDF2 with SHA-256, 100,000 iterations

Salt: 16 bytes (128 bits), randomly generated per encryption

IV: 12 bytes (96 bits), randomly generated per encryption

Output Format: Base64(salt || iv || ciphertext || auth_tag)

Features

πŸ›‘οΈ

AES-256-GCM

Military-grade encryption with authenticated encryption

πŸ”‘

PBKDF2 Key Derivation

100,000 iterations to resist brute-force attacks

🎲

Random Salt & IV

Unique salt and IV generated for every encryption

βœ…

Authenticated Encryption

GCM mode provides both confidentiality and integrity

πŸ“¦

Base64 Output

Safe text output for storage and transmission

πŸ”’

Zero Server Contact

Everything runs in your browser, nothing sent anywhere

Related Tools

Need one-way hashing instead of encryption? Try our Hash Generator & Checker for MD5 and SHA hashes. For encoding, check out our Base64 Encoder/Decoder.

Frequently Asked Questions

What is AES encryption?β–Ό

AES (Advanced Encryption Standard) is a symmetric encryption algorithm adopted by the U.S. government and used worldwide. AES-256 uses a 256-bit key, providing extremely strong security. GCM (Galois/Counter Mode) adds authenticated encryption, ensuring data integrity alongside confidentiality.

What happens if I lose my passphrase?β–Ό

If you lose the passphrase, the encrypted data cannot be recovered. AES-256 encryption is designed to be unbreakable without the correct key. There is no backdoor or recovery mechanism. Always store your passphrase securely.

Is this tool secure enough for sensitive data?β–Ό

This tool uses AES-256-GCM with PBKDF2, which is industry-standard encryption. The processing happens entirely in your browser. However, for highly sensitive data, consider using dedicated encryption software with additional security features like key management. The security of the encryption depends heavily on your passphrase strength.

Why does encrypting the same text twice produce different results?β–Ό

Each encryption generates a random salt and initialization vector (IV). This ensures that even identical plaintext with the same passphrase produces different ciphertext each time, preventing attackers from detecting patterns. Both outputs will decrypt to the same plaintext with the correct passphrase.

Frequently Asked Questions

❓ Is this tool free?

Yes! All our tools are completely free. No registration, no hidden charges, no ads. Just open and use.

πŸ”’ Is my data safe?

Absolutely. All calculations happen in your browser. We don't store, send, or track any of your data. Everything is processed locally on your device.

πŸ“± Can I use this on mobile?

Yes! All our tools are fully responsive and work perfectly on smartphones, tablets, and desktops.

🌐 Do I need internet?

No! Once the page loads, you can use the tool completely offline. All calculations happen in your browser without any server connection.