1. Home
  2. Writing & text tools
  3. ROT13 Encoder / Decoder

ROT13 Encoder / Decoder

Hide a spoiler, a puzzle answer or a punchline from a casual glance, or read ROT13 text from a forum, a geocache hint or a CTF challenge.

Free, no sign-up. Runs in your browser: nothing is uploaded.

How to use ROT13 Encoder / Decoder

  1. Choose ROT13 or another variant.
  2. Paste the text.
  3. Copy the result — encoding and decoding are the same.

Features

  • ROT13 (letters), ROT47 (all visible ASCII), ROT5 (digits), ROT18
  • Self-inverse: one step encodes and decodes
  • Case and punctuation kept
  • This is a classical cipher for puzzles, games and teaching. It does not protect real secrets.

Supported formats

You can open

  • Typed or pasted text
  • TXT

You get

  • Copied text
  • TXT

Private by design

Your files are opened and processed by your browser on this device. They are never uploaded to openWorkstand or anyone else, so the ROT13 Encoder / Decoder is safe for contracts, IDs, photos and work documents. After you have used it once while online, it also works without an internet connection. How local processing works

Good to know

  • A classical cipher for puzzles and teaching: it can be broken quickly and must not be used to protect real secrets.

Guide

ROT13 and its relatives: ROT47, ROT5 and ROT18

ROT13 replaces each letter with the one 13 places further along the alphabet: A becomes N, B becomes O, and so on, wrapping around at Z. It has been used since the early days of Usenet to hide text from a casual glance — a spoiler, the answer to a riddle, a punchline — while letting anyone who wants to read it do so in one click. This tool encodes and decodes ROT13 and three related variants.

Why one step does both

The Latin alphabet has 26 letters, and 13 is exactly half. Shifting by 13 twice is a shift of 26, which brings every letter back to itself. So the same operation hides and reveals: paste ROT13 text to read it, or plain text to hide it. Capitals stay capitals, and spaces, digits and punctuation are untouched, which is why ROT13 text still looks like sentences: “Uryyb, jbeyq!” is “Hello, world!”.

ROT47

ROT47 works the same way on all 94 printable ASCII characters, from ! to ~, rotating by 47, half of 94. Digits and punctuation are scrambled too, so “Hello 2026” becomes “w6==@ a_ae”. It hides numbers and symbols that ROT13 would leave visible, such as in email addresses or code, and is also its own inverse.

ROT5 and ROT18

ROT5 rotates only the digits 0–9 by five: 0 and 5 swap, 1 and 6, and so on. ROT18 combines ROT13 for letters with ROT5 for digits, hiding both while keeping punctuation readable.

Where you will meet it

Forums and newsgroups use ROT13 for spoilers and puzzle answers. Geocaching hints are stored in ROT13. Puzzle hunts, escape rooms and capture-the-flag security challenges use it as an easy first layer. Programmers meet it as a classic exercise in character manipulation, and it appears in some older software to obscure, not protect, settings.

Not a security tool

ROT13 has no key and only one possible setting, so it can be reversed instantly by anyone. Never use it, or any of these variants, for passwords, personal data or anything confidential. It only hides text from someone who is not trying to read it.

Files and privacy

Open a text file to convert it whole and download the result. Everything happens in your browser.

A worked example

A forum post hides a spoiler as “Gur ohgyre qvq vg.” Pasting it with ROT13 selected gives “The butler did it.” Pasting the result again gives back the hidden version, which is what you post to hide your own spoiler. If the hidden text included the year 2026, ROT13 would leave the digits visible; ROT18 would turn them into 7571, and ROT47 would scramble the punctuation as well.

Telling ROT13 from other ciphers

ROT13 text keeps word lengths, punctuation and capital letters, and its most common letter is usually r, because e is the most common English letter and e shifted by 13 is r. Short words such as gur (the) and naq (and) are tell-tale signs. If those clues are missing, try the Caesar Cipher Solver, which tests every shift, not just 13.

Try other shifts and crack them with the Caesar Cipher Solver, reverse the alphabet with the Atbash Cipher, use a keyword with the Vigenère Cipher, or encode data for transport with the Base64 Encoder.

Checked against the current version of the ROT13 Encoder / Decoder on .

Troubleshooting

The file does not open

Check that it is one of the supported formats above and opens in another app. Damaged files and password-protected PDFs cannot be read until they are repaired or unlocked.

It is slow or stops on a very large file

Everything runs on your device, so speed depends on its memory. Close other tabs, use a computer rather than a phone, or split the file into smaller parts first.

The download did not start

Look for your browser’s download bar or icon. Some browsers ask once before a site may download files; allow it and click the button again.

Frequently asked questions

How can I tell whether a text is ROT13 or ROT47?

ROT13 changes only letters, so digits, spaces and punctuation look normal. ROT47 also scrambles digits and symbols, so text full of characters like = @ and 6 in odd places is probably ROT47.

Is ROT13 used in geocaching?

Yes. Hints on geocaching.com are stored in ROT13 so you only read them when you choose to; brackets in a hint are often left unencrypted on purpose.

What is “double ROT13”?

A running joke: applying ROT13 twice gives back the original text, so “double ROT13 encryption” protects nothing at all.

Why does ROT13 decode itself?

The alphabet has 26 letters, and shifting by 13 twice is a shift of 26, which brings every letter back to where it started. So the same operation hides and reveals.

Where is ROT13 used?

In Usenet and forums to hide spoilers, in geocaching hints, in puzzle hunts and in programming exercises. It hides text from a quick glance only.

Keep working with the result

After you download, choose “Save to Workstand” to keep the result in a folder on your computer, attach it to a project and create a follow-up task. It is saved by your browser, not uploaded.