ROT13 Encoder/DecoderApply ROT13 cipher — shift each letter by 13 positions. Encoding and decoding are the same operation.

ROT13 Encoder/Decoder
Apply ROT13 cipher — shift each letter by 13 positions. Encoding and decoding are the same operation.
Enter Text
Type or paste text to apply ROT13 encoding.
View Result
See each letter shifted by 13 positions in the alphabet.
Copy Output
Copy the encoded/decoded text. Apply again to reverse.
What Is ROT13 Encoder/Decoder?
ROT13 is a simple letter substitution cipher that shifts each letter by 13 positions in the alphabet. Since the English alphabet has 26 letters, applying ROT13 twice returns the original text — making it its own inverse. "Hello" becomes "Uryyb", and applying ROT13 to "Uryyb" gives back "Hello". ROT13 is used to hide spoilers, puzzle answers, and mildly sensitive content online. It's not encryption — it provides no real security — but it's useful for simple text obfuscation.
Why Use Our ROT13 Encoder/Decoder?
- Self-inverse: encode and decode with the same operation
- Apply twice to get back the original text
- Classic cipher used for spoiler hiding and puzzles
- Preserves numbers, spaces, and punctuation unchanged
- Instant, client-side processing
Common Use Cases
Spoiler Hiding
Hide movie, book, or game spoilers that readers can easily decode when ready.
Puzzle Creation
Encode puzzle answers or hints using ROT13 for interactive games.
Simple Obfuscation
Mildly obfuscate text to prevent casual reading without providing real security.
CTF Challenges
ROT13 is a common basic cipher in capture-the-flag competitions.
Technical Guide
ROT13 shifts each letter by 13 positions using modular arithmetic: newChar = ((charCode - base + 13) % 26) + base, where base is 65 for uppercase (A-Z) and 97 for lowercase (a-z). The modulo 26 wraps Z back to A and z back to a. Non-alphabetical characters (digits, spaces, punctuation) pass through unchanged. Since 13 is exactly half of 26, the operation is its own inverse: ROT13(ROT13(text)) = text. This is a special case of the Caesar cipher with shift 13.
Tips & Best Practices
- 1ROT13 is its own inverse — apply it twice to get original text
- 2Only letters are shifted; numbers and punctuation remain unchanged
- 3ROT13 provides zero security — it's obfuscation, not encryption
- 4Used extensively on Usenet forums for hiding spoilers and jokes
- 5A = N, B = O, ..., M = Z, N = A, O = B, ..., Z = M
Related Tools

Text to Binary
Convert text to binary (0s and 1s) representation.

Morse Code Encoder
Convert text to Morse code (dots and dashes).

Pig Latin Converter
Convert English text to Pig Latin word game language.

Text Reverser
Reverse any text character by character.

Text to Hex
Convert text to hexadecimal representation.

Word Counter
Count words, unique words, characters, and see word frequency in any text.
Frequently Asked Questions
QIs ROT13 encryption?
QWhy does applying ROT13 twice give back the original?
QDoes it affect numbers?
QWhat is ROT13 used for?
QIs ROT13 the same as Caesar cipher?
About ROT13 Encoder/Decoder
ROT13 Encoder/Decoder is a free online tool from FreeToolkit.ai. All processing happens directly in your browser — your data never leaves your device. No registration required. No ads. Just fast, reliable tools.







