Text Encrypt / Decrypt Tool
Protect a message with a password, or unlock text encrypted here. Encryption uses your browser’s built-in Web Crypto API — AES-256-GCM with a PBKDF2-derived key, a random salt and a new random IV every time.
1. Input
AES-256-GCM · PBKDF2Remember your password. Lost passwords cannot be recovered, and encrypted text cannot be opened without it.
2. Output
Nothing is sent or storedSuitable for everyday privacy, such as sharing a note over an untrusted channel. Not intended for regulated, medical, financial, military or other high-risk secrets.
About Text Encrypt / Decrypt Tool
Text Encrypt / Decrypt Tool protects text with a password using the browser’s built-in Web Crypto API. A 256-bit AES-GCM key is derived from your password with PBKDF2-HMAC-SHA-256 (600,000 iterations) and a random salt, and each encryption uses a new random IV. The output is a single self-contained line that includes the format version, iteration count, salt, IV and ciphertext, and can be decrypted here with the same password.
Sometimes you need to send or store a short secret — a note, a configuration value or a message — somewhere you don’t fully trust. Encrypting it with a strong password first means only someone with the password can read it. Because standard algorithms are used and nothing leaves your browser, there is no account and no server involved.
Step by step
- Choose Encrypt.
- Type or paste the text you want to protect.
- Enter a strong password and type it again to confirm.
- Press Encrypt, then copy or download the encrypted text.
- To read it later, choose Decrypt, paste the encrypted text, enter the password and press Decrypt.
- Press Reset when you are done to clear the text and passwords.
What it offers
- AES-256-GCM authenticated encryption via the Web Crypto API
- PBKDF2-HMAC-SHA-256 key derivation with 600,000 iterations
- Random 16-byte salt and 12-byte IV for every encryption
- Self-contained, versioned output format
- Confirm-password check before encrypting
- Clear errors for wrong passwords, damaged text and unsupported browsers
- Copy and download for encrypted and decrypted text
- Fields cleared on Reset and when the page is closed
Tips for best results
- Use a long passphrase of several random words, and don’t reuse it elsewhere.
- Store the password separately from the encrypted text — for example in a password manager.
- Share the password through a different channel than the encrypted message.
- Test decryption before deleting the original text.
- Use dedicated, audited software for regulated, financial, medical or other high-risk data.
Why people use it
Standard crypto
Only built-in, well-reviewed browser algorithms.
Tamper-evident
AES-GCM detects any change to the encrypted text.
Private
Text and passwords never leave your browser.
Portable
One line of text you can paste anywhere.
Common questions
This runs entirely in your browser
No file or text you enter here is uploaded. Encoding and decoding happen on your device using native browser APIs — close the tab and nothing remains on a server.