ROT13 Converter

Encode and decode ROT13 — the letter-rotating cipher.

Ad placeholder (leaderboard)
Enjoying the tools? Go Pro for £4.99 (one-time) and remove all ads — forever, on this device. Remove ads — £4.99

ROT13 (“rotate by 13”) is a simple letter-substitution cipher that replaces every letter with the one 13 places later in the alphabet. Because the alphabet has 26 letters, applying ROT13 twice returns the original text — so a single tool both encodes and decodes. It is widely used to hide spoilers and puzzle answers, not for real security.

How it works

For each letter, ROT13 shifts it 13 positions forward, wrapping around the end of the alphabet. Since 13 is exactly half of 26, shifting forward 13 and shifting back 13 land on the same letter — that is why the operation is its own inverse. The tool preserves case (uppercase stays uppercase, lowercase stays lowercase) and leaves digits, spaces, and punctuation untouched, rotating only the letters A–Z and a–z.

Example

Encoding Hello, World!:

Uryyb, Jbeyq!

Run that result through ROT13 again and you get Hello, World! back. Note the comma, space, and exclamation mark are unchanged.

OriginalROT13
AN
NA
ZM
Gera ToolsTren Gbbyf

Everything runs in your browser, so nothing you type is uploaded.

Ad placeholder (rectangle)