ROT13 and Caesar Cipher Tool
Encode, Decode and Atbash
Pick a cipher, paste your text and read the result. Solve a Caesar cipher by checking all 25 shifts. It runs in your browser.
Pick a cipher, paste your text and read the result. Solve a Caesar cipher by checking all 25 shifts. It runs in your browser.
What is a ROT13 and Caesar cipher tool? It scrambles and unscrambles text with three classic substitution ciphers. ROT13 moves each letter 13 places along the alphabet, a Caesar cipher moves it by a shift you choose, and Atbash reverses the alphabet. For example, Hello becomes Uryyb in ROT13, Khoor in a Caesar cipher with shift 3, and Svool in Atbash.
ROT13 is a Caesar cipher with a fixed shift of 13. Because 13 is half of 26, the same operation encodes and decodes. It was long used online to hide spoilers and punchlines from a casual glance, not to keep secrets. A Caesar cipher uses any shift from 1 to 25, so you have to know or find the shift to decode it. Atbash maps the first letter to the last, the second to the second to last, and so on, with no key at all.
These were made by this tool, so they match what you get when you type the same text. The Caesar column uses a shift of 3.
| Text | ROT13 | Caesar (3) | Atbash |
|---|---|---|---|
| Hello | Uryyb | Khoor | Svool |
| Hello, World! | Uryyb, Jbeyq! | Khoor, Zruog! | Svool, Dliow! |
| Attack at dawn | Nggnpx ng qnja | Dwwdfn dw gdzq | Zggzxp zg wzdm |
| The quick brown fox | Gur dhvpx oebja sbk | Wkh txlfn eurzq ira | Gsv jfrxp yildm ulc |
Each column shows what a letter becomes under each cipher.
| Cipher | A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | V | W | X | Y | Z |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Plain | A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | V | W | X | Y | Z |
| ROT13 | N | O | P | Q | R | S | T | U | V | W | X | Y | Z | A | B | C | D | E | F | G | H | I | J | K | L | M |
| Caesar 3 | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | V | W | X | Y | Z | A | B | C |
| Atbash | Z | Y | X | W | V | U | T | S | R | Q | P | O | N | M | L | K | J | I | H | G | F | E | D | C | B | A |
A Caesar cipher has only 25 possible shifts, so the quickest way to solve one is to try them all. Paste the scrambled text, choose Caesar and look down the table of shifts for the line that reads as normal words. That line also tells you the shift. For long messages you can instead count the most common letter, which in English is often E, and work out the shift from it. Neither method needs a computer for short texts.
These ciphers are good for puzzles, escape rooms, geocaching and learning how substitution works. They provide no real protection, because anyone can undo them quickly. For anything private, use proper encryption.