Free Text Encryptor Online
Encrypt and decrypt text using AES-256-GCM via the Web Crypto API. Enter a passphrase and your message is secured entirely in your browser — nothing is ever sent to a server.
About the Text Encryptor
This tool uses the browser's native Web Crypto API to encrypt and decrypt text with AES-256-GCM, one of the most secure symmetric encryption algorithms available. A key is derived from your passphrase using PBKDF2 with 100,000 iterations and a random 16-byte salt. A random 12-byte IV (Initialisation Vector) is generated for each encryption.
The encrypted output is a Base64-encoded string containing the salt, IV and ciphertext packed together. You can share this string safely — only someone with the correct passphrase can decrypt it using this tool.
How to Encrypt and Decrypt Text
Choose Mode
Select "Encrypt" to encrypt a message, or "Decrypt" to decrypt one.
Enter Passphrase
Type a strong passphrase. Both you and the recipient must know this passphrase.
Enter Text
Paste the plaintext (for encryption) or encrypted Base64 string (for decryption).
Copy Output
Click "Encrypt" or "Decrypt" and copy the result with the "Copy Output" button.
Frequently Asked Questions
AES-256-GCM is the gold standard for symmetric encryption and is used by the US government to protect top-secret information. A brute-force attack on a well-chosen passphrase with AES-256 is computationally infeasible with current technology.
The encrypted text cannot be recovered without the correct passphrase. There is no master key, backdoor or password reset — this is by design. Store your passphrase in a safe location.
The output format is specific to this tool: Base64(salt[16] + iv[12] + ciphertext). It is compatible with any tool that implements the same PBKDF2+AES-256-GCM scheme with the same parameters, but not with tools that use different formats.
No. All encryption and decryption happens exclusively in your browser using the Web Crypto API. Neither your plaintext, passphrase nor ciphertext is ever sent to any server.