Atbash Cipher
Encode and decode messages using the ancient Atbash substitution cipher, reversing the alphabet so that A maps to Z, B maps to Y, and C maps to X.
Desglose del Cálculo
Acerca de Atbash Cipher
The Atbash cipher is an ancient monoalphabetic substitution cipher originally developed for the 22-letter Hebrew alphabet. Its name derives from the first, last, second, and second-to-last letters of the Hebrew alphabet: Aleph (A), Tav (T), Beth (B), and Shin (Sh)—representing the substitution pattern A↔T and B↔Sh.
When applied to the 26-letter Latin alphabet, Atbash mirrors the alphabet symmetrically: the 1st letter (A) swaps with the 26th letter (Z), the 2nd letter (B) swaps with the 25th letter (Y), and the 13th letter (M) swaps with the 14th letter (N).
Like ROT13, the Atbash cipher is an involution (a self-inverting function): running ciphertext through Atbash a second time immediately restores the plaintext.
Cómo usar esta herramienta
- Introduce el valor o texto en el campo de entrada.
- Configura las opciones de conversión o intercambio según sea necesario.
- El resultado se genera de forma inmediata en tiempo real.
- Haz clic en el botón Copiar para guardar el resultado.
Mathematical Formula for Atbash
For the Latin alphabet mapped to indices 0 through 25 (A=0, Z=25):
$E(x) = D(x) = (25 - x) \pmod{26}$
This ensures that A (0) maps to Z (25), and Z (25) maps to A (0). Casing and punctuation marks are preserved.
Atbash Cipher Examples
Biblical Reference & Greeting
Encrypting "HELLO" using alphabet reversal.
Full Sentence Transformation
Translating "PEACE ON EARTH" with Atbash.
Self-Reversing Property
Applying Atbash to "SVOOL" recovers "HELLO".
Atbash Alphabet Mirror Table
| Plain | Atbash | Plain | Atbash |
|---|---|---|---|
| A–M | Z–N | N–Z | M–A |
| A ↔ Z | B ↔ Y | C ↔ X | D ↔ W |
| E ↔ V | F ↔ U | G ↔ T | H ↔ S |
| I ↔ R | J ↔ Q | K ↔ P | L ↔ O |
| M ↔ N |
Key Space & Vulnerability
- Atbash has no variable key ($k$ is fixed to the reversed alphabet), so it provides no cryptographic resistance against someone who recognizes the pattern.
Preguntas Frecuentes
What is the Atbash cipher?
How to solve the Atbash cipher?
What are Atbash cipher codes?
When was the Atbash cipher invented?
Herramientas Relacionadas
Rotate letters by 13 positions in the alphabet. Self-inverse symmetric substitution.
Shift letters along the Latin alphabet by a configurable key offset (1–25).
Mathematical substitution cipher: E(x) = (ax + b) mod 26 using coprime multiplier and shift.