About the Text Encryption Tool
This tool encrypts and decrypts plain text in your browser with a password. You paste or type text and a passphrase, then click Encrypt to produce a single Base64 block that contains salt, nonce and ciphertext. To decrypt, paste the Base64 block and the same passphrase. Key derivation uses PBKDF2-SHA-256 with 600,000 rounds and the cipher is AES-256-GCM. Processing runs fully in the browser and nothing is uploaded to our servers. People who need to share secret notes, credentials or short files as text use this tool. It is useful when you must send confidential text but cannot use secure channels for both message and password. The explicit parameters and single Base64 package help avoid compatibility problems across tools that do not publish details.
How to use it
- 1Enter or paste the text you want to protect.
- 2Enter a secure passphrase you will remember.
- 3Click Encrypt to get a single Base64 package, or click Decrypt after pasting a package.
- 4Copy the Base64 output and share the passphrase over a separate secure channel.
Worked example
Input text: Hello, world Passphrase: correcthorsebatterystaple Example package format (illustrative): Base64 of hex( salt=00112233445566778899aabbccddeeff | iv=0123456789ab cdef012345 | ciphertext+tag=deadbeefcafebabe0011223344 ) Example Base64 (illustrative): ABEiM0RVZneIqa6zc3e/8BETEjVnrrzNAR0lqvP3wA7q9v6/q8ABEiM0Q==
How it works
Encrypts and decrypts text with a password using AES-256-GCM, with the key made from the password by PBKDF2-SHA-256 (600,000 rounds)The result is one Base64 block you can shareWorks in the browser with nothing to installSource: NIST FIPS 197 AES standardRFC 8018 (PKCS #5) - PBKDF2Web Crypto API (SubtleCrypto) - MDN. Last checked 5 November 2026.
What it is good for
- Runs entirely in your browser; no files uploaded or stored on our servers.
- Uses AES-256-GCM for authenticated encryption and PBKDF2-SHA-256 with 600,000 rounds for key derivation.
- Outputs one Base64 package that contains salt, IV and ciphertext for easy copy and paste.
- Security depends on your passphrase and device; losing the passphrase means you cannot recover the plaintext.
- Ciphertext may not interoperate with other tools unless they use the same PBKDF2 iterations, salt size, IV size and packaging order.
Questions people ask
Is this tool safe to use online?
The tool runs in your browser and does not upload text, which avoids server-side exposure. Safety still depends on your device, browser, and how you share the passphrase.
What algorithms and parameters does the tool use?
It uses AES-256 in GCM mode and PBKDF2-SHA-256 with 600,000 rounds to derive the key. The output is packed as one Base64 block that includes salt and IV.
What if I forget the passphrase?
You cannot recover the plaintext without the passphrase. Password based encryption has no backdoor, so losing the passphrase normally means permanent data loss.
Can I send the ciphertext and password together?
Do not send them on the same insecure channel. If an attacker captures both, they can decrypt the message. Share the passphrase separately by a trusted channel.
Will the encrypted output work with other tools?
Not always. Other tools must use the same PBKDF2 iterations, salt length, IV size and packaging order to interoperate. Use tools that publish exact parameters if you need compatibility.
Does the Base64 output protect the message by itself?
No. Base64 is just an encoding for transport. The confidentiality comes from AES-256-GCM and the secrecy of the passphrase.
Help keep every tool free
FreeToolr stays free because people help it grow. Share a tool you like, tell us what to build next, or support us on Ko-fi.