ROT13 Cipher

Encode and decode text using the ROT13 cipher. ROT13 is its own inverse — encoding and decoding are the same operation. Free, client-side tool.

Everything runs in your browser — your data is never sent to any server.

Why Use the ROT13 Cipher?

ROT13 is a simple letter substitution cipher used primarily for obscuring text — spoilers, puzzle answers, or casual hiding of content. It replaces each letter with the 13th letter after it in the alphabet. Since the alphabet has 26 letters, applying ROT13 twice returns the original text.

Key Features

  • Live preview as you type — see the ROT13 result instantly
  • Complete alphabet reference table showing all substitutions
  • Encode and Decode tabs (same operation, for clarity)
  • Swap button to reverse input and output

How to Use

  1. Type or paste text in the input area
  2. The ROT13 result appears instantly in the output area
  3. Click Apply ROT13 or copy the result directly

Technical Details

ROT13 shifts each alphabetic character by 13 positions: A→N, B→O, ..., M→Z, N→A, O→B, ..., Z→M. Non-alphabetic characters (numbers, punctuation, spaces) are left unchanged. Both uppercase and lowercase letters are handled independently. The operation is its own inverse: ROT13(ROT13(x)) = x.

FAQ

Is ROT13 secure?

No, ROT13 provides no real security. It's easily reversed by anyone. It's used for casual text obfuscation, like hiding spoilers or puzzle answers.

Why does encoding and decoding use the same operation?

Because 13 is exactly half of 26 (the alphabet length), applying the shift twice brings you back to the original letter. This makes ROT13 its own inverse.

Related tools