> rot13 | rot47 | caesar <
// ROT13/ROT47 - Simple substitution ciphers for text obfuscation
Easy Obfuscation
Quick text scrambling for spoilers, puzzles, or simple privacy.
Self-Inverse
Same operation encodes and decodes - apply twice to get original text.
Multiple Modes
ROT13 for letters, ROT47 for all printable ASCII, or custom shift values.
>> technical info
How ROT13/ROT47 Works:
ROT13 replaces each letter with the letter 13 positions after it in the alphabet. ROT47 does the same for all printable ASCII characters (33-126). Custom Caesar cipher allows any shift value for letters.
Examples:
ROT13: Hello → Uryyb ROT47: Hello! → w6==@P
Why Use ROT13/ROT47:
- >Hide spoilers in forums
- >Simple text obfuscation
- >Puzzles and games
- >Basic privacy protection
- >Educational cryptography
>> frequently asked questions
What is 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. It's self-inverse, meaning applying it twice returns the original text.
What's the difference between ROT13 and ROT47?
ROT13 only rotates letters (A-Z, a-z), leaving numbers and symbols unchanged. ROT47 rotates all printable ASCII characters (! through ~), including numbers, letters, and symbols.
Is ROT13 secure encryption?
No, ROT13 is not secure encryption. It's a simple substitution cipher that's trivial to break. It's meant for light obfuscation like hiding spoilers, not for security.
What is a Caesar cipher?
A Caesar cipher shifts letters by a fixed number of positions in the alphabet. ROT13 is a special case of Caesar cipher with a shift of 13. Julius Caesar allegedly used a shift of 3.
ROT13 Entschlüsseln / Verschlüsseln — wie funktioniert die Caesar-Chiffre?
ROT13 (ROT-13, "Rotation um 13 Stellen") ist eine Spezialform der Caesar-Chiffre. Jeder Buchstabe wird durch den Buchstaben ersetzt, der im Alphabet 13 Positionen weiter steht:
• A ↔ N, B ↔ O, …, M ↔ Z.
• Zweimal angewendet = der Originaltext zurück (deshalb selbstinvers).
Umlaute (Ä, Ö, Ü, ß) bleiben unverändert — das ROT13-Verfahren arbeitet nur auf ASCII A-Z. Für deutschen Text mit Umlauten empfiehlt sich ROT47 (rotiert alle druckbaren ASCII-Zeichen, 33-126), welches Zahlen und Symbole einschließt.
ROT13 entschlüsseln: Einfach ROT13 erneut anwenden — das Werkzeug auf dieser Seite ist selbstinvers. Textfeld füllen → [ROT13] klicken → fertig.
Sicherheit: Keine. ROT13 war nie als Verschlüsselung gedacht, sondern als Spoiler-Schutz auf Usenet (Newsgroups) in den 1980ern. Moderne Angreifer knacken es in Sekundenbruchteilen. Für echte Verschlüsselung nutze AES-256, ChaCha20 oder GPG.
ROT13 暗号(ROT13 暗号化 / ROT13 復号)— 日本語での使いどころ
ROT13(ロット・サーティーン)は、シーザー暗号の一種で、アルファベットの各文字を 13 個ずらしたものに置き換える単純な換字式暗号。
暗号化と復号が同じ操作(自己逆操作):13 + 13 = 26 = 一周してちょうど元の位置に戻るため、ROT13(ROT13(x)) = x が常に成立する。
日本語テキストでの扱い:
• ひらがな・カタカナ・漢字は変換されない。ASCII アルファベットのみ対象。
• 英数字混合文(Hello 世界)なら Uryyb 世界 のように英字部分だけ回転。
• 日本語のネタバレ隠しには、ROT13 ではなく Base64 や 反転文字列 のほうが実用的。
主な用途(世界的に):
• ネタバレ隠し(Reddit、Slashdot、2ch 的な英語掲示板)
• パズル・CTF の入門問題
• メールアドレス難読化(スパムボット対策として歴史的に使われた、現代は効果薄)
• Unix の tr A-Za-z N-ZA-Mn-za-m — ワンライナーで ROT13 できる古典的テクニック。
重要: ROT13 は 暗号ではなく、あくまで "読まれないようにする難読化"。機密情報には絶対に使ってはいけない。
Caesar cipher with different shift values — how do I choose?
The original Caesar cipher is parameterized by a shift value (0-25). Common historically significant shifts:
• Shift 1 (ROT1): The "minimal" Caesar. Trivial to crack — just look for English bigrams.
• Shift 3: The cipher allegedly used by Julius Caesar himself for military correspondence.
• Shift 13 (ROT13): Self-inverse — encoder and decoder are the same function. Standard for spoiler hiding.
• Shift 25 (ROT25): Equivalent to shift -1; encodes A as Z, B as A.
ROT47 generalizes ROT13 to printable ASCII (33-126): a 94-character alphabet, shift of 47. Self-inverse like ROT13 and covers numbers and punctuation (! ↔ P, 0 ↔ _).
Custom shift (the [CUSTOM] button): choose any integer 1-25 to match obscure CTF challenges, historical cipher puzzles, or educational material. Remember: no shift value makes Caesar secure — with 25 possible shifts, brute force takes milliseconds.
Other Languages
References
How we make sure
We check this tool with the automated test suites linked below. Example checks are shown in their original language.
- Verification method
- Compare fixed alphabet/text fixtures and check shifts, case, separators and inverse conversion.
- Comparison reference
- Explicit Caesar/ROT13 mappings and Morse SOS/digit fixtures.
- Verification scope
- These samples and boundaries do not prove correctness for every input.
Test source and cases (select a file to read it)
-
legacy-reliability.test.js
- ROT13: fixed alphabet vectors, punctuation preservation and involution
These checks cover the listed examples and boundaries, not every possible input. Round trips and checks using the same library are not independent verification.