Free & private
Classic

ROT13 encoder and decoder

Rotate every letter thirteen places through the alphabet. ROT13 is its own inverse, so one button both scrambles and restores the text.

Reversible100% FreeNo upload
ROT13
Classic · reversible · UTF-8
try
Input0 chars · 0 bytes
Output0 chars · 0 bytes
UTF-8 · ready⌘⏎ copy⌘⇧S swap● local

What ROT13 is

ROT13 replaces each letter with the one thirteen positions further along the alphabet: A becomes N, B becomes O, and so on, wrapping around at the end. Because the alphabet has 26 letters, applying ROT13 twice returns the original text — which is why the same operation serves as both encoder and decoder. Digits, spaces and punctuation are left untouched.

How to use this tool

  1. Paste your text and the rotated version appears immediately.
  2. To reverse it, run the result through again — there is no separate decode step because ROT13 is its own inverse.

What it is for

ROT13 is not security — it is a convention for lightly hiding text so it is not read by accident. It has long been used on forums and in email to cover spoilers, punchlines and puzzle answers, letting a reader choose to reveal them. It also appears in programming puzzles and as a teaching example of a Caesar cipher. For anything that actually needs to stay secret, use encryption instead.

Examples

InputAttack at dawn
OutputNggnpx ng qnja

Frequently asked questions

How do I decode ROT13?
Run the text through ROT13 again. Applying it twice restores the original, so encoding and decoding are the same operation.
Does ROT13 affect numbers and symbols?
No. Only the 26 Latin letters are rotated; digits, spaces and punctuation pass through unchanged.
Is ROT13 secure?
Not at all. It is a readability convention for hiding spoilers, not encryption. Anyone can reverse it instantly.
Does this run offline?
The rotation happens in your browser, so once the page has loaded nothing is sent anywhere.

Related tools

Every tool on encoder.website converts your text and hands the result straight back — it is never stored. Pick another tool from the sidebar any time.