>Fafa Dev Tools

AES Encrypt & Decrypt

Encrypt and decrypt text using AES-256-GCM encryption. Free online AES encryption tool with PBKDF2 key derivation. 100% client-side.

0 chars
Output will appear here...

Uses AES-256-GCM with PBKDF2 key derivation (100,000 iterations). All processing happens in your browser.

What is AES Encrypt & Decrypt?

AES (Advanced Encryption Standard) is a symmetric encryption algorithm widely used to secure data. AES-256-GCM provides both encryption and authentication (detecting tampering). This tool uses PBKDF2 to derive a 256-bit key from your password with 100,000 iterations, making brute-force attacks impractical.

How to Use

  1. Select Encrypt or Decrypt mode
  2. Enter a password — this is used to derive the encryption key
  3. Type or paste text in the input area
  4. Click Encrypt or Decrypt to process
  5. Use Swap to reverse the direction and work back and forth

Examples

Encrypt text

InputHello, World!
OutputBase64-encoded ciphertext (e.g., q8f2xK9mP...)

Decrypt ciphertext

InputBase64-encoded ciphertext
OutputOriginal plaintext

Frequently Asked Questions

Is my data sent to a server?

No. All encryption and decryption happens in your browser using the Web Crypto API. Your text and password never leave your device.

What happens if I forget the password?

There is no way to recover the data without the password. AES-256 encryption is computationally impossible to break by brute force. Store your passwords securely.

What is AES-GCM?

AES-GCM (Galois/Counter Mode) is an authenticated encryption mode. It both encrypts the data and generates an authentication tag, so any tampering with the ciphertext is detected. It's the recommended mode for most applications.