Encrypt text with a passphrase using AES-256-GCM, or encode and decode Caesar, Vigenere, Base64, Morse and more, with each method's real strength explained.
Initializing in your browser…
Encrypt any file with a password using AES-256-GCM, entirely in your browser, and decrypt it again later. Each file is checked before download.
134 printable paper templates, from dot grid and graph paper to Cornell notes, planners, calendars, music and game boards, at any paper size as vector PDF, SVG or PNG.
Convert text to 17 case styles at once, including Title Case (Chicago, AP or APA), Sentence case, camelCase, snake_case and URL slugs, with one-click copy.
You need to email a colleague the alarm code for the office, and you will tell them the passphrase on the phone.
Message and passphrase
Message: Alarm code is 4417, back door only. Passphrase: dapple amber elm harbor velvet (generated, five words) Method: AES-256-GCM, Encrypt
Encrypted message (one run; yours will differ)
-----BEGIN TOOLBOX ENCRYPTED MESSAGE----- VEJYQ1JZUDEBAQAJJ8ABABAAABB/SkObfgVaLVdsc9XMvixSx6bScgAAAET83lyZMyxAhrVK5W5F ... (163 bytes in all, as Base64) -----END TOOLBOX ENCRYPTED MESSAGE-----
The passphrase is stretched with PBKDF2-HMAC-SHA256 at 600,000 iterations into a 256-bit key, and the message is encrypted with AES-GCM using a fresh random salt and nonce, so encrypting the same text again gives a different block. Your colleague pastes the whole block, including the BEGIN and END lines, chooses Decrypt and enters the passphrase. If a single character of the block is changed in transit, or the passphrase is wrong, decryption is refused instead of producing garbage.
Encrypt a message with a passphrase using AES-256-GCM, or encode and decode text with twelve classical ciphers and encodings, from Caesar and Vigenere to Base64 and Morse. Each method says plainly how much protection it gives, and everything runs in your browser.
People reach for "text encryption" for very different reasons: to send a password or a private note safely, to solve a puzzle, to teach how ciphers work, or simply to decode a Base64 string. This tool covers all of them, and it is upfront about which is which, because a Caesar cipher and real encryption are not in the same league.
Real encryption with a passphrase. The AES-256-GCM method is genuine, modern encryption. Your passphrase is stretched with PBKDF2-HMAC-SHA256 at 600,000 iterations, the figure OWASP recommends, which makes every guess slow for an attacker. A random salt and nonce are generated for each message, so encrypting the same text twice gives different results. GCM includes an authentication tag, so a message that has been altered, or a wrong passphrase, is rejected rather than decrypted into garbage. The result is a block of Base64 text between BEGIN and END lines that you can paste into an email or chat, and the recipient decrypts it here with the same passphrase. It uses the same format as the File Encryption tool on this site. A strength meter checks your passphrase against common patterns and breach lists, and the Generate button creates a five-word passphrase with the browser's cryptographic random number generator.
Classical ciphers, labelled as toys. Caesar, ROT13, Atbash, Affine, Vigenere, Rail fence and repeating-key XOR are historical or teaching ciphers. They are fun for puzzles, escape rooms, geocaching and classrooms, but each can be broken in seconds, and the tool says how: Caesar has only 25 keys, Affine has 311, and Vigenere falls to Kasiski examination. They work on letters a to z and leave digits, punctuation, accented letters and emoji untouched, so a message with mixed content survives the round trip.
Encodings, which hide nothing. Base64, hexadecimal, binary, Morse code and reversed text change how text is written, not who can read it. Base64, hex and binary work on the UTF-8 bytes of the text, so accents, Chinese characters and emoji encode and decode correctly. Morse follows the ITU chart; it has no lower case, and characters without a Morse code are marked.
Fast and private. The classical ciphers and encodings update as you type, and the swap button feeds the result back in with the direction reversed so you can check a round trip. AES runs when you press the button, because stretching the passphrase deliberately takes a moment. Neither your text nor your key ever leaves the browser, and the share link stores only the method and its settings, never the message or the passphrase.
Encrypt a Wi-Fi password, a recovery code or a private note with AES, send the text, and share the passphrase through a different channel such as a phone call.
Create Caesar, Atbash, Vigenere or rail fence clues, and decode the ones you find, with the shift or key adjusted instantly.
Show students why a Caesar cipher falls to 25 tries and why modern encryption needs a key stretching step, using the explanations on each method.
Decode a Base64 string from an API or email header, or read a hex dump, with correct handling of accented and non-Latin characters.
"Meet at the north gate" with a shift of 3 becomes "Phhw dw wkh qruwk jdwh". Decrypting with the same shift brings it back; anyone can also try all 25 shifts in seconds.
"Attack at dawn" with the key LEMON becomes "Lxfopv ef rnhr", the classic textbook example. Spaces are kept and the key advances only on letters.
"héllo" encodes to aMOpbGxv, because the é is two bytes in UTF-8. Decoding gives back the accented word exactly.
AES-256-GCM is the same authenticated encryption used across the web and in messaging apps. The weak point is the passphrase: with 600,000 PBKDF2 iterations each guess is expensive, but a short or common passphrase can still be guessed. Use the generator or a long phrase of random words, and never send the passphrase in the same message as the encrypted text.
They open this tool, choose AES-256-GCM and Decrypt, paste the whole block including the BEGIN and END lines, enter the passphrase and press Decrypt with passphrase. The tool recognises the message format and tells them it is an encrypted message before they type the passphrase.
The message cannot be recovered. There is no back door and nothing is stored on a server, which is exactly what makes the encryption trustworthy.
They can be broken without the key. Caesar has only 25 possible shifts, the affine cipher 311 keys, and Vigenere and repeating-key XOR reveal their key length to standard statistical attacks. They are great for puzzles and learning, but not for protecting anything that matters.
No. Base64, hex, binary and Morse are encodings: they change how data is written so it can travel through systems that only accept certain characters. Anyone can decode them without a key, which is why the tool labels them "Encoding only".
Yes. Encodings work on UTF-8 bytes, so any character round-trips. Letter ciphers change only the letters a to z and A to Z and leave everything else, including accented letters and emoji, as it is.
No. All encryption, decryption and encoding happens in your browser using the Web Crypto API. The share link contains only the method and its settings.
Your text is processed locally in the browser. Nothing you paste or open is transmitted or logged.