ROT13 Cipher
Encode or decode text with the ROT13 cipher.
Encode or decode text with ROT13, the classic letter-substitution cipher that shifts each letter by 13 places.
Loading the interactive tool… This page needs JavaScript to run the ROT13 Cipher.
How to use ROT13 Cipher
- Enter the value or choose the generation settings you need.
- Run the operation in the browser.
- Review the generated or transformed result.
- Copy or download only what you actually need.
How ROT13 Cipher works
ROT13 moves each letter 13 places along the alphabet, wrapping from Z back to A. Because the alphabet has 26 letters, applying it twice returns the original, so the same button both encodes and decodes. Digits, spaces and punctuation are left alone, and upper and lower case are kept. It is obfuscation, not encryption.
Worked example
Input Hello, World! → Output: Uryyb, Jbeyq! Run it again on that output to get Hello, World! back.
Common uses
- Hiding a puzzle answer or spoiler in a forum post.
- Decoding a ROT13 string found in a geocaching hint.
- Demonstrating a simple substitution cipher in a class.
Best for
- security workflows
- quick rot13 cipher tasks
- browser-based utility work
Tips for better results
- Never paste private credentials or secrets unnecessarily.
- Use cryptographically secure generation for passwords and identifiers when the tool provides it.
- Hashing is not encryption, and a digest should not be treated as reversible.
Frequently asked questions
Is ROT13 secure?
No. It is a simple obfuscation, not encryption, and is trivial to reverse.
How do I decode ROT13?
Run ROT13 again, because applying it twice returns the original text.
What is ROT13 used for?
Hiding spoilers and puzzle answers in forums and online games.
Related tools
- Caesar Cipher — Shift letters to encode or decode text.
- File Checksum Calculator — Calculate SHA-1, SHA-256 and SHA-512 checksums for a file locally in your browser.
- Hash Identifier — Identify likely hash types such as MD5, SHA-1, SHA-256 and bcrypt.
- HMAC Generator — Generate HMAC signatures with SHA-256, SHA-384 or SHA-512.
- HTML Decoder — Decode common HTML entities.
- HTML Encoder — Encode HTML special characters.