ROT13 Decoder & Encoder
Apply ROT13 or any Caesar shift to text instantly - decoding and encoding are the same click.
- Type or paste your text into the box and read the transformed result instantly.
- Leave the shift at its default of 13 for classic ROT13, where encoding and decoding are the same step.
- Drag the shift control to any value from 0 to 25 to try other Caesar shifts.
- Copy the output with one click; letters move, while digits, spaces and punctuation stay put.
ROT13 is the friendliest cipher you will ever meet. It takes each letter and rotates it 13 places
forward through the alphabet, so A becomes N, B becomes
O, and so on, wrapping around from Z back to A. Because the
alphabet has 26 letters and 13 is exactly half of that, applying ROT13 a second time lands you right back
where you started. That self-inverse property is its party trick: the same operation both scrambles and
unscrambles, so there is no separate decode button to press.
Caesar ciphers in general
ROT13 is a single member of a larger family called Caesar ciphers, named after the shift-by-three scheme
Julius Caesar reportedly used for his correspondence. A Caesar cipher simply moves every letter along the
alphabet by a fixed number of positions, and that number is the entire secret. A shift of 1 turns
A into B; a shift of 25 turns it into Z. This tool lets you dial
the shift anywhere from 0 to 25 so you can encode with one value and, if you know it, decode by applying
the complementary shift back the other way.
Why it is not encryption
It is important to be blunt here: a Caesar cipher is not encryption in any modern sense. There is no key worth the name, because there are only 25 useful shifts to try, and the letter frequencies of the original language leak straight through. Anyone can crack it by hand in under a minute. Brute-forcing all 25 shifts is trivial - you generate every rotation and simply eye the list for the one that turns into readable English. Real encryption relies on a secret key large enough that guessing it is infeasible; ROT13 offers obscurity, not secrecy, and should never be trusted to protect anything.
Where you will actually see it
Despite being useless for security, ROT13 is genuinely useful for lightweight obfuscation. Forums and message boards have long used it to hide spoilers, puzzle answers, and joke punchlines so that a reader has to make a deliberate choice to reveal them. In capture-the-flag competitions it is a classic warm-up: an early challenge often hides a flag behind ROT13 or another small shift just to check you recognise the pattern. A cousin called ROT47 extends the same idea across a wider range of printable ASCII characters, rotating symbols and digits as well as letters, so it can scramble things ROT13 leaves alone.
A quick worked example
Start with the ciphertext Uryyb. Rotate each letter 13 places - U to
H, r to e, y to l, y to
l, b to o - and you read Hello. Apply ROT13 to
Hello again and you are back to Uryyb, which shows the round trip in action.
Once the pattern clicks, spotting a suspiciously alphabet-shaped string and trying a shift becomes an
instinct, and that instinct is exactly what the warm-up challenges are training.
Questions fréquentes
What is ROT13?
Is ROT13 encryption?
What is a Caesar cipher?
Does ROT13 change numbers or symbols?
Is anything sent to a server?
Passez à la pratique
Entraînez-vous sur de vraies cibles
Transformez ces outils en compétences avec des labs pratiques et des cours guidés sur HackerDNA.
Créer un compte gratuit