ROT13 Decoder & Encoder Online (ROT47, ROT5, ROT18)

ROT13 Decoder & Encoder Online (ROT47, ROT5, ROT18)

Decode or encode ROT13 as you type, plus ROT47, ROT5, ROT18 and any custom shift from 1 to 25. A letter map shows which pairs swap. Runs in your browser.

Updated November 2026

Reviewed by Rafael Duarte

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

Paste, pick a variant, copy. For ROT13, encoding and decoding are the same operation

1. Paste your text

The ROT13 result shows up instantly in the Output box as you type. There is no button to click and 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 in the Output box 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

Type or paste and the output updates on every keystroke — there's nothing to submit. The Encode/Decode toggle only changes the result for a custom shift.

Visual alphabet mapping

With ROT13 or ROT18 selected, a Letter Mapping panel shows all 13 letter pairs (A↔N, B↔O…) and highlights the ones in your text. It is hidden for ROT5, ROT47 and Custom.

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

Paste the encoded text into the Input box with ROT13 selected and the decoded text appears in the Output box. ROT13 is its own inverse, so the same operation that encodes also decodes: Uryyb turns back into Hello. There is no separate decode step and no key to enter.

Further reading

Related Tools