Atbash cipher

Swap A↔Z, B↔Y to encode or decode.

0 lines · 0 characters

0 lines · 0 characters

Results update as you type.

Runs in your browser. Nothing uploaded.

How to encode or decode Atbash

  1. Type or paste your text into Input.
  2. Each letter is swapped with its mirror in the alphabet as you type: A with Z, B with Y, M with N.
  3. Copy the result. To decode Atbash, paste it in exactly the same way.

Where Atbash comes from

Atbash began as a substitution for the Hebrew alphabet. Its name spells out how it works: aleph, the first letter, swaps with tav, the last, and bet, the second, swaps with shin, the second to last. It appears in the Book of Jeremiah, where the name “Sheshach” is generally read as Atbash for Babel.

The Atbash table

A B C D E F G H I J K L M
Z Y X W V U T S R Q P O N

Read down a column to swap a letter. M and N meet in the middle and swap with each other, so no letter ever stays the same. Because there is only one Atbash alphabet, there’s no key and no security at all. It’s for puzzles, escape rooms and history lessons.