Black Friday: 50% off every paid plan with code BF50. Ends 5 December.

See prices

Free tool

ROT13 decoder, and the rest of the ROT family.

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

One idea, four alphabets.

01 / ROT13

Letters, 26 around

Move each letter 13 places. 13 is half of 26, so doing it twice gives the original back.

02 / ROT5 and ROT18

Add the digits

Digits go round a ring of 10, so the shift is 5. ROT18 is ROT13 on letters and ROT5 on digits together.

03 / ROT47

All 94 symbols

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

How to decode ROT13, ROT47 and shift codes.

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.

How to use the ROT13 decoder

  1. Paste the coded text into Message. The Result box updates as you type.
  2. Leave Cipher on ROT13 for the usual case. Choose ROT5, ROT18 or ROT47 if the text includes digits or symbols, or choose Shift by a number if you know the letters were moved by another amount.
  3. With Shift by a number, set Direction to Decode to move letters back, or Encode to move them forward, and type the shift under Shift (0 to 25).
  4. If you do not know the method, read Try every method. It shows the five most likely readings. Click one to switch to it, or press Show all 28 to see all of them.
  5. Press Copy above the result. Use result as input copies the result into the message box for a second pass. Copy link makes a link that holds your settings and your message after the # sign, which browsers never send to a server. Anyone who opens it sees the same message. Save result as .txt and Open a text file work with plain text files up to 1 MB.

The four fixed methods, with examples

MethodWhat movesInputOutput
ROT13A to Z, a to z by 13Hello, World!Uryyb, Jbeyq!
ROT50 to 9 by 5Call 2024-05-17Call 7579-50-62
ROT18letters by 13, digits by 5Room 101, HelloEbbz 656, Uryyb
ROT47exclamation mark to tilde by 47Hello, 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.

Shift by a number and the running shift

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.

How Try every method picks the likeliest reading

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.

Common problems

  • Nothing changes. The text may have no plain letters. Accents and other alphabets are not shifted.
  • The result is still scrambled. Try ROT47 if the message has symbols, or a different shift. A running shift is not found by Try every method, so set it by hand.
  • Digits did not change. ROT13 leaves digits alone. Use ROT18 to move letters and digits together.

Telling which method was used

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

Good to know.

How do I decode ROT13?

Paste the text and leave Cipher on ROT13. ROT13 undoes itself, so the result box shows the plain text.

Why is encoding and decoding ROT13 the same?

The alphabet has 26 letters and the shift is 13, half. Shifting twice is a full turn, so you arrive back where you started.

What is the difference between ROT13 and ROT47?

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.

What is ROT18?

ROT13 on letters plus ROT5 on digits, so a message with numbers is covered in one pass.

Is ROT13 secure?

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.

How do I decode a message when I do not know the shift?

Read Try every method. It decodes all 25 letter shifts plus ROT5, ROT18 and ROT47 and ranks them by how English they look.

Why are my accented letters unchanged?

ROT codes work on the plain English alphabet. Letters such as é or ü, and other alphabets, are left as typed.

Is my text uploaded?

No. Everything runs in this tab, and the text is not saved.

Listed on

Listed on JustMacAppsMotionShine on Mac App IndexMotionShine on ScrollLaunchMotionShine featured on StartupBaseFeatured on FazierFeatured on Twelve ToolsMotionShine - Featured on Smol Launch