Ciphers · AtbashAtbash cipher online A↔Z

Atbash swaps every letter for its mirror: the first for the last, the second for the second to last, so a becomes z and b becomes y. There is no key, so encoding and decoding are the same action. Works with the English alphabet and with Russian, with or without Ё.

Everything runs in your browser — the text goes nowhere

01Encode02Diagram03How it works04Questions05Related
01

Encode = decode

one action encodes and decodes
Alphabet
Text
Result
English
svool dliow
The link will contain the text (up to 500 characters) and settings — share it with care.
02

Diagram

the alphabet and the same alphabet reversed
ABCDEFGHIJKLMNOPQRSTUVWXYZ
ZYXWVUTSRQPONMLKJIHGFEDCBA

Letters of your text are highlighted.

03

How it works

A mirror alphabet

a ↔ z · b ↔ y · c ↔ x

The first letter swaps with the last, the second with the second to last. Every pair works both ways.

The middle stays

Russian with Ё: п → п

The 33-letter Russian alphabet has a middle letter, п, that maps to itself. English has 26 letters and no middle.

No key

twice = the original

Atbash is simple substitution with a fixed table. Anyone who knows the cipher reads the text at once.

04

Frequently asked questions

Write the alphabet twice, forwards and backwards, and replace each letter of the text with the one below it. In English a becomes z, b becomes y, m becomes n. Spaces, digits and punctuation stay where they are, and capital letters stay capital. The diagram on this page shows both strips and highlights the letters of your text.

Updated