Since 2010 · Powering 2M+ tool runs every month
Since 2010
Add to Chrome

My Toolbox

Automatic Mode

No saved tools yet.

Go Premium
Related tools
Next step
Caesar Cipher Tool
More tools
Cryptogram GeneratorVigenère Cipher ToolROT13 Encoder/Decoder
Home Page > Miscellaneous > Encoders And Decoders

Atbash Cipher Tool

An Atbash substitution mirrors characters across an alphabet, so applying it again reverses the transformation. MiniWebtool’s Atbash Cipher Tool lets you choose a variant and case handling, with a character-by-character view of the substitutions.

Need help using this tool? Ask AI

For Gemini, paste the copied question into the chat. You can also copy it below.

View the question

Free to useNo sign-up requiredInstant Results
Atbash Cipher ToolTry it now — free ▼
Atbash mirrors the alphabet (A↔Z, B↔Y, …): Hello World → Svool Dliow

Type or paste text and pick Latin, Latin with digits or Hebrew Atbash to get the mirrored text with its character pairs; run it again to decode.

Quick examples
Paste any text. Atbash mirrors A↔Z, B↔Y, C↔X, … The same button encodes and decodes — apply it twice and you get the original back.

Embed Atbash Cipher Tool Widget

About Atbash Cipher Tool

This Atbash Cipher Tool encodes and decodes the world's oldest substitution cipher — the mirror alphabet from the Hebrew Bible. Type any text and watch the live mirror visualization pair each letter with its reflection (A↔Z, B↔Y, C↔X). You get a character-by-character before/after view, statistics, a round-trip proof that Atbash is self-inverse, and a side-by-side lab comparing the classic Latin variant, the digit-mirror variant, and the original biblical Hebrew Atbash.

At a Glance

Atbash Cipher Tool encodes and decodes text with the Atbash mirror cipher, which swaps A with Z, B with Y and so on. It offers Latin, Latin-plus-digits and Hebrew variants and shows each character's substitution.

Atbash Cipher Tool: features at a glance
FeatureWhat you getGood for
Classic AtbashMirrors the 26 Latin letters (A↔Z, B↔Y, M↔N). Digits, spaces and punctuation pass through unchanged.Puzzles, spoilers and cipher warm-ups
Digit mirroringThe digits variant also swaps 0↔9, 1↔8, 2↔7, 3↔6 and 4↔5.Hiding serial numbers and dates along with words
Hebrew AtbashApplies the biblical mapping over the 22-letter Hebrew alphabet, such as Aleph↔Tav and Beth↔Shin.Studying references such as Babel to Sheshach in Jeremiah
Encode and decodeThe same button does both, because applying Atbash twice returns the original. A round-trip proof is shown.Decoding Atbash ciphertext you were given
Case handlingKeeps the original letter case, or untick the option to normalize to uppercase before mirroring.Choosing how the output is formatted
Character viewA character-by-character before and after view, with a grid of the distinct substitutions used.Learning how each letter maps
Variant labShows the same input in every variant side by side.Comparing the variants on one text

The Mirror Pair Table (Latin Atbash)

Atbash is defined by 13 mirror pairs. Each plain letter swaps with its partner across the alphabet:

A↔Z pair #1
B↔Y pair #2
C↔X pair #3
D↔W pair #4
E↔V pair #5
F↔U pair #6
G↔T pair #7
H↔S pair #8
I↔R pair #9
J↔Q pair #10
K↔P pair #11
L↔O pair #12
M↔N pair #13

The Original Hebrew Atbash

The cipher's name comes from its own Hebrew description: Aleph (א) maps to Tav (ת), Beth (ב) maps to Shin (ש). Spell those four letters together: A-T-B-Sh → אתבש → Atbash. Here are the eleven Hebrew mirror pairs:

א↔ת Aleph ↔ Tav
ב↔ש Beth ↔ Shin
ג↔ר Gimel ↔ Resh
ד↔ק Daleth ↔ Qoph
ה↔צ He ↔ Tsade
ו↔פ Vav ↔ Pe
ז↔ע Zayin ↔ Ayin
ח↔ס Heth ↔ Samekh
ט↔נ Teth ↔ Nun
י↔מ Yod ↔ Mem
כ↔ל Kaph ↔ Lamed

