Atbash Cipher
Encode and decode text with the mirror-alphabet cipher.
How to use
- 1 Type or paste your text into the input box.
- 2 Read the mirrored output as it updates live.
- 3 To decode, paste the Atbash text in — the same operation reverses it.
- 4 Copy the result to use it elsewhere.
About Atbash Cipher
The Atbash Cipher tool applies one of the oldest substitution ciphers known, originally devised for the Hebrew alphabet and later adapted to Latin letters.
The rule is beautifully simple: each letter is swapped for its mirror image in the alphabet, so A becomes Z, B becomes Y, C becomes X, and so on, with the two halves of the alphabet folding onto each other.
Because the mapping is symmetrical, the same operation both encodes and decodes — there is no separate key or direction to choose.
Type or paste your text and the output updates live as you go.
The letter case of your message is preserved, so capitals stay capital and lower-case stays lower-case, and everything that is not an A–Z letter — digits, spaces, punctuation, accented characters and emoji — passes straight through untouched.
That keeps the shape of your message intact while scrambling the letters.
To read an Atbash message back, just paste the ciphertext into the same box: running Atbash twice returns the original text exactly.
Like all classical substitution ciphers, Atbash is a learning and puzzle tool rather than real security, since the fixed mapping is trivial to reverse.
It shows up in word games, escape rooms, cryptography lessons and even some historical texts.
Everything runs locally in your browser, so your text never leaves your device.
FAQ
How does Atbash differ from the Caesar cipher?
Caesar shifts every letter by a fixed amount; Atbash mirrors the alphabet so A maps to Z. Atbash has no key and is its own inverse, while Caesar needs a shift value.
Why is encoding and decoding the same button?
Atbash is involutive: applying it twice returns the original text. So encoding and decoding are identical operations, and one box handles both.
Are numbers and punctuation changed?
No. Only the 26 letters A–Z are mirrored. Digits, spaces, punctuation and other characters are left exactly as they are.