Atbash Cipher — Reverse Alphabet Decoder & Encoder

The Atbash cipher is one of the oldest known ciphers — a reverse alphabet substitution that maps A↔Z, B↔Y, C↔X, and so on. Originally used in ancient Hebrew texts including the Bible, this monoalphabetic mirror cipher is self-inverse: the same operation encrypts and decrypts your text. Use this free Atbash cipher decoder and translator to convert any message instantly.

"HELLO""SVOOL"(Mirror)
Bidirectional- Same process for encrypt & decrypt
Result
0 characters
Character Sets:
LettersNumbersSpecial

Character Mapping

Letter Mapping (A ↔ Z)

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

Advanced Atbash Cipher Tools

Frequently Asked Questions About Atbash Cipher

What is the atbash formula?

The Atbash formula reverses the alphabet: position = alphabet_length - 1 - original_position. For English, A (position 0) becomes Z (position 25), B becomes Y, and so on.

What is atbash used for?

Originally used in Hebrew texts and biblical manuscripts, Atbash is now used for education, puzzles, and learning classical cryptography principles.

How to use atbash code?

Replace each letter with its mirror position in the alphabet. A↔Z, B↔Y, C↔X, and so on. Our online tool automates the conversion instantly.

What is the Atbash cipher technique?

Atbash is a monoalphabetic substitution cipher that maps each letter to its mirror position. It is self-inverse, so applying it twice returns the original text.

Where is Atbash found in the Bible?

Atbash appears in Jeremiah 25:26 where "Sheshach" (ששך) encodes "Babel" (בבל), and in Jeremiah 51:1 where "Leb Kamai" encodes "Kasdim" (Chaldeans).

Is Atbash secure for modern use?

No. Atbash has no key and can be broken easily through pattern recognition. Today it is useful only for historical and educational purposes.

What is the Atbash cipher?

The Atbash cipher is a monoalphabetic substitution cipher that reverses the alphabet so A becomes Z, B becomes Y, and so on. It originated in ancient Hebrew cryptography and appears in the Book of Jeremiah.

How do you decode an Atbash cipher?

Replace each letter with its reverse-alphabet counterpart. Because Atbash is self-inverse, decoding is identical to encoding. For example, SVOOL decodes to HELLO.

What is a reverse alphabet cipher?

A reverse alphabet cipher, also called Atbash or a mirror cipher, maps each letter to the opposite end of the alphabet. It is one of the simplest classical ciphers.

How is Atbash cipher different from Caesar cipher?

Atbash always uses the same fixed reversed alphabet and requires no key. Caesar cipher shifts letters by a configurable number of positions and therefore has multiple possible keys.

Atbash Cipher: Ancient Hebrew Mirror Encryption - Free Online Tool

The Atbash cipher (Hebrew: אתבש) is one of the oldest known encryption methods in human history, dating back to at least 500-600 BCE. This ancient Hebrew cipher was originally used by Hebrew scribes to encode sensitive information in biblical texts and other important documents, making it a cornerstone of classical cryptography and ancient encryption techniques.

This reverse alphabet cipher is also known as the mirror cipher because it works by substituting each letter with its mirror position in the alphabet. As a monoalphabetic substitution cipher, Atbash represents humanity's earliest attempts at secure communication and information hiding.

What is the Atbash Cipher? - Ancient Encryption Explained

Atbash is a monoalphabetic substitution cipher that works by simply reversing the alphabet. The first letter becomes the last letter, the second becomes the second-to-last, and so on. This ancient encryption technique is elegantly simple yet historically significant, making it perfect for cryptography education and beginners learning encryption.

The Name's Origin

The word "Atbash" itself demonstrates the cipher's principle. It combines:

  • Aleph (א) - first letter of Hebrew alphabet
  • Tav (ת) - last letter of Hebrew alphabet
  • Beth (ב) - second letter of Hebrew alphabet
  • Shin (ש) - second-to-last letter of Hebrew alphabet

Taking the first letters: A-T-B-SH = Atbash

How the Atbash Cipher Works

Basic Algorithm

The transformation is straightforward:

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

