What is ROT13?
ROT13 is a reversible letter substitution cipher that shifts each letter 13 positions forward in the alphabet, making decryption identical to encryption. This free, browser-based ROT13 Encoder/Decoder lets you instantly convert text to and from ROT13 cipher without uploading anything—everything runs locally on your device for complete privacy. Perfect for hiding spoilers, puzzle answers, sensitive jokes, or learning encryption basics, ROT13 offers simplicity over security and works on any device with a web browser.
How ROT13 works
ROT13 replaces each letter with the letter exactly 13 positions ahead in the alphabet, wrapping around when necessary. Since the alphabet has 26 letters, applying ROT13 twice returns the original text—making encoding and decoding the same operation.
The Mapping:
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
Worked Example:
Input: "Hello World"
Apply ROT13 to each letter:
- H (position 8) → U (position 21)
- e (position 5) → r (position 18)
- l (position 12) → y (position 25)
- l (position 12) → y (position 25)
- o (position 15) → b (position 2)
- W (position 23) → J (position 10)
- o (position 15) → b (position 2)
- r (position 18) → e (position 5)
- l (position 12) → y (position 25)
- d (position 4) → q (position 17)
Output: "Uryyb Jbeyq"
Numbers and special characters remain unchanged. Apply ROT13 again to "Uryyb Jbeyq" and you get "Hello World" back.
How to use
- Enter or paste your text in the input box.
- The ROT13-encoded result appears instantly in the output.
- Click Copy to use the encoded value.
Common uses
- Hide spoilers and puzzle answers in online forums and discussions without spoiling others
- Obscure mildly sensitive jokes and content from casual viewing in comment sections
- Teach encryption fundamentals and understand how substitution ciphers work
- Decode ROT13 messages received from friends or online communities using the same tool
- Preserve text formatting while converting between encoded and readable formats instantly
- Process unlimited text with no length restrictions or account requirements