ToolWren logo ToolWren
ToolWrenCiphers › ROT13

ROT13 Encoder & Decoder

Apply the classic ROT13 cipher, which rotates each letter 13 places through the alphabet. Because 13 is half of 26, the same operation both encodes and decodes.

100% client-side · nothing is uploaded

Loading tool…

Quick answer

ROT13 is a free, private online tool that lets you apply the ROT13 letter-rotation cipher online. It runs entirely in your browser, so nothing you enter is uploaded to a server.

How to use the ROT13

  1. Type or paste your text into the Input box.
  2. The converted result appears automatically in the output area — no button to press.
  3. Review the output, then click Copy to copy it to your clipboard.
  4. Edit the input at any time and the result updates live.

Privacy: this tool runs entirely in your browser. Your input is never sent to, received by, or stored on any server — there are no uploads and no tracking of what you enter.

About ROT13

What is ROT13?

ROT13 ("rotate by 13") is a simple substitution cipher that shifts every letter 13 positions: A↔N, B↔O, and so on. Non-letters are left unchanged. It's a special case of the Caesar cipher.

Why it's self-inverse

Applying ROT13 twice returns the original text, because shifting by 13 and then 13 more equals a full 26-letter rotation. So one button both encrypts and decrypts.

What it's good for

ROT13 hides spoilers, puzzle answers and punchlines from casual view. It provides no real security and should never be used to protect sensitive data.

Frequently asked questions

Is ROT13 secure?
No. It has no key and is trivially reversible. It's for obscuring text from casual reading, not for protection.
Does it affect numbers and symbols?
No. Only A–Z and a–z are rotated; digits, spaces and punctuation pass through unchanged.
What about ROT47?
ROT47 rotates a wider set of ASCII characters (including digits and symbols). This tool implements classic letter-only ROT13.

Understanding ROT13 in depth

What ROT13 is

ROT13 ('rotate by 13') is a special case of the Caesar cipher that shifts every letter 13 places through the alphabet - A becomes N, B becomes O, and so on. It is the best-known simple letter cipher on the internet, used not for security but for lightly hiding text that should not be read accidentally.

Why it is self-reversing

The alphabet has 26 letters, and 13 is exactly half of that. So shifting by 13 twice brings you back to where you started: ROT13 applied to ROT13 returns the original text. This means one operation both encodes and decodes - there is no separate decrypt step, which is part of its charm and simplicity.

What it is actually used for

ROT13 is a convention for obscuring text, not securing it. Online forums and newsgroups have long used it to hide spoilers, puzzle answers, punchlines and offensive jokes, so readers must make a deliberate choice to reveal them. It provides no protection whatsoever - decoding is trivial - but that is exactly the point: it is a politeness tool, not a security one.

ROT13 and its relatives

ROT13 only affects letters. A variant called ROT5 rotates digits, and ROT47 rotates a wider range of ASCII characters including symbols. ROT13 is also a Caesar cipher with shift 13, so the Caesar tool here can reproduce it (and any other shift). Non-letters always pass through unchanged.

How to use it

Type or paste text and the ROT13 result appears instantly; the same action reverses it. Use it to hide or reveal spoilers and puzzle answers, or as a simple cryptography teaching example. Everything runs in your browser.

Related & complementary tools

More Ciphers tools