ROT13 Encoder / Decoder

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

Encode = Decode
0 characters
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

26 ÷ 2 = 13 — each letter maps to its exact mirror partner in the alphabet

Speed
Instant
Privacy
Local Only
ROT13 — Rotate 13 active

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 — Rotate 5

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 — Rotate 18

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 — Rotate 47

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 ROT-N

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

Input
ROT13 output
Hello, World!
Uryyb, Jbeyq!
Uryyb, Jbeyq! (apply again)
Hello, World!
ROT13
EBG13
Test 123
Grfg 123 — digits stay unchanged

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

ROT13
ROT5
ROT18
ROT47
Operates on
26 letters
10 digits
letters + digits
94 ASCII characters
Shift
13
5
13 / 5
47
Self-inverse
yes
yes
yes
yes
Example
Hello→Uryyb
2024→7579
Hello 2024→Uryyb 7579
all ASCII scrambled

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