Atbash Cipher Decoder & Encoder
: Encode and decode the Atbash cipher as you type: A becomes Z, B becomes Y, in English letters and the original Hebrew, with the key, a letter-by-letter view and digits as an optionOptions
Atbash Cipher Decoder & Encoder
Encode or decode the Atbash cipher as you type. Atbash swaps each letter with its mirror in the alphabet, A with Z, B with Y, so the same step turns a message into cipher text and back again. English letters and the original Hebrew alphabet both work, and the page tells you which side reads as English. It runs in your browser.
How to encode and decode an Atbash cipher
- Type or paste into
Text, or load a.txtfile. TheExamplesgive a message, an Atbash cipher text and the Hebrew word Babel. - Read the result as you type. There is no Encode or Decode to pick: Atbash is its own inverse, so pasting a cipher text decodes it and pasting a message encodes it. A note says when the result, or your text, reads as English.
- Check the letters with
Letter by letter, which lines up the first 48 letters of your text and the result, and theAtbash key, each letter over its partner (with the Hebrew rows when your text has Hebrew). - Open the options to swap digits too (
Digits too: 0 ↔ 9, 1 ↔ 8), set theLetter case, or remove spaces and punctuation, or write the letters in groups of five as classic cipher texts are. - Copy the result or download it as a
.txtfile.
Example
Each letter swaps with the one the same distance from the other end: H ↔ S, E ↔ V, L ↔ O. Case, spaces and punctuation are kept, and running the result through again gives back Hello, World!
Hello, World!Svool, Dliow!Details
- The Atbash cipher is the reverse alphabet cipher: A is written as Z, B as Y, C as X, and so on to M and N, which swap with each other. The word ATBASH itself becomes ZGYZHS. Because each pair swaps both ways, encoding and decoding are the same step, which is why one box does both here. An Atbash cipher decoder, encoder and translator are the same tool.
- How to decode an Atbash cipher by hand: write the alphabet A to Z, write it again backwards under it, and replace each letter of the cipher text with the one above or below it. The
Atbash keyshows the two rows. Gsv jfrxp yildm ulc decodes to the start of "The quick brown fox jumps over the lazy dog." - Atbash began in Hebrew. Its name lists the first swaps: Aleph (א) with Tav (ת), the last letter, and Bet (ב) with Shin (ש), the second to last. The Book of Jeremiah uses it: Sheshach (ששך) in Jeremiah 25:26 and 51:41 stands for Babel (בבל), and pasting בבל here gives ששך. Final letter forms (ך ם ן ף ץ) count as their usual letter, and a result letter that has a final form is written in it at the end of a word; vowel points stay with their letter.
- Atbash is a fixed substitution cipher: there is no key to choose, unlike the Caesar cipher (a shift you pick) or the Vigenère cipher (a keyword). It is the same as an affine cipher with a = 25 and b = 25. Some puzzle sites also reverse digits, 0 with 9 and 1 with 8; turn on
Digits toofor that, so Room 1984 becomes Illn 8015. - Upper and lower case are kept unless you change them, and spaces, punctuation, digits (unless swapped) and letters of other alphabets pass through as typed. For a classic cipher look, remove spaces and write groups of five: Meet me at noon becomes NVVGN VZGML LM. Nothing you type leaves the page, and a long text is handled in one pass.
Limits
- Latin letters A to Z and the 22 Hebrew letters only. Accented letters (é, ü) and other alphabets are kept as typed; the notes say how many.
- The English check needs a few common words; a short or non-English text gets no note, but the result is still the Atbash of your text.
- Atbash hides nothing: anyone can reverse it in seconds. Use it for puzzles, games and teaching, not to protect real data.
FAQ
How do you decode an Atbash cipher?
Paste the cipher text in. Atbash swaps A with Z, B with Y and so on, and doing it again undoes it, so the result is the decoded message. The page notes when it reads as English.
Is encoding the same as decoding in Atbash?
Yes. Every letter's partner has that letter as its own partner (A ↔ Z), so applying Atbash twice gives back the original text. That is why this tool has no Encode or Decode switch.
What does the Atbash key look like?
Two rows: the alphabet A to Z, and under it Z to A. A over Z, B over Y, M over N. The page shows it, with the Hebrew rows when your text has Hebrew letters.
What is the difference between Atbash and the Caesar cipher?
The Caesar cipher shifts every letter forward by a number you choose; Atbash mirrors the alphabet and has no number to choose. A Caesar shift of 13 (ROT13) is also its own inverse, but it gives different letters: A becomes N in ROT13 and Z in Atbash.
What does Atbash mean?
From the Hebrew letters it pairs first: Aleph with Tav (the first and last letters) and Bet with Shin (the second and second to last), read together as A-T-B-SH.
Runs entirely in your browser. Nothing is uploaded.