What is the Atbash cipher?
Atbash writes the alphabet backwards: the first letter takes the place of the last, the second that of the one before last, and so on. A becomes Z, B becomes Y, M becomes N. “Hello” is written “Svool”.
Applied twice, the operation gives the original text back: there is only one thing to know, and no key.
Where does the name come from?
It comes from the Hebrew alphabet, for which the method was first used: aleph, the first letter, swaps places with tav, the last, then beth with shin. The initials of these four letters spell “atbash”. Examples are found in the Book of Jeremiah.
Using the tool
Type in the “Text” box: the encoded message appears below. To read a message, paste it into either box. Case is preserved. Digits stay put unless you tick the box that reverses them too. Accented letters do not change unless you remove accents first.
No protection
Atbash is recognised and undone in a moment. It is a game for puzzles, treasure hunts or history lessons. To keep a secret, use encryption such as AES.
Frequently asked questions
How do I decode an Atbash message?
Apply the cipher once more: paste the message and the plain text appears in the other box.
Is Atbash a Caesar cipher?
No. Caesar shifts every letter by the same number of places; Atbash reverses the order of the alphabet.
Which letter stays in place?
None: the Latin alphabet has an even number of letters, so each one swaps with another.
Is my text sent anywhere?
No. The transformation happens in your browser, and only your settings are kept on your device.
Can Atbash be combined with another code?
Yes, with a Caesar shift for instance: the puzzle then takes two steps. It adds no real security.