Skip to content
Test versionSearch

Developer tools

Atbash ASCII alphabet reflection

Apply the Atbash cipher to text: each ASCII letter A–Z is reflected by index 25−x, case is kept and the same operation reverses it. Educational only.

How it worksFAQRelated tools

Content reviewed:

The example values can be changed. Press Calculate to update the result; you can download it as TXT or CSV and collect scenarios in this tab. Nothing is saved or sent automatically.

Reflect ASCII A–Z by index 25−x. Same operation reverses it; case preserved. Educational/puzzle transformations, no protection for confidential data. Input 400 UTF16 units (Caesar all mode 200), result 500 characters each; no controls or unpaired surrogates. No Unicode transliteration. Press Calculate to update the result; you can download it as TXT or CSV. JSON and HTML downloads include your inputs and the numbers as calculated. Live calculation is off unless you switch it on. Nothing is saved or sent automatically.

Decimal results are approximate. Inputs stay in this browser tab.

How it works

Own declared arithmetic text shifts, substitutions and code-point permutations; educational only. Own structured JSON/result-row TXT/printable HTML files retain original inputs, options and result values. Reflect ASCII A–Z by index 25−x. Same operation reverses it; case preserved. Educational/puzzle transformations, no protection for confidential data. Input 400 UTF16 units (Caesar all mode 200), result 500 characters each; no controls or unpaired surrogates. No Unicode transliteration. Press Calculate to update the result; you can download it as TXT or CSV. JSON and HTML downloads include your inputs and the numbers as calculated. Live calculation is off unless you switch it on. Nothing is saved or sent automatically.

Worked example

With these example values the calculator gives the result below. You can change any value in the form above.

Inputs

Text or encoded input
AbZ äß🚀
Numeric count display: 0–12 places
6

Result

Result text
ZyA äß🚀
Result code points
7

Frequently asked questions

How does the Atbash cipher work?

Atbash reflects the ASCII letters A to Z by index, so letter x becomes 25 − x: A becomes Z, B becomes Y and so on. Letter case is preserved.

How do I decode Atbash?

Apply the same Atbash operation again. Reflecting the alphabet twice returns the original text.

What does the Atbash example produce?

The example text AbZ becomes ZyA. Non-ASCII characters such as ä and ß stay unchanged.

What are the input limits for Atbash?

Input is limited to 400 UTF-16 units and each result to 500 characters, with no control characters or unpaired surrogates.

Is Atbash suitable for protecting secret text?

No. Atbash is an educational and puzzle transformation with no protection for confidential data.