How to Use the Atbash Cipher Tool

  1. Type or paste your plain text or Atbash ciphertext into the input box. The live mirror visualization on the right pairs the latest letter with its mirror partner in real time.
  2. Pick a variant. Atbash mirrors Latin letters only. Atbash + Digits also mirrors 0-9 onto 9-0 — useful for hiding ID numbers along with words. Hebrew Atbash applies the original biblical mapping to Hebrew text.
  3. Click Apply Atbash. The full output appears below with the character-by-character mirror, a unique-substitution grid, statistics, and a round-trip proof that Atbash is its own inverse.
  4. Use the Copy buttons to grab the ciphered text or the original. To decode Atbash, paste the ciphertext and click Apply Atbash again — no separate decode button is needed.

Three Variants Explained

Atbash (classic)Mirrors the 26 Latin letters: A↔Z, B↔Y, … M↔N. Digits, spaces, and punctuation pass through unchanged.Best for: puzzles, spoilers, CTF warm-ups, teaching substitution ciphers.
Atbash + DigitsAdds digit mirroring on top of letter mirroring: 0↔9, 1↔8, 2↔7, 3↔6, 4↔5. Both halves are self-inverse so the combination still is.Best for: text with serial numbers, dates, or order IDs you also want shielded.
Hebrew AtbashThe original biblical mapping over the 22-letter Hebrew alphabet: Aleph↔Tav, Beth↔Shin, Gimel↔Resh, …Best for: studying the Tanakh references in Jeremiah 25:26 and 51:41, or working with Hebrew puzzles.

The Babel → Sheshach Example (Jeremiah 25:26)

The earliest documented use of Atbash is in the Book of Jeremiah, where the prophet hides the name Babel (Babylon) as Sheshach. In Hebrew, Babel is spelled בבל (B-B-L). Under Atbash:

  • ב (Beth) ↔ ש (Shin)
  • ב (Beth) ↔ ש (Shin)
  • ל (Lamed) ↔ כ (Kaph)

So בבל becomes ששך — read as Sheshach. This is exactly the disguised name that appears in Jeremiah 25:26 and 51:41 of the Hebrew Bible. Try the "Babel → Sheshach" quick example above to see it in the live preview.

Why Atbash Is Its Own Inverse

Atbash is an involutory cipher because mirroring twice is the identity. Number the letters 0 through 25. The Atbash function is \( f(i) = 25 - i \). Applying it twice gives \( f(f(i)) = 25 - (25 - i) = i \), so you return to the start. The same identity holds for the digit mirror \( g(d) = 9 - d \) and for the 22-letter Hebrew alphabet \( h(i) = 21 - i \). One button encodes and decodes.

Atbash vs Caesar vs ROT13 — Quick Reference

Atbash Cipher Tool: Atbash vs Caesar vs ROT13 — Quick Reference
CipherTypeKeySelf-inverseHello
AtbashReflectionNone (fixed)YesSvool
Caesar (shift 3)RotationShift amountNoKhoor
ROT13Rotation (shift 13)Fixed at 13YesUryyb

The key difference: Caesar and ROT13 slide every letter by the same amount; Atbash reflects. With Atbash, A and Z swap (largest jump), while M and N swap (smallest jump). With Caesar/ROT13, every letter moves the same distance.

Hand-Computing Atbash in One Line

For Latin letters, the formula is: output = (25 − position) + 'A'. To do it in your head: count how far the letter is from A, then count back the same distance from Z. Examples:

  • A is position 0 → mirror is at position 25 from A → Z.
  • H is position 7 → mirror is at position 25 − 7 = 18 → S.
  • M is position 12 → mirror is at 25 − 12 = 13 → N. The middle pair barely moves.
  • Z is position 25 → mirror is at 0 → A. Symmetric.

