Atbash Cipher
Apply the Atbash cipher, which reverses the alphabet so A becomes Z — a keyless substitution that is its own inverse.
Everything you type here is processed on your own device. No input is sent to a server, logged, or stored.
What the Atbash Cipher does
This atbash cipher will apply the Atbash cipher, which reverses the alphabet so A becomes Z — a keyless substitution that is its own inverse. Paste your text in, pick the options you need, and copy the result straight back out. It is most often used for setting or solving an Atbash puzzle clue. If you need the other side of this job, there is also a password strength checker.
How to use it
- Paste your text into the input box.
- The reversed-alphabet result appears immediately.
- Run the output through again to recover the original — the cipher is its own inverse.
- Copy the result. There is no key to record, which is both the convenience and the weakness.
How it works
Atbash reverses the alphabet: A becomes Z, B becomes Y, M becomes N, and so on. There is no key at all, which makes it the simplest substitution cipher there is and also the weakest — knowing the method is knowing the key. Like ROT13 it is its own inverse, so the same operation encodes and decodes.
The name comes from Hebrew, pairing the first letter aleph with the last tav and the second bet with the second-last shin: aleph-tav-bet-shin. It appears in the Hebrew Bible, where a few place names are written in Atbash — most discussed is Sheshach in Jeremiah, which transforms to Babel. Whether those instances were meant to conceal anything or served some other purpose is debated, but they make Atbash one of the oldest recorded ciphers of any kind.
Cryptographically it provides nothing. There is a single possible transformation, so there is nothing to search; and because it is a fixed substitution, the letter frequencies of the plaintext transfer directly onto their substitutes. The commonest letter in English Atbash ciphertext is V, because E maps to V. A solver recognises it on sight.
What it is good for is puzzles, where its keylessness is the appeal: a clue in Atbash needs no key passed alongside it, so it works in a geocache, an escape room or a crossword where there is nowhere to hide a keyword. It also sometimes turns up stacked with other ciphers in puzzle hunts, applied before or after a Caesar shift to make the result less immediately recognisable.
When to use it
- Setting or solving an Atbash puzzle clue.
- Decoding Atbash text from a geocache or escape room.
- Teaching substitution ciphers and frequency analysis.
- Studying the Atbash instances in biblical Hebrew texts.
Common mistakes to avoid
- Treating it as encryption. With one possible key there is nothing for an attacker to work out.
- Expecting digits or punctuation to change. Only the 26 Latin letters are affected.
- Looking for a key to share along with the message. Atbash has none, which is exactly why puzzles like it.
Frequently asked questions
What does Atbash mean?
It is a Hebrew mnemonic for the substitution itself: aleph (first) pairs with tav (last), bet (second) with shin (second-last). The pattern of the name is the rule of the cipher.
Is Atbash the same as ROT13?
No. Both are their own inverse, but ROT13 shifts every letter 13 places forwards while Atbash mirrors the alphabet. A maps to N in ROT13 and to Z in Atbash.
How do I decode Atbash?
Apply it again. Because the mapping is a mirror, running the ciphertext through the same transformation returns the plaintext — there is no separate decode step and no key to supply.