ROT13 Encoder Decoder — Free Online ROT13 Cipher Tool
Encode and decode text with the ROT13 cipher — rotates each letter by 13 positions. ROT13 is its own inverse: apply it twice to get the original text.
Jump to tool ↓Frequently Asked Questions
ROT13: The Classic Text Rotation Cipher
ROT13 is the simplest cipher in practical use. It was invented for Usenet newsgroups in the 1980s as a way to hide spoilers, offensive jokes, or puzzle answers so they could only be read by someone who actively chose to decode them. It has zero security value — a determined reader needs about 2 seconds to decode ROT13 manually.
The algorithm: replace each letter with the one 13 positions later in the alphabet, wrapping around. A→N, B→O, ..., M→Z, N→A, O→B, ..., Z→M. Lowercase follows the same pattern. Numbers, spaces, and punctuation pass through unchanged. Because the English alphabet has 26 letters and 13+13=26, ROT13 is perfectly self-inverse — applying it to encoded text gives back the original.
ROT13 appears in CTF (Capture The Flag) challenges, obfuscated code, light-hearted text puzzles, and occasionally in real codebases for non-sensitive obfuscation. On this tool, "Encode" and "Decode" do the same thing — the distinction only matters for the direction toggle, which has no effect on the result.
Built and maintained by DevDecode. This tool processes your input in your browser; it is not uploaded for processing. Found an issue? Let us know.
Related Tools
Related Guides
What Is a Caesar Cipher? (with Decoder Examples)
A Caesar cipher shifts each letter by a fixed number of places. Learn how it works, how to encode and decode it, why ROT13 is a special case, and why it's easy to break.
EncryptionWhat Is a Cipher? Types and Examples Explained
A cipher is an algorithm that encrypts and decrypts data. Learn the difference between ciphers and codes, plus block, stream, symmetric, and classic cipher types.