Where Atbash Is Used Today

  • Biblical scholarship. Researchers translating the Hebrew Bible use Atbash to decode words like Sheshach (=Babel) and Leb Kamai (=Kasdim/Chaldea) in Jeremiah.
  • CTF and puzzle challenges. Capture-the-flag organizers often start with Atbash as a warm-up before harder classical-cipher rounds.
  • Escape rooms and ARGs. Game designers like Atbash because it needs no key and is easy to print on a single card.
  • Teaching cryptography. Atbash is the simplest non-trivial reflection cipher and is widely used in cryptography lectures alongside Caesar.
  • Spoiler protection. Like ROT13, Atbash hides text from a casual glance — but with a different visual signature, so it adds variety.

Security Notice

Atbash is not encryption. It is a reversible transformation that anyone can undo in seconds — by hand, on paper, or with a one-line script. There is no key, so the same mapping is shared by every user. Never use Atbash to protect passwords, personal data, financial information, or anything that should stay confidential. For real protection, use modern cryptography such as AES-256, ChaCha20, RSA, or libsodium. Treat Atbash as a way to obscure text, not to secure it.

Tips for Best Results

  • To decode Atbash ciphertext, paste it and click Apply Atbash again — the same button works because the cipher is self-inverse.
  • For mixed text with letters and numbers, use Atbash + Digits to also disguise the numbers.
  • If you want every letter to look the same regardless of case, untick "Preserve original case" and the tool will normalize to UPPER before mirroring.
  • For Hebrew Bible study, choose Hebrew Atbash and paste Hebrew text — final-form letters (ך, ם, ן, ף, ץ) are normalized to their standard forms before mirroring.
  • Non-ASCII characters that are not in the chosen alphabet (accented letters, CJK, emoji) pass through unchanged in every variant.

FAQ

What is the Atbash cipher?

Atbash is one of the oldest known substitution ciphers. It replaces every letter with its mirror across the alphabet — A becomes Z, B becomes Y, C becomes X, and so on. The cipher originated in ancient Hebrew, where Aleph (the first letter) maps to Tav (the last) and Beth maps to Shin. The name "Atbash" itself is built from these letters: A-T-B-Sh.

How does Atbash differ from ROT13 or Caesar?

Caesar and ROT13 are rotation ciphers — every letter shifts by the same offset (3 for classical Caesar, 13 for ROT13). Atbash is a reflection cipher — letters near the start map to letters near the end, while letters in the middle barely move (M↔N). Atbash has no key, while Caesar's key is the shift amount.

Is Atbash secure for real encryption?

No. Atbash has no key and only 26 possible letters, so it is trivially broken by frequency analysis or by simply trying the cipher once. Use it for puzzles, teaching, spoilers, and CTF warm-ups, not for protecting anything confidential.

Why is Atbash its own inverse?

Atbash is involutory because mirroring twice returns the original. If A maps to Z, then Z maps back to A. Mathematically, the mapping is \( f(i) = 25 - i \), and \( f(f(i)) = 25 - (25 - i) = i \). The same one-button operation encodes and decodes.

Where is Atbash used in the Bible?

The Book of Jeremiah uses Atbash to hide the name "Babel" (Babylon) as "Sheshach" (Jeremiah 25:26 and 51:41). The Hebrew letters of Babel — B-B-L — map under Atbash to Sh-Sh-K, which yields the disguised place name. This is the earliest documented use of the cipher.

Does Atbash preserve case and punctuation?

Yes. Uppercase letters map to uppercase, lowercase to lowercase. Spaces, digits, and punctuation pass through unchanged unless you switch to the Atbash + Digits variant, which also mirrors 0-9 onto 9-0.

Reference this content, page, or tool as:

"Atbash Cipher Tool" at https://MiniWebtool.com/atbash-cipher-tool/ from MiniWebtool, https://MiniWebtool.com/

by miniwebtool team. Updated: 2026-05-26

Chat with your favorite AI

For Gemini, paste the copied question into the chat. You can also copy it below.

View the question

Encoders And Decoders:

Top & Updated:

PDF Flatten ToolKnot Tying Reference ToolBase64 EncoderView all →
Home Page > Miscellaneous > Encoders And Decoders > Atbash Cipher Tool