November 10, 2026

Atbash Cipher

The Atbash cipher is one of the oldest ciphers in existence, dating back to ancient Hebrew texts. Its rule could hardly be simpler: reverse the alphabet, so A becomes Z, B becomes Y, C becomes X, and so on through to Z becoming A. Because the mapping is its own inverse, the exact same operation both encodes and decodes a message — run a ciphertext through the tool a second time and the original plaintext comes back. That symmetry makes Atbash a wonderful teaching cipher: it demonstrates substitution, symmetry and frequency analysis in a single example, and it is easy enough to do by hand that students can check the tool against their own working. It is not secure by modern standards — any reader who recognises the pattern can reverse it instantly — but as a puzzle, a classroom demonstration or a layer inside a more complex code, it remains genuinely useful and fun.

Quick Answer: Type or paste your text and it is converted with the reversed alphabet instantly — A becomes Z, B becomes Y — and applying the same step again decodes it.

Free Online Tool

Atbash Cipher



How to Use the Atbash Cipher

  1. Type or paste the message you want to encode or decode.
  2. The result updates automatically as you type.
  3. Read the converted text in the output box below.
  4. Press Copy Result to copy the converted text elsewhere.
  5. To decode an Atbash message, paste it in and read the output — the same operation reverses it.

Key Features

  • Instant conversion as you type, no button press needed
  • Works on both encoding and decoding, since Atbash is self-inverse
  • Preserves numbers, punctuation, spaces and capital letters
  • Handles the full alphabet in both upper and lower case
  • Runs entirely in your browser, so messages stay private

Best Practices and Tips

  • Remember the mirror trick: A and Z are partners, as are B and Y — check the first and last letters to confirm a message is Atbash.
  • Use Atbash as a first layer in a puzzle chain, then add a second cipher for real difficulty.
  • Capital letters stay capital and lower case stays lower case, which helps solvers spot word shapes.
  • If a decoded message still looks wrong, it may be a different cipher — try a Caesar shift next.
  • Atbash is great for hiding spoilers or puzzle answers from casual readers without any software.

Common Mistakes to Avoid

  • Assuming Atbash is secure: it is a puzzle cipher, not encryption, and anyone can reverse it.
  • Forgetting that digits and punctuation are untouched, which can leak word lengths and structure.
  • Encoding only part of a message, which makes the result impossible to decode cleanly.
  • Confusing Atbash with ROT13, which shifts by 13 places rather than mirroring the alphabet.

Frequently Asked Questions

What is the Atbash cipher?

Atbash is an ancient substitution cipher that maps each letter to its mirror image in the alphabet: A to Z, B to Y, C to X, and so on. It is one of the earliest ciphers known, appearing in Hebrew writings, and it is still used today in puzzles and teaching.

How do I decode an Atbash message?

Apply exactly the same operation again. Because the alphabet is simply reversed, encoding a ciphertext a second time restores the original plaintext. Paste the coded message into this tool and the output is the decoded text.

Does Atbash change numbers or punctuation?

No. Only the 26 letters of the alphabet are substituted. Digits, spaces, punctuation and other characters pass through unchanged, which also means word lengths and sentence shapes remain visible.

Is Atbash the same as ROT13?

No, although both are self-inverse. ROT13 shifts every letter 13 places forward, while Atbash mirrors the alphabet. They give different results: ROT13 turns A into N, whereas Atbash turns A into Z.

Is the Atbash cipher secure?

Not by modern standards. It has no key, so anyone who recognises the pattern can decode a message instantly. Use it for puzzles, games and learning — never for genuinely sensitive information.

Related Tools