Bacon's Cipher Encoder & Decoder

Decode Bacon Cipher

About Bacon's Cipher

What is Bacon's cipher?

This 26-letter Bacon variant assigns every A-Z letter a distinct five-symbol A/B group: A is AAAAA, B is AAAAB, through Z as the binary value 25. It differs from the historical 24-letter form that combined I/J and U/V.

How does Bacon's cipher work?

Encoding writes the zero-based letter index with A for 0 and B for 1. The decoder ignores whitespace inside the stream, reads exact five-symbol groups, and uses / for word breaks; unsupported letters or punctuation are rejected, and this visible form is neither steganography nor secure encryption.

Bacon example

ABC -> AAAAA AAAAB AAABA
AAAAA AAAAB AAABA -> ABC