ROT13 Encoder/Decoder

code

ROT13 (rotate by 13 places) is a simple letter substitution cipher that replaces each letter with the letter 13 positions after it in the alphabet. Since there are 26 letters, applying ROT13 twice returns the original text, making it its own inverse.

ROT13 Encoder/Decoder
Encode or decode text using ROT13 cipher
Characters: 0Words: 0Sentences: 0Lines: 0
Characters: 0Words: 0Sentences: 0Lines: 0

ROT13 Encoder & Decoder - Free Online Tool

What is ROT13?

ROT13 rotates each letter 13 positions in the alphabet, so A becomes N, B becomes O, and so on. Applying ROT13 twice returns the original text, making it its own inverse. Use it to hide spoilers, obscure answers, or play with classic Unix culture.

How to use the ROT13 tool

  1. Enter text: Paste your message, spoiler, or answer.
  2. Transform: Click ROT13 to encode or decode (same button for both).
  3. Copy output: Copy the result for forums, emails, or puzzles.

Why use ROT13?

  • Self-reversing: One click encodes; another click decodes.
  • Spoiler-friendly: Hide plot twists or puzzle answers in plain sight.
  • Unix tradition: A classic tool with roots in Usenet and early internet culture.

Use case 1: Forum spoilers

Post ROT13 movie or game spoilers so readers choose whether to decode.

Use case 2: Puzzle answers

Hide quiz answers on the same page; users apply ROT13 to reveal.

Use case 3: Quick obfuscation

Obscure text from casual glances without serious encryption.

Examples

Basic example

Input: hello world
Output: uryyb jbeyq

Advanced example

Input: uryyb jbeyq (already ROT13)
Output: hello world (back to original)

Common errors

Expecting security

ROT13 is obfuscation, not encryption. Anyone who knows the scheme can decode instantly.

Non-letter characters

Numbers, punctuation, and symbols stay unchanged; only A–Z shift.

Tips and proven approaches

  • Mention "[ROT13]" before encoded text so readers know to decode.
  • Combine with the Base64 encoder for two-layer obfuscation.
  • For variable shifts, use the Caesar cipher tool.

Related tools

Privacy and security

All encoding runs locally in your browser. ROT13 is not secure; treat it as a convenience, not protection.

Frequently Asked Questions
ROT13 is a simple cipher that shifts each letter by 13 positions in the alphabet. It's a special case of the Caesar cipher where encoding and decoding are the same operation.
Since the alphabet has 26 letters and 13 is exactly half, applying ROT13 twice returns the original text. This makes it self-inverse: the same operation both encodes and decodes.
ROT13 is commonly used to hide spoilers, puzzle solutions, or mildly offensive content online. It's not secure encryption but provides simple obfuscation that requires deliberate effort to read.