100% free · Runs 100% in your browser · No signup needed
The Caesar cipher shifts every letter by a fixed key (Julius Caesar reportedly used 3). ROT13 is the shift-13 special case. It is a teaching toy, not real encryption — all 25 possible shifts can be tried in seconds, which is exactly what the brute-force button does.
The Caesar cipher is one of the oldest and simplest encryption methods in recorded history. It is named after Julius Caesar, who reportedly used a shift of 3 to protect his military messages more than two thousand years ago. The idea is beautifully simple: every letter in your message is replaced by another letter that sits a fixed number of positions down the alphabet. With a shift of 3, the letter A becomes D, B becomes E, C becomes F, and so on until X becomes A, Y becomes B, and Z becomes C, wrapping around the end of the alphabet. Anyone who knows the shift key can reverse the process and read the original message, while everyone else sees only scrambled text.
Our free Caesar cipher tool brings this classic technique to your browser with a modern, easy interface. Choose between encode and decode mode, drag the shift slider anywhere from 0 to 25, and watch the output update live as you type. When you receive a mysterious Caesar ciphertext and have no idea which shift was used, the "try all 25 shifts" brute-force table shows every possible decryption at once, so you can spot the readable English line in seconds. A one-click copy button moves the result to your clipboard instantly. Everything runs entirely in your browser, so nothing you type ever leaves your device.
The cipher shifts each letter by a fixed key between 0 and 25. A shift of 0 leaves the text unchanged, while a shift of 26 would be the same as a shift of 0 because the alphabet has exactly 26 letters. When the shift carries a letter past Z, it wraps around to the beginning of the alphabet, which is why Z with a shift of 3 becomes C. Uppercase and lowercase are handled independently, so case is preserved: a capital A with a shift of 3 becomes a capital D, and a lowercase a becomes a lowercase d. Non-letters pass through unchanged, which means spaces, numbers, punctuation, and symbols appear in the output exactly as they were entered. Only the 26 letters of the English alphabet are transformed.
ROT13 is the famous special case of the Caesar cipher where the shift is exactly 13. Because 13 is half of 26, applying ROT13 twice returns the original text, which makes it its own inverse. ROT13 has been used for decades on internet forums and puzzle sites to hide spoilers, punchlines, and hints so that readers can reveal them only if they want to. Our tool handles ROT13 naturally: just set the shift slider to 13, or decode any ROT13 string with the same setting.
Using the tool takes only a few seconds. First, paste or type your text into the input box. Second, pick a mode: encode to turn plain text into ciphertext, or decode to turn ciphertext back into plain text. Third, set the shift with the slider or type any number from 0 to 25. The output panel updates live with every keystroke, so you can experiment freely and see the effect of each shift immediately. When you are happy with the result, press the copy button to grab the output for use anywhere else.
The standout feature of this tool is the brute-force table. Because there are only 25 possible non-zero shifts, brute-forcing all 25 shifts breaks any Caesar ciphertext instantly. Enter the encrypted message, press the button, and the tool displays 25 rows, one for every possible shift, each showing what the message would look like if that shift had been used. Scan the rows for the one that reads as sensible English and you have cracked the code. This makes the tool perfect for solving puzzle hunts, classroom exercises, and capture-the-flag challenges where Caesar ciphers appear as an easy first step.
It is important to be completely honest: the Caesar cipher is NOT secure encryption. It is only a teaching toy. A real attacker does not need any special knowledge to read your message. Trying all 25 shifts takes a fraction of a second, and even without a computer, letter-frequency analysis breaks it quickly because the most common letters in English, like E, T, and A, still stand out in the ciphertext in their shifted positions. No modern secret should ever be protected with a Caesar cipher, not even a shift chosen at random. If you need real protection for passwords, accounts, or private data, use proper modern tools instead: generate strong random passwords with our password generator, check how they hold up with a strength tester, and store sensitive values as one-way hashes using our SHA256 hash generator. The Caesar cipher is wonderful for learning how substitution ciphers work, but it belongs in puzzles and history lessons, not in security.
Despite being cryptographically obsolete, the Caesar cipher is everywhere in recreational and educational contexts. Puzzle books and escape rooms love it because anyone can decode it with a little patience. Programming courses use it as a first exercise in string manipulation and modular arithmetic. Online communities still use ROT13 to hide movie spoilers and joke punchlines. Geocachers hide coordinates behind simple shifts, and kids invent secret alphabets that work exactly the same way. If you enjoy classic code tricks, you will also like our Morse code translator and our Base64 encoder and decoder, which handle two more of the most common text transformations on the internet.
If you are a student, teacher, or developer who wants to practice cryptography concepts and share your experiments online, you need reliable and affordable web hosting for your projects. FistHost offers shared hosting plans starting from just $0.99/month, giving you fast servers, a free SSL certificate, and one-click installers for blogs, forums, and learning sites. It is the perfect budget-friendly home for your coding portfolio, puzzle blog, or classroom website.
Historical accounts report that Julius Caesar used a shift of 3 for his military correspondence. That is why the classic example of the cipher always shows A becoming D. Our tool defaults to a shift of 3 so you can recreate the original historical cipher with one click.
Yes. Non-letters pass through unchanged, so numbers, spaces, punctuation marks, emojis, and characters from other alphabets stay exactly as they are. Only the 26 English letters A through Z, in both uppercase and lowercase, are shifted, and case is preserved throughout.
Encode mode shifts every letter forward by the key, turning readable text into ciphertext. Decode mode shifts every letter backward by the same key, turning ciphertext back into readable text. If you encoded with a shift of 5, decoding with a shift of 5 restores the original message exactly.
ROT13 is simply the Caesar cipher with the shift set to 13. It is the most famous single shift because 13 is exactly half of the alphabet, which makes encoding and decoding the same operation: applying ROT13 to ROT13 text restores the original. Our tool handles it like any other shift, so just choose 13 on the slider or decode mode and experiment freely.
Yes. The entire cipher runs in JavaScript inside your own browser. Your text is never uploaded, stored, or transmitted anywhere. That said, remember that the Caesar cipher itself offers no real security, so never use it to protect genuinely sensitive information.
When your puzzles, tutorials, or coding projects outgrow a single page and you want your own corner of the web, FistHost makes it easy to get started. Every annual shared hosting plan includes a FREE domain name, so you can launch your site with a professional address at no extra cost, backed by hosting from only $0.99/month. Join thousands of site owners who trust FistHost for fast, simple, and affordable hosting.
No reviews yet. Be the first to review this tool!
Reviews are protected by captcha and moderated before they appear.