Text Encryption Tool
Encrypts text with a password using AES-256-GCM and PBKDF2 from your browser's built-in Web Crypto API, and decrypts it again. Changed or wrong-password text is detected. Text encrypted with the older version still decrypts.
- Runs in your browser
- Nothing uploaded
- Free, no sign-up
Technical details of the last result
| Encrypt or decrypt something first. |
How to Use Text Encryption Tool
- Choose Encrypt, then type or paste your text.
- Enter a password twice, or press "Generate a strong password" and save it somewhere safe.
- Press Encrypt and copy the result, which starts with ATV1.
- To read it later, choose Decrypt, paste the text, enter the same password and press Decrypt.
Example: sending Wi-Fi details
The Sample button encrypts two lines of Wi-Fi details with the password tulip-orbit-canvas-77. The result starts with ATV1. and is 139 characters long. It is different every time you press Encrypt, because a new random salt and IV are used each time, but all versions decrypt to the same text with the same password. Change one character of the encrypted text, or use the wrong password, and decryption fails with a clear message instead of returning garbage.
What the strength meter can and cannot see
The meter counts length and character types. It cannot know that you used a dictionary word, so for human-made passwords the real strength is lower than it shows. Values from the tool:
| Password | Meter says | What that means |
|---|---|---|
letmein |
very weak: one of the most common passwords | Found within seconds in lists of leaked passwords. |
summer2026 |
fair (about 52 bits) | A word plus a year is one of the first patterns attackers try. Real strength is far lower than the estimate. |
Tr0ub4dor&3 |
strong (about 72 bits) | Letter swaps in a dictionary word are well known. Real strength is far lower. |
tulip-orbit-canvas-77 |
very strong (about 128 bits) | Several unrelated words plus digits. Good if the words were picked at random. |
| 20 random characters from “Generate” | very strong (about 131 bits) | Random characters: the estimate matches reality. |
Anyone who has your encrypted text can try passwords on their own computers as fast as their hardware allows. A long random password, or four or more randomly chosen words, is what makes the encryption hold.
What is inside the encrypted text
| Part | Size | Purpose |
|---|---|---|
| Prefix | ATV1. |
Marks the current format. |
| Salt | 16 random bytes | Makes the key different every time, even with the same password. |
| IV | 12 random bytes | Makes the encrypted text different every time. |
| Ciphertext | same length as your text in UTF-8 | The encrypted text. |
| Tag | 16 bytes | Detects a wrong password or any change to the text. |
The salt, IV, ciphertext and tag are joined and written as URL-safe base64 after the prefix, so the result can be pasted into an email, a chat or a note without breaking.
How it works
- The password is turned into a 256-bit key with PBKDF2-HMAC-SHA256 and 600,000 iterations, the figure the OWASP Password Storage Cheat Sheet recommends for this function. The repetition makes every password guess slower.
- The text is encrypted with AES-256 in GCM mode, which also produces a tag that detects any change.
- All of this uses the Web Crypto API built into your browser. No homemade cryptography, no library downloads, and nothing is sent anywhere.
- Text encrypted by the earlier version of this tool, or by our former AES Text Encryptor (plain base64, 100,000 iterations), is detected and still decrypts.
- We checked the output independently: Node.js with OpenSSL decrypts it using the same parameters.
Limits
- There is no password recovery. If you lose the password, the text cannot be decrypted by anyone, including us.
- Encryption protects the text, not your device. If someone can see your screen or install software on your computer, they can read the text before it is encrypted.
- For files, or for messaging with someone regularly, use a dedicated tool such as an end-to-end encrypted messenger or age.
Frequently asked questions
Is AES-256 encryption safe to use?
AES-256 itself has no known practical attack. In a password-based tool like this one, the weak point is the password: a short or common password can be guessed, so the protection depends on choosing a long random one.
Can you decrypt my text if I forget the password?
No. The password never leaves your browser and is not stored. Without it, the encrypted text cannot be read.
How do I send the password safely?
Use a different channel from the encrypted text. For example, send the encrypted text by email and the password by phone or in person.
Why does the same text give a different result each time?
Each encryption uses a new random salt and IV. This stops anyone from telling that two encrypted messages contain the same text.
I have text from the old AES Text Encryptor. Can I still read it?
Yes. Paste it in Decrypt mode with the original password. The tool recognises the older format and uses its settings automatically.
Related Tools
CSS Text Shadow Generator →
Multi-layer CSS text-shadow builder with 8 classic presets (outline, neon, 3D, retro), editable preview,…
Text Obfuscator →
Obfuscate and restore text to make it harder to read at a glance, all…
Add Text to Image Online - Text on Photo →
Add text to images online for free. Overlay text on your photos. Fast, private,…
Add Text to WEBP →
Add text, captions, or watermarks to your WEBP images directly from your browser. Our…
Convert Binary to Text →
Convert text to binary and binary to text instantly. Free, offline, client-side UTF-8 encoder…
Center Unicode Text →
Center Unicode text within a fixed width, with real grapheme counting for emoji and…
Check Spoofed Unicode Text →
Detect Unicode confusables and homoglyphs from Cyrillic, Greek, Armenian, and Hebrew that imitate Latin…
Chunk List Text →
Split any list into fixed-size chunks with line/numbered/labeled/custom-separator output. Live preview, keep-or-drop trailing chunk.…
Chunkify Unicode Text →
Split Unicode text into equal chunks with grapheme, code-point, or UTF-16 modes. Keeps emoji…
Convert Hex to Text →
Decode hex or hex-dump output (xxd, hexdump -C, Wireshark) to UTF-8 text. Non-printable handling,…
Convert JSON to Text →
Convert JSON to plain text - pretty, dot-path, indented tree, YAML-like, or numbered outline.…
Convert Text to Data URI →
Convert Text to Data URIs - choose MIME (text, HTML, CSS, JSON, SVG), URL-encoded…