Logo

MonoCalc

Atbash Cipher

Encode/Decode
Quick Insight
Atbash is its own inverse; applying the same transform again restores the original text.

Options and Presets

Load a ready-made Latin, Hebrew, or custom preset.
Choose Latin, Hebrew, or your own ordered character set.
Applied only to Latin letters.
Grouped mode keeps only active alphabet characters in blocks of 5.
Only used when Custom alphabet mode is selected.
Grouped output must be active before this setting matters.
Latin A-Z
Preserve Case
Keep Symbols
Digits Unchanged
Preserve Spaces
Plain Output

Input Text

Transformations update automatically with a short debounce.

Output Text

Copy uses the displayed output.

Atbash uses the same operation for encoding and decoding.

Mapping Table

SourceABCDEFGHIJKLMNOPQRSTUVWXYZ
MirroredZYXWVUTSRQPONMLKJIHGFEDCBA

Stats

Total
0
All characters
Letters
0
Unicode letters
Digits
0
0-9 characters
Symbols
0
Punctuation and emojis
Spaces
0
Whitespace characters
Coverage
0%
0 transformed

About This Tool

What the Atbash cipher does

The Atbash cipher is one of the oldest substitution systems in written history. Instead of shifting letters forward like Caesar or ROT-style ciphers, Atbash mirrors a character against the end of its alphabet. In the English alphabet that means A becomes Z, B becomes Y, and so on. In Hebrew, the same reversal principle creates the original historical form of Atbash.

This Atbash cipher tool lets you work with English Latin text, Hebrew text, and even a fully custom alphabet that you define yourself. Because Atbash is its own inverse, the same transform works for both encoding and decoding. Apply it once to scramble the text, and apply it again to recover the source.

Why people use Atbash

Atbash is useful for educational demos, puzzle design, escape-room clues, lightweight obfuscation, and language learning. It is also a good way to explain how monoalphabetic substitution works because the rule is easy to verify visually from a mapping table.

This is not modern encryption. Anyone who knows the alphabet or sees a few examples can reverse it. Use it for curiosity, classic cryptography exercises, or playful text transformations, not for secrecy.

What makes this tool practical

The interface gives you real-time output, a full alphabet mapping table, grouped 5-character ciphertext formatting, clipboard copy, downloads, and shareable links. You can keep punctuation intact, strip it out, or replace it with spaces depending on how traditional or readable you want the output to be.

Everything runs client-side in the browser, so nothing is uploaded when you transform text. That makes the tool fast, private, and easy to use on both desktop and mobile.

Latin, Hebrew, and custom alphabet support

For Latin text, the tool supports case-preserving output plus forced uppercase or forced lowercase modes. That makes it useful both for readable notes and for traditional all-caps ciphertext styling. If you switch to grouped output, the tool strips everything outside the active alphabet and presents the result in classic 5-character blocks.

Hebrew mode follows the original Atbash idea with the standard 22-letter order. Final letters are normalized for mapping and can be restored at word endings so the output still reads naturally. This matters for letters such as ך, ם, ן, ף, and ץ.

Custom alphabet mode lets you define any ordered set of unique characters. That means you can build mirrored transforms for uppercase letters only, lowercase letters only, mixed symbol alphabets, classroom exercises, or puzzle-specific character sets. The only rule is that each character must appear once.

Options that change the result

Atbash output depends on more than the alphabet itself. Non-letter handling controls whether punctuation, emojis, and symbols stay in place, disappear, or become spaces. Separate digit handling lets you either keep numbers untouched or mirror them as an optional 0↔9, 1↔8, 2↔7 pattern. Whitespace normalization is helpful if you want neat results from pasted paragraphs or copied chat logs.

The statistics panel helps you understand what changed. You can see how many letters, digits, symbols, and spaces were present in the source and what share of characters were actively transformed. That is especially helpful when you are testing custom alphabets or using grouped output that intentionally removes content.

Example transformations

A classic English example is HELLO WORLD becoming SVOOL DLIOW. If you run the transform a second time, the original text comes back immediately. Hebrew works the same way, but with its own letter order and optional final-form handling.

If you need a playful demo, define a custom alphabet like abc123. The first character mirrors the last, the second mirrors the second-to-last, and the center stays fixed when the alphabet length is odd. That makes custom mode useful for puzzle authors, teachers, and anyone experimenting with reversible substitution rules.

Frequently Asked Questions

Is the Atbash Cipher free?

Yes, Atbash Cipher is totally free :)

Can I use the Atbash Cipher offline?

Yes, you can install the webapp as PWA.

Is it safe to use Atbash Cipher?

Yes, any data related to Atbash Cipher only stored in your browser (if storage required). You can simply clear browser cache to clear all the stored data. We do not store any data on server.

Is the Atbash cipher secure?

No. Atbash is a historical monoalphabetic substitution cipher that is trivially broken by frequency analysis or brute force. It should only be used for fun, puzzles, or educational demonstrations—never for protecting sensitive information.

Why is my punctuation unchanged?

Atbash only maps characters in the chosen alphabet by design. Characters outside the active alphabet (digits, punctuation, whitespace, emojis) are handled according to the 'Non-letter Handling' option—you can keep them as-is, remove them, or replace them with spaces.

Can I use my own character set?

Yes. Select 'Custom' alphabet mode and enter any ordered string of unique characters. The cipher will mirror characters within that exact set, so the first character maps to the last, the second to the second-to-last, and so on.

Does applying Atbash twice restore the original text?

Yes! Atbash is its own inverse (an involution). Encoding and decoding are the same operation: apply it once to encode, apply it again to get back the original text.

How are Hebrew final forms handled?

Hebrew has five letters with special forms used at the end of a word (ך, ם, ן, ף, ץ). When mapping, these are treated as their base forms (כ, מ, נ, פ, צ). If 'Preserve final forms' is enabled, the output will reapply the appropriate final form to word-ending characters.

What is the Grouped output format?

Grouped mode outputs the ciphered letters in classic 5-character blocks separated by spaces (e.g., 'SVOOL DLIOW'), stripping all non-letters. This is the traditional way to present classical ciphertexts.