UTILS.
Private by default
🔒

AES Text Encryption

Encrypt and decrypt text with a passphrase using AES-GCM and PBKDF2.

Your files stay on this device

Files are processed in your browser, never uploaded. The site downloads code and assets to run the tools. No accounts or trackers.

Use Download to save this tool as one HTML file for offline use.

Privacy →
— output appears here —

About this tool

Encrypt or decrypt text locally in your browser with AES-GCM, deriving the key from your passphrase via PBKDF2.

Frequently asked questions

How is the key derived?
A 256-bit AES-GCM key is derived from your passphrase using PBKDF2 with 100,000 iterations and a random salt.
What does the output contain?
The Base64 output bundles the random salt, the random IV and the ciphertext, so decryption needs only that text plus the passphrase.

More tools