Encryption Tool

Encrypt and decrypt text or files with AES-GCM, AES-CBC, AES-CTR, and RSA-OAEP via Web Crypto API.

How to encrypt text or a file

  1. Choose Encrypt, then type or paste text, or drop a file.
  2. Pick an algorithm. AES-GCM is the recommended default because it also detects tampering.
  3. Enter a password, or switch to a raw key. Passwords are stretched into a key with PBKDF2 (600,000 iterations by default).
  4. Copy the encrypted output or download it. To decrypt, switch to Decrypt, paste it, and enter the same password.

Everything needed to decrypt is in the output

The encrypted result is a self-contained packet: the algorithm, IV, salt, and iteration count are stored alongside the ciphertext, so decrypting only requires the password or key. Nothing secret is included. You can also generate an RSA key pair and use RSA-OAEP to encrypt short messages, such as a password, for someone else using their public key.

Frequently asked questions

Is my data or password sent to a server?

No. Encryption and decryption use your browser's built-in Web Crypto API on your device. Your text, files, and passwords are never transmitted.

Can I decrypt this with other software?

The packet format is specific to this tool, although it uses standard algorithms. To exchange encrypted messages with other people and apps, use the OpenPGP Suite.

What if I forget the password?

The data can't be recovered. There's no back door. Use a strong passphrase you can remember, or generate one with the Password Generator.

Related tools

More in Cryptography Tools · All 73 tools