TFT

ROT13 Cipher Encoder and Decoder

Encode or decode text using the ROT13 cipher, a simple letter substitution cipher. This tool is often used for obscuring spoilers, puzzles, or light obfuscation.

ROT13 is a simple letter substitution cipher that replaces each letter with the letter 13 positions after it in the alphabet. ROT13 is its own inverse - applying it twice returns the original text.

How the ROT13 Cipher Tool Works

ROT13 (Rotate by 13) is a simple substitution cipher that replaces each letter with the letter 13 positions away in the alphabet. A becomes N, B becomes O, and so on. After M, it wraps around: N becomes A, O becomes B, etc.

The magic of ROT13 is that it's its own inverse. Apply ROT13 twice and you get back the original text. This means the same function both encodes and decodes. There's no separate "decode" mode needed.

Only letters are transformed. Numbers, punctuation, spaces, and symbols pass through unchanged. Uppercase letters stay uppercase, lowercase stay lowercase. "Hello, World!" becomes "Uryyb, Jbeyq!"

Just type or paste your text in the input field. The ROT13 transformation happens instantly as you type. The output appears in real-time in the result section. Copy either the input or output with one click.

When You'd Actually Use This

Hiding spoilers in forums

Online communities use ROT13 to hide plot spoilers, punchlines, or answers. Readers decode only if they want to see the hidden content. Common on Usenet and Reddit.

Solving puzzle games and geocaching

Puzzle creators hide clues using ROT13. Geocachers encode hint sections. Decode to reveal the hint without making it obvious to casual readers or spoiler-seekers.

Creating simple word puzzles

Teachers and puzzle makers use ROT13 for word games. Students decode messages to find answers. It's simple enough for kids but adds a fun challenge element.

Obscuring email addresses

Post ROT13-encoded email addresses online to avoid spam bots. Humans can decode to contact you. Basic obfuscation that stops casual harvesting scripts.

Learning about cryptography basics

ROT13 is a perfect introduction to substitution ciphers. Students learn about encryption, decryption, and why simple ciphers aren't secure. Great for CS education.

Creating easter eggs in software

Developers hide secret messages in code using ROT13. Users who discover and decode them get a fun surprise. Classic programmer humor and hidden features.

What to Know Before Using

ROT13 provides zero security.Anyone who knows about ROT13 can decode instantly. It's for obfuscation, not protection. Never use to hide sensitive information. It's equivalent to writing backwards.

Only affects letters A-Z and a-z.Numbers (0-9), punctuation, spaces, and special characters are unchanged. "Hello 123!" becomes "Uryyb 123!" The numbers and exclamation mark stay the same.

Works the same in all languages using Latin alphabet.ROT13 only transforms A-Z. Accented characters (é, ñ, ü) and non-Latin scripts (Cyrillic, Greek, Chinese) pass through unchanged. It's English-centric.

ROT13 is a special case of Caesar cipher.Caesar cipher shifts by any amount. ROT13 shifts by exactly 13. Since the alphabet has 26 letters, shifting by 13 twice returns to the start (13 + 13 = 26 = 0).

Pro tip: ROT13 is so common that many systems have it built-in. Linux has the "tr" command: echo "hello" | tr 'A-Za-z' 'N-ZA-Mn-za-m'. Some email clients and forum software auto-detect and offer to decode ROT13.

Common Questions

Why 13 specifically?

The Latin alphabet has 26 letters. Half of 26 is 13. This makes ROT13 self-inverse: encode twice = decode. Other shift amounts would need separate encode/decode functions.

Is ROT13 the same as Caesar cipher?

ROT13 is a specific Caesar cipher with shift=13. Caesar cipher can use any shift (ROT1, ROT5, etc.). Julius Caesar reportedly used ROT3 for military messages.

Can ROT13 be cracked?

There's nothing to crack. ROT13 has no key. Everyone uses the same transformation. It's not encryption, it's a fixed substitution. Just apply ROT13 to decode.

What does "ur" mean in ROT13?

"ur" decodes to "he". Common ROT13 abbreviations: "ur" = he, "gur" = the, "naq" = and. Internet slang sometimes uses ROT13 for shorthand that looks like gibberish.

Does ROT13 work on non-English text?

Only for letters A-Z. Spanish, French, German text with accented letters will have those accents unchanged. Non-Latin scripts (Arabic, Chinese) are completely unaffected.

Where did ROT13 originate?

ROT13 became popular on Usenet in the 1980s for hiding spoilers and offensive content. It was built into early newsreaders. The exact origin is unclear but predates widespread internet use.

Can I use ROT13 for passwords?

Absolutely not. ROT13 is trivially reversible. Any attacker would decode instantly. Use proper password hashing (bcrypt, Argon2) for password storage. ROT13 is for fun, not security.