ROT13 Decoder and Encoder
Encode and decode ROT13 text instantly. The same step does both. Also ROT47 for all symbols, ROT5 for digits and ROT18. Free, runs in your browser.
How it works
ROT13 replaces every letter with the letter 13 places further along the alphabet and wraps around after Z: A becomes N, B becomes O and N becomes A. The English alphabet has 26 letters, so doing it twice gives back the original. That is why there is no separate decode step: paste plain text to hide it, or paste ROT13 text to read it. Upper and lower case are kept, and digits, spaces and punctuation stay as they are. ROT5 does the same with digits, adding 5 and wrapping after 9. ROT18 combines ROT13 for letters and ROT5 for digits. ROT47 rotates all 94 printable ASCII characters from ! to ~ by 47 places, so letters, digits and symbols all change, while spaces and characters outside ASCII stay as they are.
Example: Hello, World! becomes Uryyb, Jbeyq! in ROT13. In ROT47 the same text becomes w6==@[ (@C=5P.
ROT13 table
| Letter | ROT13 |
|---|---|
| A | N |
| B | O |
| C | P |
| D | Q |
| E | R |
| F | S |
| G | T |
| H | U |
| I | V |
| J | W |
| K | X |
| L | Y |
| M | Z |
| N | A |
| O | B |
| P | C |
| Q | D |
| R | E |
| S | F |
| T | G |
| U | H |
| V | I |
| W | J |
| X | K |
| Y | L |
| Z | M |
ROT variants compared
The same text, Hello, World 2026!, in each variant:
| Variant | Result |
|---|---|
| ROT13 | Uryyb, Jbeyq 2026! |
| ROT47 | w6==@[ (@C=5 a_aeP |
| ROT5 | Hello, World 7571! |
| ROT18 | Uryyb, Jbeyq 7571! |
Frequently asked questions
How do I decode ROT13?
Paste the ROT13 text into the box. ROT13 reverses itself, so the readable text appears right away. The same button encodes and decodes.
What is ROT13 used for?
It hides spoilers, puzzle answers and punchlines in forums and newsgroups, so readers only see them on purpose. It is not encryption: anyone can reverse it.
Is ROT13 a Caesar cipher?
Yes. ROT13 is the Caesar cipher with a shift of 13. Use the Caesar cipher page for any other shift.
What is ROT47?
ROT47 rotates every printable ASCII character, not only letters, by 47 places in the range from ! to ~. Numbers and symbols change too, which hides the text better than ROT13. It also reverses itself.
What are ROT5 and ROT18?
ROT5 shifts only the digits 0 to 9 by 5 places. ROT18 applies ROT13 to letters and ROT5 to digits at the same time.
Why does applying ROT13 twice give the original?
Moving 13 places and then 13 more is 26 places, a full trip around the alphabet, so every letter ends where it started.
Is my text sent to a server?
No. Everything runs in your browser and the text you type is not sent anywhere.
More text tools
Cipher Decoder and Identifier
Morse Code Translator
Binary Translator
ASCII Converter
Hex to Text Converter
Leet Speak Translator
Caesar Cipher Encoder and Decoder
Vigenere Cipher Encoder and Decoder
Atbash Cipher Encoder and Decoder
Word Counter and Character Counter
Playfair Cipher Encoder and Decoder
Rail Fence Cipher Encoder and Decoder
Braille Translator
Pigpen Cipher Translator
Letter to Number Converter (A1Z26)
Bacon Cipher Encoder and Decoder
Tap Code Translator
Polybius Square Cipher
ROT13 and ROT47 hide text from a casual glance. They are not secure encryption.