ROT13 Encoder / Decoder
Free ROT13 encoder and decoder: instant bidirectional conversion with live preview. ROT5, ROT18, ROT47, visual alphabet mapping (A↔N), no signup.
Updated June 2026
26 ÷ 2 = 13 — each letter maps to its exact mirror partner in the alphabet
ROT13 shifts each letter 13 positions forward (A→N, B→O…). Because the alphabet has 26 letters, applying it twice returns the original text — making it self-inverse. Widely used in online forums and games to hide spoilers.
ROT5 is the digit equivalent of ROT13: it shifts digits 0–9 by 5 positions (0→5, 1→6…). Like ROT13, applying it twice returns the original number. Often combined with ROT13 to form ROT18.
ROT18 applies ROT13 to letters and ROT5 to digits simultaneously, leaving all other characters unchanged. The name comes from 13 + 5 = 18. It is also self-inverse.
ROT47 works on all printable ASCII characters (! to ~, 94 symbols total). Each character is shifted by 47 positions within that range. It is self-inverse because 94 ÷ 2 = 47, so applying it twice returns the original.
Custom lets you choose any letter shift N from 1 to 25. Only letters (A–Z, a–z) are rotated; digits and symbols are left unchanged. When N = 13 it becomes ROT13 (self-inverse). For any other N, to decode use shift 26 − N.
How to use this ROT13 converter
One step — there's no separate decode mode
1. Paste your text
The ROT13 result shows up instantly in the right panel — no button to click, no page reload.
2. Pick a variant if you need one
ROT5 (digits), ROT18 (letters + digits), ROT47 (full printable ASCII), or a custom shift from 1 to 25.
3. Copy the output
Click Copy or press `Shift+Enter` and the result goes straight to your clipboard.
When you'd actually use this
The most common scenarios among people who reach for a ROT13 tool
Hiding spoilers
The original Usenet use case — readers actively choose to decode instead of being surprised mid-scroll.
Puzzles, ARGs and CTF challenges
ROT13 shows up as a layer in escape rooms and CTF puzzles where participants need to recognize and reverse it.
Teaching cryptography basics
The simplest real cipher to implement by hand — the standard first example before AES or RSA.
Obscuring strings in source code
Prevent accidental reading during code review — not for security, just to avoid spoiling an answer key or joke.
What this ROT13 encoder does
The whole ROT family in one interface
Live preview, no encode/decode button
Type or paste and the output updates on every keystroke — there's nothing to submit.
Visual alphabet mapping
See all 13 bidirectional letter pairs (A↔N, B↔O…) that make up the cipher, highlighted as you type.
ROT5, ROT18 and ROT47 built in
Rotate digits only, letters plus digits, or the full 94-character printable ASCII range including punctuation.
Custom shift, 1 to 25
Set any Caesar cipher shift beyond the standard ROT13, with an automatic inverse shift for decoding.
Examples
ROT13 in, ROT13 out
Common mistakes
Using it as real encryption
ROT13 provides zero security — anyone who recognizes it can reverse it instantly, with no key required. For sensitive data, use AES-256 or RSA instead.
Expecting numbers to change
Standard ROT13 only rotates the 26 letters of the alphabet. Switch to ROT18 or ROT47 if you need digits and punctuation shifted too.
Forgetting it preserves capitalization
Hello becomes Uryyb, not URYYB — uppercase letters map to uppercase, lowercase to lowercase.
Why use this ROT13 converter
Beyond standard ROT13, this covers the entire family of self-inverse rotation ciphers — ROT5, ROT18 and ROT47 — in a single interface, with a visual alphabet map showing exactly which letters are swapped as you type.
There's no extra click between pasting and seeing a result: the output updates live, and an "apply again" button lets you confirm the self-inverse property on the spot instead of trusting it blindly.
The ROT cipher family
Same math, different character sets
Frequently asked questions
ROT13 replaces each letter with the one 13 positions ahead in the alphabet — A becomes N, B becomes O, up to M→Z, then wraps back around: N→A, up to Z→M. It's a special case of the Caesar cipher with a fixed shift of 13.
Further reading
Related Tools
- Caesar Cipher Developer Free Caesar cipher encoder & decoder — interactive cipher wheel, brute force 25 shifts, frequency analysis, step-by-step breakdown. ROT13 included.
- Morse Code Translator Developer Free online Morse code translator: convert text to Morse and back, play audio with WPM control, watch the visual flash, tap on keyboard, and learn with the quiz.
- Enigma Machine Simulator Developer Simulate the WWII electromechanical rotor cipher with real-time electrical signal flow, configurable rotors, plugboard, and step animation mode.
- Reverse Text - Mirror, Flip, Backwards & Palindrome Checker Developer Free reverse text generator: reverse characters, mirror text, flip text, apply ROT13, and check palindromes instantly with real mirror preview.
- ASCII Table Generator Developer Free ASCII table generator — create plain-text tables in MySQL, Markdown, Unicode and more styles. Paste CSV or type data, copy output in one click. No signup.