Blog
Image Tools
Crop Image
Resize Image
Rotate & Flip
Compress Image
Photo Filters
Meme Generator
GIF Maker
Collage Maker
Watermark Image
Blur Image
Convert
JPG to PNG
PNG to JPG
HEIC to JPG
DNG to JPG
Image Converter
PDF to JPG
JPG to PDF
Merge PDF
Compress PDF
MP4 to MP3
Video to GIF
MOV to MP4
MP3 Converter
Video & Audio
Trim Video
Crop Video
Remove Audio
Text to Speech
Audio Cutter
MP3 Compressor
Design & Editor
Resume Builder
Design Editor
Add Text to Photo
Social Media Resizer
QR Code Generator
Signature Generator
More Tools
Word Counter
Password Generator
Random Picker
Dice Roller
Spinner Wheel
Favicon Generator
Barcode Generator
Browse All Tools

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.

100% Free
No Sign-up
Encode & Decode
ROT47 Too
Private · Nothing Saved Online
ROT13 Encoder
Your Text
Input Characters—
Output Characters—
Lines In → Out—
Input Words—
Type or paste in the input box, or open a file. The result updates as you type.
Text to encode or decodeType, paste or drop a file
Result
Input—
Result—
Status—
Settings forYour text
Method
ROT13 changes letters only. ROT5 changes digits. ROT18 does both. ROT47 also changes punctuation and symbols.
File Name

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. 1

    Paste your text

    Plain text or encoded text.

  2. 2

    Pick the method

    ROT13 is the usual one.

  3. 3

    Read the result

    It appears straight away.

  4. 4

    Copy it

    Or press Use as input to switch back.

What You Get

Both Ways
Encode = decode
Four Methods
ROT13, 5, 18, 47
Instant
As you type
Layout Kept
Spaces and lines stay
Private
Nothing is uploaded
Any Device
Phone or computer

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

How do I decode ROT13?

Paste the encoded text and choose ROT13. The same step that encodes also decodes.

Is ROT13 secure?

No. It is a simple letter swap that anyone can reverse. Use it only to hide spoilers and answers.

What is ROT47?

A version that also scrambles digits, punctuation and symbols.

Are numbers changed?

Not with ROT13. Use ROT5 or ROT18 to change digits too.

Can I convert a whole file?

Yes. Press Open File to load a .txt, .csv, .md or similar text file up to 5 MB, then copy or download the result.

Is my text stored or sent anywhere?

No. Everything happens in your browser on your own device. Your text is never uploaded, saved or seen by anyone.