Caesar Cipher / ROT13
Julius Caesar shifted letters by a fixed amount. ROT13 is a shift of 13, used on forums to hide spoilers, not secrets. This page is a classroom toy. It is not encryption. Do not put a real password, API key, or health record through it and call the result protected.
What the Caesar cipher and ROT13 tool is for
The Caesar cipher shifts each letter a fixed number of places. It is roughly two thousand years old, offers no security whatsoever, and remains the clearest possible illustration of what a substitution cipher is.
ROT13 — a shift of thirteen — still appears online to hide spoilers and puzzle answers, where the goal is to prevent accidental reading rather than determined access.
Common uses
- Teaching how classical ciphers and frequency analysis work
- Hiding spoilers or puzzle answers from casual view
- Solving ROT13 puzzles in CTF competitions
- Demonstrating why key space matters in cryptography
What the output means in the real world
The shifted text is the same message with a new alphabet offset. Anyone who knows the shift (or tries 25 of them) recovers the plaintext instantly. Use it to illustrate frequency analysis and why modern ciphers need keys and nonces. Never store workplace data in ROT13 files.
How this fits into real work
Capture-the-flag warmups and GCSE-style lessons still start here because students can break it with a pencil. That pedagogy is the only honest use. Production systems that 'obfuscate' with a Caesar shift fail every audit.
ROT13 on Usenet hid movie endings from accidental reading. That is the threat model: accidental glance, not an attacker. Treating it as confidentiality is a category error.
If a colleague sent you 'encrypted' text that this page decodes, reply with a real channel (TLS, a vault, or an encrypted email standard) and retire the joke before it becomes policy.
How to use this tool
- Enter your text and choose a shift value, or select ROT13 for the classic thirteen-place shift.
- Read the transformed output.
- To decode an unknown shift, try each of the 25 possibilities — that small key space is precisely the weakness.
Tips
- ROT13 is its own inverse: applying it twice returns the original text.
- Never use this for anything requiring actual secrecy — 25 keys can be tried by hand in under a minute.
- Only letters shift; digits, spaces, and punctuation pass through unchanged.
Privacy & how it works
Everything happens inside your browser. The values you type are held in page memory only, are never sent to a server, and disappear when you close the tab. You can confirm this in your browser's network tab: the only request a tool makes is one that names the tool for a usage count, with nothing you typed in it. The tools also work with the internet disconnected.
Frequently asked questions
- Is ROT13 secure?
- Not remotely. It has no key and is reversed by applying it again. It hides text from casual glance and nothing more.
- How do I break a Caesar cipher?
- Try all 25 shifts, or count letter frequencies — in English, the most common letter usually maps back to E or T.
Browse other tools
All tools run entirely in your browser — nothing you type is sent to a server, except the optional HIBP 5-character hash prefix.