Atbash Cipher

Encrypt and decrypt text with the Atbash cipher by mirroring letters across the selected alphabet. One of the oldest known substitution ciphers in classical cryptography.

Input
0 chars · 0 bytes
Try:
Result
✓ Self-reciprocal: encrypting again decrypts ✓ No key required ✓ Multiple alphabets supported ✓ We never store your messages
Examples
Encrypt HELLO WORLD
Input HELLO WORLD
Output SVOOL DLIOW

Alphabet: English. Atbash replaces letters with mirrored positions.

Decrypt SVOOL DLIOW
Input SVOOL DLIOW
Output HELLO WORLD

Alphabet: English. Applying Atbash again restores original text.

Preserve spaces and punctuation
Input HELLO, WORLD!
Output SVOOL, DLIOW!

Letters are mirrored while spaces and punctuation remain unchanged.

Mirror the entire alphabet
Input ABCDEFGHIJKLMNOPQRSTUVWXYZ
Output ZYXWVUTSRQPONMLKJIHGFEDCBA

A complete Atbash alphabet mapping example.

How Atbash cipher works

The Atbash cipher replaces every letter with its opposite position in the alphabet. In the English alphabet, A becomes Z, B becomes Y, C becomes X, and so on.

Unlike most classical ciphers, Atbash does not require a key. The substitution is fixed and always follows the same mirrored alphabet pattern.

Atbash is self-reciprocal, meaning the same operation is used for both encryption and decryption. Applying the cipher twice restores the original text.

History of the Atbash cipher

Atbash originated in the ancient Hebrew alphabet and is considered one of the earliest known substitution ciphers. It was used by reversing the order of alphabet letters and replacing each symbol with its mirrored counterpart.

Today, Atbash is primarily used for education, puzzles, and historical demonstrations of classical cryptography.

FAQ

No. Atbash is a classical monoalphabetic substitution and is easy to break with frequency analysis.

Because Atbash uses a perfectly mirrored alphabet. Applying the same substitution a second time returns every letter to its original position.

Yes. Choose the appropriate alphabet in settings and the tool will mirror letters within it.

No. Atbash uses a fixed mirrored alphabet and does not require a key or password.

Caesar shifts letters by a chosen number of positions, while Atbash always mirrors letters across the alphabet. Atbash therefore requires no key or configuration.

Yes. Spaces, punctuation marks, and numbers remain unchanged while letters are mirrored.
Related tools

Caesar Cipher

Classic letter-shift cipher with custom shift values.

Playfair Cipher

Classic digraph substitution cipher with keyword matrix encryption.

Vigenere Cipher

Keyword-based polyalphabetic encryption and decryption.

Vernam Cipher

XOR-based Vernam encryption with Base64 output.