Text Encryption Tool

Encrypt or decrypt any text with a passphrase using AES-256-GCM — everything runs in your browser, nothing is sent to any server.

Keep this secret. Share it with the recipient via a separate channel.

How it works

  • Algorithm: AES-256-GCM
  • Key derivation: PBKDF2-SHA-256, 310 000 iterations
  • Output format: salt(16) + IV(12) + ciphertext — Base64
  • 100% client-side — no data sent to any server
Copied!

Summary

Encrypt or decrypt any text with a passphrase using AES-256-GCM — everything runs in your browser, nothing is sent to any server.

How it works

  1. Type or paste the text you want to encrypt in the input field.
  2. Enter a strong passphrase — this is the secret you share with the recipient.
  3. Click Encrypt to generate a Base64-encoded ciphertext containing the salt, IV, and ciphertext.
  4. Share the encrypted output with your recipient, along with the passphrase through a separate channel.
  5. To decrypt, paste the encrypted output into the input field, enter the same passphrase, and click Decrypt.
  6. The original plaintext is restored instantly in the output field.

Use cases

  • Securely share passwords or credentials over email or chat.
  • Store sensitive notes in a text file or cloud document.
  • Exchange confidential messages without relying on a third-party service.
  • Protect private journal entries saved on shared devices.
  • Verify cryptography concepts and AES-GCM behavior for development.
  • Quickly encrypt API keys or tokens before committing to a notes app.

Frequently Asked Questions

Last updated: 2026-06-09 · Reviewed by Nham Vu