Text Encryption
Encrypt and decrypt text using AES with a passphrase.
AES-256-GCM · PBKDF2 · 600K iter
0 chars
How it works
- 600,000 PBKDF2-SHA256 iterations derive a 256-bit key from your password
- AES-256-GCM encrypts with a random 12-byte IV per operation
- Output is a self-contained JSON blob (salt + IV + ciphertext in Base64)
- Everything runs in your browser — no data leaves your device
Encrypt and decrypt any text using AES-256-GCM authenticated encryption with PBKDF2 key derivation — all inside your browser using the WebCrypto API. No data ever leaves your device.
Key Features
AES-256-GCM Encryption
Industry-standard authenticated encryption providing both confidentiality and integrity. A tampered ciphertext will fail to decrypt.
PBKDF2 Key Derivation
Password is hardened with PBKDF2-SHA256 using 600,000 iterations and a random 32-byte salt, making brute-force attacks computationally expensive.
Random Salt & IV
A fresh cryptographic salt and 12-byte IV are generated for every encryption — identical plaintext+password produces different ciphertext every time.
Self-Contained Output
The encrypted output is a portable JSON blob (encoded as base64) that includes all parameters needed to decrypt — no separate config needed.
Password Strength Bar
Visual feedback on your encryption password strength encourages the use of strong keys that resist dictionary attacks.
WebCrypto Only
Uses only the browser's native crypto.subtle API — no third-party libraries, no network calls, no server.
How to Use
- 1Type or paste the text you want to encrypt into the plaintext box.
- 2Enter a strong password (use the generator button for a random one).
- 3Click Encrypt — key derivation takes 1–2 seconds by design (PBKDF2 hardening).
- 4Copy or download the encrypted blob and store it anywhere safely.
- 5To decrypt: paste the encrypted blob, enter the same password, click Decrypt.