🔄 Atbash Cipher
Encrypt and decrypt text using the Atbash cipher. Reverses the alphabet so A maps to Z, B to Y, and so on.
About the Atbash Cipher
The Atbash cipher is a classical substitution cipher originally used for the Hebrew alphabet. It maps each letter to its reverse counterpart in the alphabet: A becomes Z, B becomes Y, C becomes X, and so on. Because the same operation reverses itself, encryption and decryption are identical. This tool runs entirely in your browser — nothing is uploaded.
How it works
- Each letter is replaced by the letter at the opposite position in the alphabet.
- A ↔ Z, B ↔ Y, C ↔ X, ..., M ↔ N, and the same mapping in lowercase.
- Letter case is preserved; non-letter characters (digits, punctuation, spaces) are left unchanged.
- Applying the transform twice returns the original text, so one button handles both encrypt and decrypt.
Use cases
- Teaching the concept of monoalphabetic substitution ciphers.
- Creating lightweight puzzles, riddles, and educational exercises.
- Adding a touch of historical flavor to escape-room clues.
- Quick obfuscation of casual text where security is not required.
Frequently asked questions
Is the Atbash cipher secure? No. It has only one fixed key, so anyone who knows the method can read the message instantly. Use it for fun and learning, not for protecting sensitive data.
Does this tool upload my text? No. All transformation happens locally in your browser.
Why is there no mode selector? Atbash is its own inverse: encoding and decoding use the same operation, so a single Execute button covers both.
Can I encrypt non-English text? Only the 26 letters A-Z (and a-z) are transformed. Other scripts and symbols pass through unchanged.