🇩🇪 Deutsch
← Back to Overview

ROT13 Encryption

What is ROT13 (Rotate by 13)?

ROT13 is a simple letter substitution cipher that shifts each letter by 13 positions in the alphabet. Since the Latin alphabet has 26 letters, ROT13 is its own inverse: applying it twice returns the original text. ROT13 is traditionally used to "hide" spoilers, puzzle solutions, or offensive content – not for real security!

How Does ROT13 Work?

Alphabet Mapping:
A↔N, B↔O, C↔P, D↔Q, E↔R, F↔S, G↔T
H↔U, I↔V, J↔W, K↔X, L↔Y, M↔Z

Examples:
"HELLO" → "URYYB"
"SECRET" → "FRPERG"
"Why did the chicken?" → "Jul qvq gur puvpxra?"

Numbers and special characters remain unchanged!

ROT13 in History

Frequently Asked Questions (FAQ)

Is ROT13 secure?

Absolutely not! ROT13 provides no real security. It can be "cracked" in seconds (just apply ROT13 again). It's only meant to protect text from accidental reading – like a spoiler warning.

Why exactly 13 and not another number?

Since the alphabet has 26 letters, 13 is half. This makes ROT13 self-inverse: encoding and decoding are identical. Other shifts (ROT5, ROT7) would require different operations for encoding and decoding.

What happens to umlauts and special characters?

Classic ROT13 only processes A-Z and a-z. Accented letters, numbers, and special characters remain unchanged. Extended variants exist (ROT47 for ASCII 33-126), but they're less common.

Is ROT13 available in programming languages?

Unix/Linux: tr 'A-Za-z' 'N-ZA-Mn-za-m' | Python: codecs.encode(text, 'rot_13') | JavaScript: text.replace(/[a-zA-Z]/g, c => String.fromCharCode(c.charCodeAt(0) + (c.toLowerCase() < 'n' ? 13 : -13)))

💡 Fun Fact: The word "NOWHERE" becomes "ABJURER" and "FUSION" becomes "SHFVBA". There are even ROT13 palindromes like "TANG" ↔ "GNAT" or "IRK" ↔ "VEX"!

Was sagt der BMI aus?

Der Body Mass Index ist eine Orientierungshilfe. Er setzt dein Gewicht ins Verhltnis zu deiner Krpergre.