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 option
Limits: .txt
Result0 ↔ 9, 1 ↔ 8, 2 ↔ 7 … as some puzzles use; off keeps digits as typed.
Options
The result appears here as you type.

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.

  1. Type or paste into Text, or load a .txt file. The Examples give a message, an Atbash cipher text and the Hebrew word Babel.
  2. 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.
  3. Check the letters with Letter by letter, which lines up the first 48 letters of your text and the result, and the Atbash key, each letter over its partner (with the Hebrew rows when your text has Hebrew).
  4. Open the options to swap digits too (Digits too: 0 ↔ 9, 1 ↔ 8), set the Letter case, or remove spaces and punctuation, or write the letters in groups of five as classic cipher texts are.
  5. Copy the result or download it as a .txt file.

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!

Input
Hello, World!
Output
Svool, Dliow!

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.