Atbash Cipher
Flip the alphabet back to front. A becomes Z, B becomes Y.
How it works
Atbash maps the alphabet onto itself in reverse. The first letter swaps with the last, the second with the second to last, and so on. Since every letter has a fixed partner, encoding and decoding are the same step.
It began with the Hebrew alphabet, and the name describes it: aleph, the first letter, pairs with tav, the last, and bet, the second, pairs with shin. It appears in the Book of Jeremiah, where "Sheshach" is an Atbash spelling of Babel.
There is no key at all, so Atbash offers no secrecy once someone suspects it. A quick sign is that common words keep their shape. "The" always becomes "gsv", and a lone "a" becomes "z".
Worked example
HELLO becomes SVOOL. H is the 8th letter, and the 8th from the end is S.
Atbash alphabet
| A | B | C | D | E | F | G | H | I | J | K | L | M |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Z | Y | X | W | V | U | T | S | R | Q | P | O | N |
Read it in both directions: A swaps with Z, and Z swaps with A.
Common questions
How do I decode Atbash?
Run it through the same tool. Applying Atbash twice returns the original.
Is Atbash a Caesar cipher?
No. A Caesar cipher slides the alphabet. Atbash mirrors it. No Caesar shift gives the same result.