ROT13 Cipher Tool

The Classic Spoiler Hider

🔄 REVERSIBLE

About ROT13

ROT13 ("rotate by 13 places") is a simple letter substitution cipher that replaces each letter with the letter 13 positions after it in the alphabet. Because there are 26 letters in the English alphabet, ROT13 is its own inverse—applying ROT13 twice returns the original text.

Perfect For:

  • Spoilers: Hide movie endings, book twists, or game solutions
  • Forums: Obscure answers or hints in online discussions
  • Puzzles: Create simple encoded challenges
  • Teaching: Demonstrate basic substitution ciphers
💡 ROT13 works both ways! Encoding and decoding use the same operation.
Characters: 0
Original: ABCDEFGHIJKLMNOPQRSTUVWXYZ
ROT13: NOPQRSTUVWXYZABCDEFGHIJKLM
Notice: A↔N, B↔O, C↔P... Each letter swaps with its partner 13 positions away

Examples

Basic Example

Input: HELLO WORLD
ROT13: URYYB JBEYQ

Movie Spoiler

Input: THE BUTLER DID IT
ROT13: GUR OHGYRE QVQ VG

Puzzle Answer

Input: THE ANSWER IS MATRIX
ROT13: GUR NAFJRE VF ZNGEVK

Understanding ROT13

What Makes ROT13 Special?

ROT13 is unique among Caesar ciphers because it's self-reciprocal. This means applying ROT13 to text twice returns the original text. This property makes it perfect for casual obfuscation where the same operation works for both encoding and decoding.

The Mathematics

For any letter at position n (where A=0, B=1, etc.), ROT13 calculates:

new_position = (n + 13) mod 26

Since 13 + 13 = 26, and 26 mod 26 = 0, applying ROT13 twice returns to the starting position.

History and Usage

ROT13 originated on Usenet in the early 1980s as a means of hiding potentially offensive content and spoilers. It's still widely used today on forums, Reddit, and discussion boards for the same purposes.

Security Note

⚠️ Not for Real Security

ROT13 is NOT encryption—it's simple obfuscation. Anyone can decode ROT13 instantly. Never use it to protect sensitive information. It's designed for casual hiding of content, not security.

ROT13 vs Caesar Cipher

ROT13 is actually a specific type of Caesar cipher with a fixed shift of 13. The main differences:

Common Uses Today

Frequently Asked Questions

Is ROT13 the same as ROT-13?

Yes! Both spellings refer to the same cipher. "ROT13" (without hyphen) is more common, but "ROT-13" is also correct. Both mean "rotate by 13 places."

Can ROT13 encode numbers and symbols?

Standard ROT13 only transforms letters (A-Z, a-z). Numbers, punctuation, spaces, and special characters remain unchanged. Some variations exist that transform numbers, but they're not standard ROT13.

Why is ROT13 still used if it's not secure?

ROT13 isn't meant for security—it's for courtesy obfuscation. It hides spoilers and answers from accidental viewing while still being easily decoded by anyone who wants to read it. This balance is perfect for forums and discussions.

How do I decode ROT13 without a tool?

Since ROT13 is self-reciprocal, just apply ROT13 again! You can also manually count 13 letters forward (or backward) in the alphabet. Or remember common pairs: A↔N, B↔O, C↔P, etc.

Does case matter in ROT13?

Yes! ROT13 preserves case. Uppercase letters stay uppercase (A→N), and lowercase letters stay lowercase (a→n). This helps maintain readability of the encoded text.

Can this tool work offline?

Yes! All processing happens in your browser using JavaScript. Once the page loads, you can use it without an internet connection. Your text never leaves your device.