~/toolsrot13

ROT13 Decoder & Encoder

Apply ROT13 or any Caesar shift to text instantly - decoding and encoding are the same click.

rot13 Local · no upload
  1. Type or paste your text into the box and read the transformed result instantly.
  2. Leave the shift at its default of 13 for classic ROT13, where encoding and decoding are the same step.
  3. Drag the shift control to any value from 0 to 25 to try other Caesar shifts.
  4. 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.

Frequently asked questions

What is ROT13?
ROT13 is a Caesar cipher that shifts every letter 13 places in the alphabet, so A becomes N and N becomes A. Because 13 is half of 26, applying ROT13 twice returns the original text - encoding and decoding are identical.
Is ROT13 encryption?
No. It has no key and is trivially reversible, so it offers no security. It was historically used only to hide spoilers or offensive jokes, and it survives today as a beginner cipher and CTF warm-up.
What is a Caesar cipher?
A cipher that shifts each letter by a fixed number of positions. ROT13 is the shift-13 case. If a message looks like scrambled letters, try every shift from 1 to 25 - this tool lets you slide the shift value to brute-force it.
Does ROT13 change numbers or symbols?
No. Standard ROT13 only rotates the 26 letters and leaves digits, punctuation, and spaces untouched. Some variants (ROT47) also rotate printable symbols.
Is anything sent to a server?
No. The shift is computed in your browser; your text stays on your device.

Practice this for real

Practice on real targets

Turn these tools into skills with hands-on labs and guided courses on HackerDNA.

Create a free account
15,000+ Hackers 100+ Labs & Courses Free
Start Hacking Free