Each letter maps to its mirror position:

  • Position formula: For letter at position i, encrypted position = alphabet_length - 1 - i
  • English: A (position 0) → Z (position 25), B (position 1) → Y (position 24)

Free Online Atbash Cipher Tool - Encrypt & Decrypt Text

How to Use Our Atbash Encoder/Decoder

Our free online Atbash cipher tool preserves the traditional algorithm while adding modern conveniences for easy text encryption and message decoding:

  1. Bidirectional Text Processing: Since Atbash is self-inverse cipher, the same process encrypts and decrypts messages
  2. Real-time Encryption: See instant results as you type - perfect for quick encoding
  3. Multiple Character Sets: Extend beyond letters to include numbers and symbols encryption
  4. Educational Tool: Perfect for learning cryptography and understanding ancient codes
Character Set Support
Letters (Always Active)
Plaintext:  HELLO WORLD
Ciphertext: SVOOL DLIOW
Numbers (Optional)

When enabled, numbers reverse too:

Original: 0 1 2 3 4 5 6 7 8 9
Atbash:   9 8 7 6 5 4 3 2 1 0

Example:
Plaintext:  SECRET123
Ciphertext: HVXIVG876
Special Characters (Optional)

Punctuation marks also get the mirror treatment:

Original: ! @ # $ % ^ & * ( )
Atbash:   ) ( * & ^ % $ # @ !

Example:
Plaintext:  HELLO, WORLD!
Ciphertext: SVOOL, DLIOW)
Character Mapping Display

Our tool shows you exactly how each character transforms, making the cipher's logic transparent and educational.

Atbash Cipher Examples and Practice - Learn to Encrypt Messages

Simple Word Encryption Examples
CAT → XZG          (Pet animals)
DOG → WLT          (Common pets)
LOVE → OLEZ        (Emotions)
PEACE → KVZXV      (Abstract concepts)
HELLO → SVOOL      (Greetings)
SECRET → HVXIVG    (Hidden messages)
Complete Sentence Encoding
Plaintext:  THE QUICK BROWN FOX JUMPS
Ciphertext: GSV JFRXP YILDM ULC QFNKH

Plaintext:  MEET AT DAWN FOR SECRET
Ciphertext: NVVG ZG WZME ULI HVXIVG

Plaintext:  ANCIENT HEBREW CIPHER CODE
Ciphertext: ZMXRVMG SVYIVD XRKSVI XLWV

Why Learn Atbash? - Educational and Cultural Value

Despite its cryptographic weaknesses, Atbash remains valuable for:

  • Cryptography Education: Teaching basic encryption principles to beginners
  • Historical Understanding: Connecting to ancient encryption history
  • Puzzle and Game Applications: Recreational cryptography and cipher puzzles
  • Cultural and Religious Studies: Understanding biblical codes and historical texts
  • Academic Research: Studying early cryptographic methods and ancient communication

Interesting Facts

  • Age: Over 2,500 years old, making it one of humanity's oldest ciphers
  • Self-inverse: Encrypting an already encrypted message decrypts it
  • Zero key: No secret information needed beyond knowing the method
  • Universal: Works with any alphabet that has a defined order
  • Speed: Can be done entirely by hand with no tools

If you're interested in Atbash encryption, explore these related cipher techniques:

  • Caesar Cipher: Simple shift-based substitution cipher - perfect for beginners learning cryptography
  • Caesar Cipher Auto Decoder: Automatically decode encrypted messages with all possible shifts
  • ROT13: Modern 13-position rotation cipher - popular in online forums and a special case of Caesar cipher
  • Simple Substitution Cipher: Keyword-based alphabet scrambling - more secure variation of monoalphabetic ciphers
  • Affine Cipher: Mathematical substitution formulas - combines multiplication and addition, includes Atbash as special case
  • Vigenère Cipher: Polyalphabetic encryption - multiple alphabet substitution for enhanced security
  • Playfair Cipher: Digraph substitution - encrypts letter pairs instead of single letters

Further Reading

Explore the Atbash cipher's fascinating origins and deeper cryptanalysis: