ROT13 Encoder and Decoder
Hide spoilers, quiz answers and punchlines so nobody reads them by accident, then reveal them again. ROT13 shifts every letter 13 places, so running the same step twice brings back the original text. ROT5, ROT18 and ROT47 are included too.
How to Encode or Decode ROT13
Quick answer: paste text to hide it, or paste ROT13 text to reveal it; the same method works both ways.
-
1
Paste your text
Plain text or encoded text.
-
2
Pick the method
ROT13 is the usual one.
-
3
Read the result
It appears straight away.
-
4
Copy it
Or press Use as input to switch back.
What You Get
What Is ROT13?
ROT13, short for "rotate by 13 places", replaces each letter with the letter 13 positions later in the alphabet: A becomes N, B becomes O, and N wraps round to A. Because the alphabet has 26 letters, applying ROT13 twice gives back the original, so one button both hides and reveals text. Spaces, numbers and punctuation stay as they are, so the shape of the text is kept.
What It Is Used For
ROT13 has been used on forums and in newsletters for decades to hide spoilers, puzzle and riddle answers, quiz solutions and the punchlines of jokes. Readers who want to see the text can decode it in a second, while everyone else is not spoiled by a glance. It also appears in puzzles, escape rooms, geocaching hints and programming exercises.
ROT13 is not encryption: anyone can reverse it instantly, so never use it to protect passwords or private information.
ROT5, ROT18 and ROT47
ROT5 rotates the digits 0 to 9 by five places, so phone numbers and codes are hidden too. ROT18 combines ROT13 for letters and ROT5 for digits. ROT47 covers almost every visible character, including punctuation and symbols, which makes the text look completely scrambled. Each method undoes itself when applied a second time.
Example
"Why did the scarecrow win an award?" stays readable as a question, while the answer "Because he was outstanding in his field." becomes "Orpnhfr ur jnf bhgfgnaqvat va uvf svryq." Post the encoded answer, and readers paste it here to reveal it. For other fun encodings, try the Morse Code Converter or Reverse Text.
Who Uses ROT13?
Forum and community members hiding spoilers for films, books and games. Puzzle and quiz makers hiding answers and hints. Geocachers, who traditionally encode cache hints with ROT13. Teachers and students exploring simple ciphers in history and computing lessons, and programmers testing text-handling code. It is a light-hearted, well-known way to keep text unreadable at a glance.
Tips
Tell readers which method you used, since ROT13 and ROT47 give different results. ROT13 leaves numbers readable, so use ROT18 or ROT47 when the hidden text contains a date or a number. Press Use as input to switch quickly between the encoded and decoded versions and check your text.
Good to Know
ROT13 only changes the 26 letters of the English alphabet, keeping upper and lower case. Accented letters, other alphabets, emoji, spaces and line breaks are left as they are, so the text keeps its shape and length. ROT47 works on the 94 visible characters from ! to ~, which includes digits and punctuation, but it also leaves spaces and other alphabets untouched. Because every method is its own reverse, there is no separate decode button: paste the encoded text, keep the same method, and the original appears. The conversion runs instantly in your browser, even for long texts.
Private, Free and Instant
The tool is free and works on text of any length up to 5 MB. There is no sign-up, no limit and no watermark. The conversion runs entirely inside your browser, so your text is never uploaded, stored or shared, which makes the tool safe for emails, contracts, student work and anything confidential. It works the same on Windows, Mac, Linux, Chromebooks, iPhone and Android, and the result updates instantly as you type or paste. You can also open a text file from your device and download the converted text as a new .txt file.
ROT13: A Simple Cipher With a Long History
ROT13 replaces every letter with the one 13 places further in the alphabet. A becomes N, B becomes O and so on. Because the alphabet has 26 letters, applying it twice returns the original text.
Where it is used
Online forums use ROT13 to hide spoilers and puzzle answers, so you must choose to read them. It offers no real security; anyone can decode it.
Notes
Only letters change. Digits, punctuation and spaces stay. For real protection, use proper encryption instead of a cipher.
Frequently Asked Questions
Questions about ROT13