ROT13 Encoder and Decoder
About this tool
About ROT13 Encoder
ROT13 replaces each letter with the one 13 places later in the alphabet, so A becomes N and N becomes A again. Because the alphabet has 26 letters, the same operation both encodes and decodes, which is why forums, puzzle sites and newsgroups have used it for decades to hide spoilers and answers in plain sight. Type or paste text and the rotated version appears as you type, with capital letters, punctuation, numbers and non-Latin characters handled correctly. The tool also covers the rest of the family: ROT5 for digits, ROT18 for letters and digits together, and ROT47, which rotates every printable ASCII symbol so the output looks like random characters. Choose Caesar for any shift from 1 to 25, with an encode or decode direction and an option to shift digits, or tick Try all 25 shifts to see every possibility with the most English-looking one highlighted. All of it runs in your browser.
Built and maintained by Abhi JainUpdated
How to Use ROT13
- 1
Paste your text
Type or paste text into the left pane, or click Sample to try it.
- 2
Choose the cipher
Keep ROT13, or pick Caesar, ROT18, ROT47 or ROT5. For Caesar, set the Shift and Direction.
- 3
Copy the result
Copy or download the output. For ROT13, ROT18 and ROT47, running it again restores the original.
ROT13 Encoder: questions and answers
How do I decode ROT13?
Apply ROT13 again. Shifting by 13 twice moves each letter 26 places, back to where it started, so the encoder and decoder are the same operation.
Is ROT13 secure?
No. ROT13 has no key and anyone can reverse it instantly. It is meant to hide spoilers or puzzle answers from a casual glance, not to protect information. Use real encryption, such as Encrypt Text, for secrets.
What is the difference between ROT13 and ROT47?
ROT13 only rotates the 26 letters. ROT47 rotates all 94 printable ASCII characters from ! to ~ by 47 places, so digits and punctuation change too. Both are their own inverse.
What is ROT13 for numbers?
Digits are not affected by ROT13. ROT5 rotates them by 5 (0 becomes 5, 7 becomes 2), and ROT18 combines ROT13 for letters with ROT5 for digits.
Is ROT13 the same as a Caesar cipher?
ROT13 is a Caesar cipher with a shift of 13. Other shifts need a separate decode step, which is why the Caesar Cipher mode has an Encode and Decode direction.
Ready-made ROT13 Encoder presets
Related Tools
- Base32 EncoderEncode and decode Base32 (RFC 4648), Base32hex and Crockford Base32, for text or raw bytes.
- Morse Code TranslatorTranslate text to Morse code and back, play it as sound with adjustable speed, and download a WAV.
- Base64 EncoderEncode and decode Base64 for text and files, with URL-safe, MIME and data URL options.
- Encrypt TextTurn a message into password-protected AES-256 ciphertext you can paste anywhere.