01 / ROT13
Letters, 26 around
Move each letter 13 places. 13 is half of 26, so doing it twice gives the original back.
Free tool
Paste a coded message and read it. Pick ROT13 for letters, ROT5 for digits, ROT18 for both, ROT47 for letters, digits and symbols, or shift by any number from 1 to 25. Not sure which one it is? Try every method lists all of them and ranks the one that reads as English. A running shift, where the shift grows with each letter, is here too. This is a puzzle tool, not security.
Need a custom tool, app or website? Contact us →Try every method
Method
ROT13, ROT5, ROT18 and ROT47 undo themselves, so the same button encodes and decodes.
Only letters A to Z, digits and the printable ASCII symbols change, depending on the method. Accented letters and other alphabets stay as typed. Your settings are remembered, your text is not. You can also drop a text file on the message box.
Worked out in your browser. Nothing is uploaded.
The family
01 / ROT13
Move each letter 13 places. 13 is half of 26, so doing it twice gives the original back.
02 / ROT5 and ROT18
Digits go round a ring of 10, so the shift is 5. ROT18 is ROT13 on letters and ROT5 on digits together.
03 / ROT47
The printable ASCII characters from the exclamation mark to the tilde form a ring of 94, and the shift is 47, half of it.
Guide
A ROT13 decoder reads text whose letters have each been moved 13 places along the alphabet. ROT13 is the best known of a small family of rotation codes. They all do the same thing: take each character, move it a fixed number of places around a ring, and wrap round at the end. They hide a message from a quick glance, and nothing more. They are not encryption, and anyone can undo them in seconds, so never use one for a password or anything private.
| Method | What moves | Input | Output |
|---|---|---|---|
| ROT13 | A to Z, a to z by 13 | Hello, World! | Uryyb, Jbeyq! |
| ROT5 | 0 to 9 by 5 | Call 2024-05-17 | Call 7579-50-62 |
| ROT18 | letters by 13, digits by 5 | Room 101, Hello | Ebbz 656, Uryyb |
| ROT47 | exclamation mark to tilde by 47 | Hello, World! | w6==@[ (@C=5P |
To check the first row by hand: H is the 8th letter, 8 plus 13 is 21, and the 21st letter is U. e is the 5th letter, 5 plus 13 is 18, and the 18th is r. Letters past Z wrap round, so W, the 23rd letter, becomes the 36th, which is 36 minus 26, the 10th: J. The output spells Uryyb, Jbeyq!. Run it again and the original comes back, because 13 plus 13 is 26, a full turn.
ROT47 works on character codes. The exclamation mark has code 33 and the tilde has code 126, which makes 94 characters in the ring. H has code 72, which is 39 steps after the exclamation mark. Adding 47 gives 86 steps, and 33 plus 86 is code 119, the letter w, as in the table. A character that would pass ~ wraps back to the start. Spaces are not moved, which is why the output has a gap in the same place.
A shift by 3 is the classic Caesar cipher. The Caesar cipher page has a letter chart and a Vigenere mode. Here, the Shift by a number method is the quick one, and Try every method tests all 25 for you.
The running shift adds a step to the shift for each letter. Letters only count: spaces and punctuation do not use up a step. With a shift of 1 and a step of 1, A moves by 1, B by 2, C by 3, so ABC becomes BDF. With a shift of 3 and a step of 2, Hello, World becomes Kjsuz, Jdiey: H moves 3, e moves 5, l moves 7, l moves 9, o moves 11. Decode with the same two numbers.
It decodes your text every possible way and counts how many short common English words each result contains, such as the, and, of and was. The result with the most is ranked first. This works well for a sentence or two. A very short message, a name, or text in another language has too little to go on, so the tool says when nothing reads as English. Check the top answer with your own eyes.
The look of the coded text is a clue. If it still looks like words, with the same punctuation and capital letters in the same places, it is a letter shift such as ROT13 or Caesar. If numbers in it changed, such as a phone number or a year, it was ROT5 or ROT18. If it looks like a jumble of symbols, digits and capitals, it may be ROT47: in ROT47 the lower case letters a to h turn into the digits 2 to 9, and later letters turn into symbols and capital letters, so the sentence "The quick brown fox" becomes %96 BF:4< 3C@H? 7@I. When the text still has spaces but no sense, a running shift is a good guess. Set it by hand with the starting shift and a step.
For other puzzle codes, try the Morse code translator and the binary translator.
Questions
Paste the text and leave Cipher on ROT13. ROT13 undoes itself, so the result box shows the plain text.
The alphabet has 26 letters and the shift is 13, half. Shifting twice is a full turn, so you arrive back where you started.
ROT13 moves only letters. ROT47 moves all 94 printable ASCII characters, so digits and symbols are scrambled too and the result looks less like words.
ROT13 on letters plus ROT5 on digits, so a message with numbers is covered in one pass.
No. It has no key, and anyone can reverse it. Use it for puzzles and for hiding a spoiler from a glance, never for anything private.
Read Try every method. It decodes all 25 letter shifts plus ROT5, ROT18 and ROT47 and ranks them by how English they look.
ROT codes work on the plain English alphabet. Letters such as é or ü, and other alphabets, are left as typed.
No. Everything runs in this tab, and the text is not saved.