Free Cipher Tool

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.

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.

Result

How to Use the Cipher Tool in 3 Steps

  1. Type or paste your text in the box.
  2. Choose ROT13, Caesar or Atbash. For Caesar, set the shift and choose Encode or Decode.
  3. Read the result, then press Copy Result or Download TXT. In Caesar mode the table below the result shows what every shift from 1 to 25 would give.

ROT13, Caesar and Atbash Compared

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.

Examples

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.

TextROT13Caesar (3)Atbash
HelloUryybKhoorSvool
Hello, World!Uryyb, Jbeyq!Khoor, Zruog!Svool, Dliow!
Attack at dawnNggnpx ng qnjaDwwdfn dw gdzqZggzxp zg wzdm
The quick brown foxGur dhvpx oebja sbkWkh txlfn eurzq iraGsv jfrxp yildm ulc

Cipher Alphabets

Each column shows what a letter becomes under each cipher.

CipherABCDEFGHIJKLMNOPQRSTUVWXYZ
PlainABCDEFGHIJKLMNOPQRSTUVWXYZ
ROT13NOPQRSTUVWXYZABCDEFGHIJKLM
Caesar 3DEFGHIJKLMNOPQRSTUVWXYZABC
AtbashZYXWVUTSRQPONMLKJIHGFEDCBA

How to Break a Caesar Cipher

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.

Not Real Security

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.

Cipher Tool FAQ

ROT13 is a simple letter substitution that replaces each letter with the letter 13 places after it in the alphabet. Since the alphabet has 26 letters, applying ROT13 twice returns the original text, so the same step both encodes and decodes. Digits, spaces and punctuation are left unchanged.
Paste the text into the box with ROT13 selected. The result is the decoded text, because ROT13 undoes itself. Uryyb decodes to Hello.
A Caesar cipher shifts every letter by a fixed number of places in the alphabet. With a shift of 3, A becomes D and Hello becomes Khoor. It is named after Julius Caesar, who according to the Roman historian Suetonius used a shift of three for private messages.
Select Caesar and read the table of all 25 possible shifts under the result. Only one line will be readable text, and that line shows the shift that was used. This works because a Caesar cipher has only 25 meaningful keys.
Atbash reverses the alphabet, so A becomes Z, B becomes Y and so on. It is the same step for encoding and decoding, like ROT13. The name comes from the first and last letters of the Hebrew alphabet, aleph and taw, and the second and second to last, beth and shin.
No. They are puzzle and game ciphers that anyone can break in seconds, especially with the 25 shift table on this page. Do not use them to protect passwords or private information.
No. Only the 26 basic Latin letters are changed, and capital letters stay capital. Digits, spaces, punctuation and accented letters are copied as they are.
It is free and needs no account. The conversion runs in your browser, so the text you type stays on your device.