HomeCiphers › Atbash

Atbash

The alphabet backwards, so A becomes Z. No key at all, and scribes were using it thousands of years ago.

Rail Fence

Press Run it to start the machine.
0 / 0
Result

How it works

Write the alphabet forwards, then write it again underneath backwards. Every letter swaps for the one below it. There is no key and nothing to remember: A pairs with Z, B with Y, and so on to the middle.

  1. Write A to Z.
  2. Write Z to A underneath.
  3. Swap every letter for the one below.

Because the pairing works both ways, encoding and decoding are the same job. That is also its weakness: anyone who has seen it once can read it forever.

The story

The ancient Near East

A cipher hidden inside a holy book

Hebrew scribes swapped the first letter of the alphabet for the last, the second for the second last, and so on. It appears in the book of Jeremiah, where the word Sheshach stands for Babel — Babylon. Nobody knows whether it was meant as a secret, a scribal game, or a way of naming a dangerous place without writing it down. It is the oldest cipher on this site, and the only one with no key at all.

Crack these

What did one wall say to the other?
Why do bees have sticky hair?
← Playfair All the ciphers Bacon's Cipher →

Take it off the screen

Print this page and you get a worksheet: how the cipher works, where it came from, and the puzzles to crack, with the machine and the menus left off.

Print this page as a worksheet Try the challenges

Read more elsewhere

Longer, harder and written for grown-ups. Worth a look when this page runs out.

Substitution ciphers