Home / ROT13 decoder and encoder

ROT13 decoder and encoder

Updated December 3, 2026

Type in either box. ROT13 is its own inverse, so the same step encodes and decodes: what you type on one side appears converted on the other.

Encoding, not encryption. These tools convert between ways of writing the same information. They are not secure encryption, so do not rely on them to protect anything private. Everything runs in your browser, and what you type is not sent anywhere.

What ROT13 is

ROT13 replaces each letter with the letter 13 places further along the Latin alphabet, wrapping back to the beginning as necessary. Because there are 26 letters and 26 = 2 × 13, ROT13 is its own inverse: applying it twice restores the original text. Only A to Z are changed; case is kept and other characters are left alone.

Example

ROT13 examples
TextAfter ROT13
Hello, World!Uryyb, Jbeyq!
ABJNMNOWAZ
Uryyb, Jbeyq!Hello, World!

In the second row, A → N, B → O, J → W, N → A and M → Z, using 13 places and wrapping at the end of the alphabet. The third row is the first run backwards.

Not for secrets

ROT13 is not intended to be used where secrecy is of any concern: a constant shift means there is effectively no key, and decryption needs no more knowledge than the fact that ROT13 is in use. For a different shift use the Caesar cipher tool.

Questions

Why is ROT13 the same to encode and decode?

Because 13 is half of 26. Shifting by 13 twice moves every letter 26 places, which is all the way round.

Does ROT13 change numbers?

No. Only the letters A to Z change.

Is ROT13 encryption?

No. It hides text from a casual glance and nothing more, as it has no key.