Bacon Cipher
How to Use
Encode
- Enter English text
- Click "Encode" — each letter becomes a 5-character A/B sequence
Decode
- Enter A/B sequences (non-A/B characters are ignored)
- Click "Decode" — every 5 characters are converted back to a letter
How It Works
The Bacon cipher was invented by Francis Bacon in 1605. Each letter is represented by a 5-bit binary sequence using A and B.
Example: HI → AABBB ABAAA
常见问题
How is the Bacon cipher related to binary?
The Bacon cipher is essentially binary encoding — A represents 0 and B represents 1. Each letter uses 5 binary digits (2^5 = 32, enough for 26 letters). Bacon proposed this binary concept in 1605, nearly 100 years before Leibniz's binary paper.
How was the Bacon cipher used for steganography?
Bacon originally designed it for steganography: using two different typefaces (e.g., roman and italic) to represent A and B, hiding secret messages within normal-looking text.
Why do some letters share the same encoding?
In Bacon's original version, I/J shared one code and U/V shared another (they were considered the same letter at the time). This tool uses the modern 26-letter version with unique codes for each letter.
Share this tool