Atbash Cipher
Apply the Atbash cipher (A↔Z, B↔Y, C↔X...): each letter is mirrored in the alphabet. Ancient Hebrew cipher used in the Bible. Applying twice returns the original. Everything in your browser.
The mirror cipher hidden in the Bible
You ran into a text where A becomes Z and B becomes Y, or you want a simple cipher for a scavenger hunt, a classroom activity or a kids' puzzle. Atbash mirrors the alphabet: every letter swaps with its opposite, and there is no key to agree on or remember. Paste your text in the left box and the output appears instantly, keeping the original upper and lower case.
It is one of the oldest ciphers known, used by Hebrew scribes; the name comes from aleph-tav-beth-shin, pairing the first letter with the last and the second with the second-to-last of the Hebrew alphabet. In the book of Jeremiah, 'Sheshach' is Babel encoded in Atbash. Since mirroring is its own inverse, applying it twice restores the original, so the same box both encodes and decodes.
It works well for puzzles, treasure hunt clues and historical curiosity. Because the mapping is fixed (A always becomes Z), anyone who knows the trick reads everything, so never protect anything real with it. Digits, punctuation and accented letters pass through unchanged; strip accents first if your text has them and you want a clean puzzle. Everything runs in your browser, nothing is sent anywhere.
Frequently asked questions
How do I decode an Atbash text?
Does Atbash have a key?
What happens to accents and numbers?
Related Tools
ROT13 Cipher
Apply the ROT13 cipher (rotate by 13 letters) to text. Applying twice returns the original. Used in forums to hide spoilers. Only A–Z and a–z are affected. Everything in your browser.
ROT47 Cipher
Apply the ROT47 cipher (rotation across 47 printable ASCII chars 33–126). Wider than ROT13: covers numbers and symbols. Applying twice returns the original. Everything in your browser.
Encrypt Text
Apply classic ciphers (Caesar, ROT13, Atbash) or Base64. Useful for puzzles, CTFs and testing — do not use for real security.
Vigenère Cipher
Encrypt and decrypt text with the polyalphabetic Vigenère cipher using a keyword. More robust than Caesar by using multiple shifts. Everything in your browser.
A1Z26 Cipher
Converts text into numbers by each letter position in the alphabet (A=1, Z=26), separated by hyphens. A simple cipher popular in geocaching, escape rooms and logic puzzles.
Bacon Cipher
Encodes text with the Bacon cipher, replacing each letter with a group of five As and Bs. Uses the modern 26-letter alphabet, keeping I and J apart.