Five classic ciphers, one shared idea
Caesar, ROT13, Vigenère, Atbash, and binary translation are five different ways to scramble text into another form using a fixed, learnable rule rather than random noise. That's what makes them ciphers you can actually work out by hand — and also why none of them belong anywhere near real security. Each one predates modern cryptography by decades or centuries (Caesar reportedly used his shift in Roman military dispatches; Atbash appears in the Hebrew Bible), and each teaches a different core idea: shifting an alphabet, using a repeating key, mirroring an alphabet, or re-encoding text as a completely different symbol set. All five run entirely in your browser at pixeltools — nothing you type is uploaded anywhere, so they're safe to use for puzzles, homework, or hiding a spoiler, just not for anything that actually needs to stay secret from a determined reader.
Caesar cipher: shift every letter by a fixed amount
The Caesar cipher shifts each letter forward through the alphabet by a fixed number of positions — shift it by 3 and A becomes D, B becomes E, and so on, wrapping back to A after Z. Our Caesar Cipher tool lets you pick any shift from 1 to 25 and toggle between encode and decode, and it normalizes whatever shift value you enter (including negative numbers) into that 0–25 range automatically. Numbers, punctuation, and spaces pass straight through untouched, and letter case is preserved, so "Attack at Dawn" with a shift of 3 becomes "Dwwdfn dw Gdzq" — still readable as a sentence, just unreadable at a glance. With only 25 possible shifts, it's trivial to crack by brute force, which is exactly why it's a teaching tool today rather than a real cipher.
ROT13: the internet's favorite spoiler-hider
ROT13 is a Caesar cipher with the shift locked at exactly 13 — half of the alphabet's 26 letters. That specific number is what makes it special: apply it once to scramble text, apply it again to the result, and you get the original text back, because shifting by 13 twice is the same as shifting by 26, a full loop back to where you started. That's why there's no separate "decode" button on our ROT13 tool — encoding and decoding are literally the same operation. This self-reversing property is exactly why ROT13 became the internet's go-to way to hide spoilers, puzzle answers, and offensive-joke punchlines in forum posts: readable on purpose by anyone who chooses to run it, invisible to anyone skimming past.
Vigenère cipher: a keyword instead of one shift
The Vigenère cipher upgrades Caesar's single fixed shift into a repeating sequence of shifts drawn from a keyword — the keyword letter A shifts by 0, B by 1, and so on through Z at 25, cycling back to the start of the keyword once you run out of letters. Encrypt "HELLO" with the keyword "KEY" and each letter gets shifted by a different amount (K, E, Y, K, E), producing a result a simple frequency count can't crack the way it can with Caesar. Only letters in your keyword count — spaces or punctuation in it are ignored — and, as with Caesar, non-letter characters in your message pass through unchanged while case is preserved. It was considered effectively unbreakable for roughly three centuries, earning the nickname "le chiffre indéchiffrable," until 19th-century cryptanalysts worked out how to detect the repeating key length statistically.
Atbash cipher: mirror the alphabet, no key needed
Atbash is the simplest substitution cipher of the five because it has no key or shift to choose at all — it's a fixed mirror mapping where A always becomes Z, B always becomes Y, and so on to the midpoint. Because the mapping is symmetric, running Atbash on already-encoded text always returns the original — the same self-reversing behavior ROT13 has, just built from mirroring instead of a 13-position shift. That fixed, keyless simplicity is also its ceiling: with nothing to configure and only one possible mapping, it's the fastest of the five to decode by eye once you know what it is, which is exactly why it shows up in puzzle hunts and escape rooms rather than anywhere security actually matters.
Binary translator: text as 0s and 1s
Unlike the other four, binary translation isn't a cipher meant to obscure meaning — it's a direct encoding of text into 8-bit binary bytes, one group of eight 0s and 1s per character, and back. Our tool deliberately encodes as UTF-8 bytes rather than one binary group per Unicode character, because that's what every mainstream binary translator does and what you'll actually get if you paste binary in from somewhere else; encoding by character instead would round-trip fine inside this one tool but silently corrupt any non-ASCII binary pasted in from outside it. It also checks its input rather than guessing: paste binary with no spaces between bytes and it tells you to add separators; paste a group that isn't exactly 8 bits and it names which one; paste bytes that don't form valid UTF-8 and it says so, rather than rendering garbled characters with no explanation.
When each one actually gets used
Reach for Caesar or Vigenère when you're teaching or learning the basics of substitution cryptography — they're the standard first two ciphers in most intro cryptography courses because you can work them out by hand and see exactly why frequency analysis breaks the simple one and not (immediately) the keyword one. Reach for ROT13 for spoiler-hiding, puzzle answers, or anything you want casually obscured but instantly reversible by anyone who cares to click decode. Reach for Atbash in puzzle hunts, escape rooms, or alternate-reality games, where its fixed mirror mapping is exactly puzzling enough to slow someone down for a minute. And reach for the binary translator whenever you need to actually read or produce raw binary — checking a homework answer, decoding a novelty binary message, or just satisfying curiosity about what your name looks like as bytes.