The reverse alphabet cipher replaces every letter with the letter the same distance from the opposite end of the alphabet — A with Z, B with Y, C with X, and so on. It is the Atbash cipher written out as an explicit reversed alphabet, and because mirroring is symmetric it is its own inverse.
How it works
Treat each letter as a zero-based index (A=0 … Z=25) and subtract it from 25 to find its mirror:
plain = A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
reversed = Z Y X W V U T S R Q P O N M L K J I H G F E D C B A
index i -> mirror 25 - i
For uppercase letters the new code is 90 - (code - 65), and for lowercase it is
122 - (code - 97). Non-letters are left untouched.
Example and notes
HELLO becomes SVOOL, and running SVOOL back through the tool returns
HELLO — no separate decode step is needed. Because there is no key and the
mapping never changes, the reverse alphabet cipher offers no real secrecy; it is
best used to hide answers in puzzles or to demonstrate how a substitution cipher
works.