ROT-13 Encoder/Decoder

Apply the ROT-13 Caesar cipher substitution to any text

Ad placeholder (leaderboard)

ROT-13 (“rotate by 13 places”) is a simple letter-substitution cipher that shifts each letter 13 positions forward in the alphabet. It is most often used to hide spoilers, puzzle solutions, or punchlines so they are not readable at a glance — never for genuine security.

How it works

Each letter is mapped to the letter 13 positions later, wrapping around the end of the alphabet:

A→N  B→O  C→P … M→Z  N→A … Z→M

Formally, for a letter with zero-based position p in its case, the output position is (p + 13) mod 26. Because 13 + 13 = 26, applying the shift twice returns the original letter — so ROT-13 is its own inverse and one operation both encodes and decodes. Non-letters are left untouched.

Example and tips

The word Hello becomes Uryyb, and running Uryyb through the tool again restores Hello. Case is preserved: uppercase stays uppercase, lowercase stays lowercase. ROT-13 is purely an obfuscation trick — if you need real confidentiality, use a proper cipher or encryption tool instead.

Ad placeholder (rectangle)