Skip to main content
WizTools123
Free Online Tools

Tool Categories


Text Tools New Tool

Free Online Caesar Cipher and ROT13 Encoder and Decoder

Encode and decode a Caesar cipher in your browser with any shift from one to twenty five, or use the ready made ROT13, ROT5, ROT18 and ROT47. When you do not know the shift, the page lists all twenty five possibilities at once so the readable one can be picked out by eye in a second.

Free Forever Nothing Uploaded Any Shift 1 to 25 All 25 at Once
Free Online Caesar Cipher and ROT13 Encoder and Decoder
Share this tool
Caesar Cipher and ROT13 Everything happens in this tab. Nothing you paste is sent anywhere.
Your message
0 characters 0 words 0 lines
Shifted
0 characters 0 lines
Method
The shift 3
Also shift
Not sure of the shift The readable one is almost always obvious at a glance.

0 letters shifted 0 digits shifted 0 left untouched - shift used

Shift First part of the result
Buy Us A Coffee

Enjoying WizTools123? Help keep our server infrastructure 100% free and open for everyone.

Buy Us A Coffee

How to Use Caesar Cipher and ROT13

Step by step, start to finish.

1
Paste the message

Plain text to encode, or a shifted message to decode. A .txt file can be dropped onto the box.

2
Choose the method

ROT13 needs nothing else set. For a Caesar cipher, drag the slider to the shift you want.

3
If you do not know the shift, show all twenty five

The table lists every possibility. One of them will be readable English and the rest will be nonsense.

4
Copy the result

The copy button takes the shifted text. The chain button sends the result back to the left box, which is handy for shifting twice.

Key Features

What this tool does, and what it does not do.

Any shift

One to twenty five on a slider, forwards to encode and backwards to decode.

All twenty five at once

The table shows every possible shift together, which is how an unknown Caesar is actually cracked.

ROT presets

ROT13 for letters, ROT5 for digits, ROT18 for both and ROT47 for every printable character.

Digits handled

A separate switch shifts digits by the same amount within zero to nine, so numbers in the message can be hidden too.

Shape preserved

Spaces, punctuation and line breaks stay exactly where they were, so the result stays readable.

Nothing is uploaded

The shifting is arithmetic done in this tab, so nothing you paste is sent anywhere.

About Caesar Cipher and ROT13

The Caesar cipher is the first cipher most people meet, named after Julius Caesar, who is said to have shifted letters by three in his letters. Today it is a puzzle staple, a teaching example that takes thirty seconds to explain, and, as ROT13, a long standing convention for hiding a spoiler or a punchline in plain sight. This page encodes and decodes every common variety in your browser.

How the shift works

Each letter moves a fixed number of places along the alphabet, wrapping round from Z back to A. With a shift of 3, HELLO becomes KHOOR; shifting backwards by 3 turns it back. Pick a shift from 1 to 25 on the slider and choose forwards to encode or backwards to decode. Capitals stay capitals and small letters stay small, unless you ask for the result in capitals.

Cracking an unknown shift

With only twenty five possible keys, an unknown Caesar cipher is a short list to read. Switch on Show me all twenty five shifts and the page shows the opening of the message under every shift side by side. The one that reads as real words is your answer, and the shift used is shown next to it. Most messages are solved in a single glance down the column.

The ROT family

PresetWhat it shiftsBy
ROT13Letters A to Z13
ROT5Digits 0 to 95
ROT18Letters and digits13 and 5
ROT47All 94 printable ASCII characters47

Each of these is its own reverse: applying it twice gives back the original, so the same setting both encodes and decodes.

Digits, accents and punctuation

A letter shift works on the twenty six letters, so digits have their own switch that moves them by the same amount within 0 to 9. Accented letters can be turned into plain ones first, so an é is shifted as an e. Spaces, punctuation and line breaks stay exactly where they were, which keeps the shape of the message and makes the decoded result easy to read. The counters show how many letters and digits were shifted, how many characters were left as they were, and the shift used.

A Caesar cipher is for fun and learning rather than security; for anything private, use real encryption.

Frequently Asked Questions

Common questions about this tool.

Switch on "Show me all twenty five shifts". The table lists every possibility with the start of each result, and the readable one stands out immediately because the other twenty four are nonsense.

Because ROT13 is its own decoder. Thirteen is half of twenty six, so applying it twice returns the original text. Paste the encoded text, choose ROT13, and the readable version appears.

A Caesar shift moves letters within the 26 letter alphabet, and digits form their own set of ten. Switch on "Digits, by the same amount within 0 to 9" to shift them as well, or choose ROT18, which shifts letters by thirteen and digits by five in one step.

A shift of forty seven across all ninety four printable characters, so punctuation and symbols are scrambled too. Like ROT13 it is its own reverse, and it hides text far more thoroughly, at the cost of a result that looks like pure gibberish.

It is designed for puzzles, lessons and hiding spoilers rather than protecting secrets. With only 25 possible shifts, anyone can read the message in seconds, and the all shifts table on this page does exactly that. For private information, use proper encryption such as a password protected archive or an encrypted messaging app.

More Text Tools

Other tools from the same hub, free and in your browser.

All Text Tools

Feedback

No feedback on this tool yet. Yours would be the first.