ROT13 Encoder/Decoder
Encode or decode ROT13 text as you type. Letters shift 13 places, so the same step hides and reveals a message. Case, digits and punctuation stay put.
Still loading. If the tool doesn’t appear, reload this page.
About this tool
ROT13 Encoder/Decoder
Encodes or decodes text using the ROT13 substitution cipher, which shifts each letter by 13 positions in the alphabet.
ROT13 replaces every letter with the one 13 places further along the alphabet, so A becomes N, N becomes A, and 'Hello World' becomes 'Uryyb Jbeyq'. This tool applies that substitution live as you type and copies the result in one click, keeping case and leaving digits, spaces and punctuation untouched. Because 13 is exactly half of 26, encoding and decoding are the same operation — run any text through twice and you get the original back.
How to use ROT13 Encoder/Decoder
Type or paste your message into the Input Text box (placeholder Enter text to encode...)
Press Encode or Encode Text and the Result box shows the ROT13 version, with every letter moved 13 places, so Hello becomes Uryyb while numbers and symbols stay unchanged
To read a ROT13 message, press Decode — the box relabels to Text to Decode — then paste the scrambled text and press Decode Text; applying ROT13 twice returns the original
Click the 📋 Copy to clipboard icon in the corner of the Result box to copy the output, or press Clear to empty both boxes
Why use ROT13 Encoder/Decoder
Same button both ways
One transform handles encoding and decoding, so you never have to work out which direction you are going.
Only letters change
Numbers, punctuation, emoji and line breaks pass through unaltered, so code snippets and formatting survive the round trip.
Case is preserved
Uppercase stays uppercase and lowercase stays lowercase, so names and sentence casing read normally after decoding.
Common use cases
- You want to post a puzzle answer or film spoiler in a forum thread without it being readable to anyone scrolling past.
- A CTF or crossword clue looks like garbled English and you want to check whether it is plain ROT13 before trying harder ciphers.
- You are writing a quiz or escape-room handout and need a simple, self-inverse cipher that players can crack with a paper alphabet wheel.
Frequently asked questions
What does ROT13 do?
It rotates each letter 13 positions through the 26-letter alphabet: A to N, B to O, and so on, wrapping Z back around to M. Anything that is not an A-Z or a-z letter is left exactly as it was.
Link to answerHow do I decode ROT13?
Apply ROT13 again. Since 13 + 13 = 26, a second pass returns every letter to where it started, which is why this tool needs no separate decode algorithm.
Link to answerIs ROT13 secure?
No. ROT13 is a fixed substitution with no key, so anyone can reverse it instantly and it offers zero protection for passwords, personal data or anything confidential. It exists to hide text from casual glances — spoilers, punchlines, puzzle answers — not from anyone actually looking.
Link to answerWhat is the difference between ROT13 and a Caesar cipher?
ROT13 is a Caesar cipher with the shift fixed at 13. A general Caesar cipher can use any shift from 1 to 25, and only the shift of 13 has the property that encryption and decryption are the identical operation.
Link to answer