ROT13 Encoder
Your text
ROT13 result (applying ROT13 again reverses it)
Other tools in Text Tools
About ROT13 Encoder
ROT13 ("rotate by 13") is one of the oldest and simplest text ciphers still in everyday use, and it earns its lasting popularity from one elegant property: applying it twice returns the original text exactly. It works by shifting every letter 13 places through the alphabet — A becomes N, B becomes O, and so on, wrapping back around to the start after Z — while leaving numbers, punctuation, and spacing completely untouched. Because the English alphabet has 26 letters and 13 is exactly half of that, shifting by 13 twice brings every letter back to where it started, which is why encoding and decoding are literally the same operation.
ROT13 has never been intended as real security — anyone who knows it's ROT13 can decode it instantly, and even someone who doesn't recognize it can usually crack it in seconds with basic frequency analysis, since it doesn't change the shape or length of words at all. Its actual purpose has always been to hide text from casual, accidental viewing rather than from any real attacker: the classic use case, dating back to early Usenet newsgroups in the 1980s, is obscuring spoilers, punchlines, or puzzle solutions so a reader has to make a deliberate choice to decode and reveal them, rather than seeing them accidentally while scrolling past.
That exact use case is still alive today — programming forums and puzzle communities use ROT13 to hide solutions and hints, some developer tools use it to lightly obfuscate example data in documentation, and it occasionally shows up as a deliberately trivial "cipher" in beginner cryptography exercises specifically because it's simple enough to implement by hand as a learning exercise. It's also a genuinely useful sanity check when learning how substitution ciphers work in general, since the fixed 13-position shift makes the underlying logic easy to trace letter by letter.
This tool applies ROT13 instantly to whatever you type or paste, leaving digits, punctuation, and whitespace exactly as they are, and only shifting the 26 letters of the Latin alphabet (both uppercase and lowercase are handled correctly, each shifted within its own case).
How it works
- Enter your text. Type or paste plain text, or already-ROT13-encoded text — it works identically either way.
- Read the result. The ROT13 transformation is applied instantly and shown below.
- Apply it again to reverse it. Paste the output back into the input (or use the Swap button) to get your original text back.
Examples
Encoding a phrase
Input
Hello World
Output
Uryyb Jbeyq
Decoding is the same operation
Input
Uryyb Jbeyq
Output
Hello World