ROT13 Cipher
Free online rot13 cipher. Process data instantly in your browser. No upload, no signup, fully private.
ROT13 is self-inverse: applying it twice returns the original text.
How to Use
- Paste or type your text into the ROT13 Cipher input area above.
- Configure any format or mode options to generate the result in real time.
- Click Copy to copy the formatted result to your clipboard, or Reset to clear the workbench.
What is ROT13 Cipher?
ROT13 ("rotate by 13 places") is a classic monoalphabetic substitution cipher that shifts each English letter halfway through the 26-letter alphabet. Because shifting twice by 13 returns to the starting letter (13 + 13 = 26), the exact same operation both encodes and decodes spoiler text, puzzle clues, and obfuscated forum hints.
How It Works
The `rot13()` function scans each character code locally in your browser: uppercase A–Z (ASCII 65–90) and lowercase a–z (ASCII 97–122) are rotated modulo 26 by 13 positions (`((code - base + 13) % 26) + base`), while digits, spaces, punctuation, and non-Latin characters pass through untouched.
Common Use Cases
- Spoiler protection — encode movie endings or puzzle solutions before posting them in public discussion threads
- Geocaching and ARG clues — decode ROT13 hints printed on puzzle caches directly in your browser
- CTF warmup challenges — reverse simple letter-rotation payloads during beginner security exercises
- Round-trip cipher demos — demonstrate self-inverse symmetric substitution without encryption keys
Technical Details
Execution: 100% client-side ASCII character rotation (`(code - base + 13) % 26 + base`) for A–Z and a–z; non-alphabetic characters remain unchanged. Self-inverse (`rot13(rot13(s)) === s`).
FAQ
Is this ROT13 Cipher free?
Yes, completely free. No signup required.
Does this tool upload my data?
No. All processing happens locally in your browser. Your data never leaves your device.