ROT13 Encoder / Decoder

Type text to encode or decode with ROT13 — it updates live as you type.

Tip: ROT13 is symmetric — encoding and decoding use the exact same operation. Paste encoded ROT13 text here to decode it instantly.

What is ROT13?

ROT13 (Rotate 13) is a simple letter substitution cipher that replaces each letter with the one 13 positions ahead of it in the alphabet. Because the English alphabet has 26 letters, applying ROT13 twice returns the original text — encoding and decoding are the same operation. For example: A→N, B→O, C→P, ..., M→Z, N→A, O→B, and so on. Numbers, spaces, and special characters are left unchanged.

History and uses

ROT13 originated in the early days of Usenet (1980s–1990s) as a way to obscure text that some readers might not want to see unexpectedly — such as punchlines to jokes, spoilers, or offensive content. It provided "plausible deniability" without any real cryptographic security. Today it's used as a simple puzzle cipher, in programming exercises, and in some internet communities as a light-touch way to hide text that readers should opt into seeing.

Is ROT13 secure?

No. ROT13 provides absolutely no security. It is not encryption in any meaningful sense — anyone who knows about ROT13 (which is widely documented) can instantly decode it. It's better thought of as a simple text scrambler for casual use, not a way to protect sensitive information. For actual security, use proper encryption algorithms. For simple encoding without security requirements, ROT13 is perfectly fine.

ROT13 vs Caesar cipher

ROT13 is actually a special case of the Caesar cipher — specifically the Caesar cipher with a shift of 13. What makes ROT13 unique among Caesar shifts is that it is self-inverse: since 13 + 13 = 26 (the size of the alphabet), encoding twice gives the original text. No other shift value has this property except shifts of 0 and 13 for a 26-letter alphabet. The Caesar cipher with other shift values requires a different shift to decode.