Tools

Home
Regex TesterHash GeneratorURL Encode/DecodePhone ParserJSON Path TesterFavicon Downloader

Text Encrypt & Decrypt

Encrypt any text with AES-256-GCM and a password, or decrypt it back — entirely in your browser

Your files never leave your browser
Remember your password! Without it, your encrypted text cannot be recovered.
AES-256-GCM|PBKDF2 100K iterations|Random salt & IV

Type or paste any text, set a password, and get AES-256-GCM encrypted output you can safely share over email, chat, or docs. The same password decrypts it on the other end — no accounts, no installs needed. And everything runs in your browser. Nothing gets uploaded.

How It Works

Enter Text + Password
→
PBKDF2 Key Derivation
→
AES-256-GCM Encrypt/Decrypt

Your password gets stretched through 100,000 rounds of PBKDF2 with a random salt, which turns even a short passphrase into a full 256-bit key. A fresh random IV is generated each time so encrypting the same text twice produces completely different output. The result is packed into a single Base64 string — salt, IV, and ciphertext together — so you only need to share one blob.

Examples

Sharing a Wi-Fi Password Over Chat

Your coworker needs the office guest network password but you don't want it sitting in plaintext in Slack history.

INPUT
Text: GuestWifi$ecure2024! Password: mondaymeeting
OUTPUT
dG9vbGFwcC1lbmMx...kZ3Y= (Base64 encrypted blob)

Storing an API Key in a Shared Doc

You're documenting a project setup guide and need to include an API key. Anyone with the team passphrase can decrypt it, but random readers can't.

INPUT
Text: sk-proj-abc123xyz789token Password: ProjectAlpha2024
OUTPUT
cHJvamVjdC1rZXkt...Qx== (paste this in the doc)

Sending Personal Info Through an Untrusted Channel

A friend needs your bank details for a transfer. You send the encrypted blob via text message and tell them the password over a phone call — two separate channels, much harder to intercept.

INPUT
Text: Account: 1234567890 Routing: 021000021 Name: Jane Doe Password: callmefirst
OUTPUT
YmFua2luZy1kYXRh...x0= (send via text, share password by phone)

Who Uses This

👨‍💻 Developers

Encrypt API keys and tokens before pasting them into shared wikis or setup docs.

🔒 IT Admins

Share server credentials with team members without leaving plaintext passwords in email threads.

📋 Project Managers

Pass client-sensitive data to contractors through channels that aren't end-to-end encrypted.

🧑‍🎓 Students

Understand AES-256-GCM encryption by watching real inputs turn into ciphertext and back.

Common Mistakes

Using a weak password like "123456"

AES-256 is only as strong as the password protecting it. A short or common password can be brute-forced in minutes. Pick something at least 12 characters with mixed case, numbers, and a symbol or two.

Forgetting which password was used

There is no "forgot password" option. If you lose the password, the data is gone for good. Write it down somewhere safe or use a password manager before you encrypt.

Copying only part of the encrypted output

The Base64 string contains the salt, IV, and ciphertext together. Miss even one character and decryption fails completely. Always use the Copy button instead of manually selecting text.

Technical Details

Frequently Asked Questions

Is AES-256 encryption safe enough for passwords and personal data?

Yes. AES-256-GCM is the same standard used by banks, government agencies, and VPN providers. With a strong password and proper key derivation (which this tool handles automatically), cracking the ciphertext would take longer than the age of the universe with current hardware.

Can someone decrypt my text without the password?

No. There's no backdoor, no master key, and no recovery option. The encryption is mathematically tied to your password. Without it, the data is unreadable — even by this tool.

Does this tool store or send my data anywhere?

Nothing leaves your browser. All the encryption and decryption runs locally through the Web Crypto API. No server calls, no logging, no cookies. Close the tab and every trace is gone.

Why does encrypting the same text twice give different results?

Each encryption generates a fresh random salt and IV. That's intentional — it prevents attackers from comparing ciphertexts to guess content. Both outputs decrypt to the same plaintext with the right password, though.

What's the difference between AES-CBC and AES-GCM?

AES-CBC encrypts your data but doesn't check if someone tampered with it afterward. AES-GCM adds authentication — if even one bit of the ciphertext gets changed, decryption will flat-out refuse to run. That tamper detection is why GCM is the go-to choice now.

Share: