Atbash Cipher: Ancient Hebrew Reverse Alphabet Encryption

The Atbash cipher is one of the oldest known substitution ciphers, originally used in ancient Hebrew texts. It works by replacing each letter with its mirror position in the alphabet (A↔Z, B↔Y, C↔X, etc.), making it a simple yet historically significant encryption method.

Input Text

Enter text to process with Atbash cipher
0 characters

Atbash Result

Processed text with reverse alphabet substitution

Alphabet Mapping

Each letter is replaced with its mirror position in the alphabet:
Mirror Position Substitution - Each letter maps to its reverse position:
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

Text Statistics

0
Total Characters
0
Letters Converted
0
Unchanged Chars
0
Words

Quick Examples

About the Atbash Cipher

The Atbash cipher is one of the oldest known substitution ciphers, originating from ancient Hebrew texts around 500-600 BCE. It's incredibly simple: each letter is replaced with its mirror position in the alphabet.

Key Features:

  • • Self-inverse (decrypt = encrypt)
  • • No key required
  • • Simple mirror substitution
  • • Ancient biblical origins

Modern Uses:

  • • Educational demonstrations
  • • Puzzle creation
  • • Historical text analysis
  • • Simple obfuscation

What is the Atbash Cipher?

The Atbash Cipher is an ancient substitution cipher that originated in Hebrew texts around 500-600 BCE. The name "Atbash" comes from the first, last, second, and second-to-last letters of the Hebrew alphabet (Aleph-Tav-Bet-Shin). This cipher replaces each letter with its corresponding letter from the reverse alphabet.

The substitution pattern is simple:

  • A becomes Z, B becomes Y, C becomes X...
  • Z becomes A, Y becomes B, X becomes C...
  • The cipher is its own inverse
  • No key required - the algorithm is the key

Example: "HELLO" becomes "SVOOL"

Atbash Cipher example showing reverse alphabet substitution pattern
Atbash cipher reverse alphabet mapping

Features of Our Atbash Cipher Tool:

  • Instant processing - Real-time encryption/decryption as you type
  • Self-inverse operation - Same process for both encrypt and decrypt
  • Case preservation - Maintains original capitalization
  • Non-alphabetic handling - Numbers and symbols remain unchanged
  • Historical accuracy - Implements the traditional Atbash method
  • Visual alphabet mapping - Shows the substitution pattern
  • 100% client-side processing - Your data never leaves your browser
  • Educational information - Learn about this ancient cipher

How to Use the Atbash Cipher Tool

1. Enter Your Text

Type or paste the text you want to process. The Atbash cipher works the same way for both encryption and decryption.

2. View Results Instantly

The tool automatically processes your text in real-time. Each letter is replaced with its mirror position in the alphabet.

3. Copy or Clear

Use the copy button to copy the result to your clipboard, or clear to start over with new text.

Atbash Alphabet Mapping

Original Atbash
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
N O P Q R S T U V W X Y Z M L P O I H G F E D C B A

Practical Examples of Atbash Cipher

Original Text Atbash Result
HELLO SVOOL
SECRET HVXIVG
ATBASH ZGYZHS
CIPHER XRKSVI

History and Biblical Significance

The Atbash cipher has a rich historical background, particularly in Hebrew and biblical texts:

Biblical Usage

The Atbash cipher appears in the Hebrew Bible (Old Testament), particularly in the Book of Jeremiah. Examples include:

  • Jeremiah 25:26 - "Sheshach" (ששך) is Atbash for "Babel" (בבל)
  • Jeremiah 51:1 - "Leb Kamai" (לב קמי) is Atbash for "Kasdim" (כשדים), meaning Chaldeans

Historical Context

Ancient Hebrew scribes used Atbash for various purposes:

  • Concealing sensitive place names and terms
  • Creating wordplay and literary devices
  • Adding layers of meaning to religious texts
  • Protecting information from foreign readers

Advantages and Disadvantages

Advantages

  • Extremely simple to implement and use
  • No key management required
  • Self-inverse (same process for encrypt/decrypt)
  • Fast manual calculation
  • Historical and educational significance
  • Works with any alphabet

Disadvantages

  • Very weak security - easily broken
  • No variation in encryption method
  • Vulnerable to frequency analysis
  • Pattern becomes obvious with longer text
  • Not suitable for any real security needs
  • Completely predictable substitution

Modern Uses for Atbash Cipher

While not suitable for securing sensitive information, the Atbash Cipher has several modern applications:

  • Educational tool for learning basic cryptography concepts
  • Puzzle creation and recreational cryptography
  • Historical and biblical text analysis
  • Simple obfuscation for non-sensitive data
  • Children's coding games and activities
  • Literary devices and wordplay
  • Introduction to substitution cipher concepts
  • Demonstration of ancient encryption methods

Security Notice: The Atbash Cipher provides no real security and should only be used for educational purposes, puzzles, or simple obfuscation.

If you're interested in the Atbash Cipher, explore these related cryptographic techniques:

Caesar Cipher

Another simple substitution cipher that shifts letters by a fixed number of positions in the alphabet.

Try our Caesar Cipher tool →

ROT13

A special case of Caesar cipher with a 13-position shift, commonly used in online forums.

Try our ROT13 tool →

Frequently Asked Questions

How secure is the Atbash Cipher?

The Atbash Cipher provides no real security. It's a simple substitution that can be easily broken through pattern recognition or frequency analysis. It should only be used for educational purposes or simple puzzles.

Why is Atbash called a "self-inverse" cipher?

Atbash is self-inverse because applying the cipher twice returns the original text. If you encrypt "HELLO" to get "SVOOL", then encrypting "SVOOL" gives you back "HELLO".

Is Atbash the same in all languages?

The principle is the same, but the specific letter mappings depend on the alphabet being used. Our tool implements the English version (A↔Z, B↔Y, etc.).

Can I use Atbash for numbers or symbols?

Traditional Atbash only works with letters. Numbers, spaces, and punctuation are typically left unchanged, which is how our tool implements it.

Where can I find Atbash in the Bible?

The most famous examples are in the Book of Jeremiah, where "Sheshach" is used as Atbash for "Babel" and "Leb Kamai" for "Kasdim" (Chaldeans).

Mathematical Formula

The Atbash cipher can be expressed mathematically as:

For alphabet positions 0-25:

Atbash(x) = 25 - x

Where x is the position of the letter in the alphabet (A=0, B=1, ..., Z=25)

This formula shows why Atbash is self-inverse: applying it twice gives you back the original position.