Baconian Cipher
Map letters to 5-bit A/B sequences — Sir Francis Bacon's 1605 steganographic cipher.
Reference Table (A–Z)
How to Use the Baconian Cipher Tool
- Choose Encode or Decode — select the direction with the option chips.
- Enter your text — plaintext for encoding, A/B sequences for decoding.
- View the output — each letter becomes a 5-character group of A's and B's.
- Visual mode — shows A-letters in one style and B-letters in another, demonstrating the steganographic principle.
- Copy the result — click Copy to save the encoded output.
About the Baconian Cipher
The Baconian cipher (also known as Bacon's cipher) was invented by Sir Francis Bacon in 1605 and published in his work De Augmentis Scientiarum. Each of the 26 letters of the alphabet is represented by a unique sequence of five A's and B's. A = AAAAA, B = AAAAB, C = AAABA, and so on up to Z = BBBBB, giving 2⁵ = 32 possible codes (with 6 unused combinations in the 26-letter version).
Steganography — The Hidden Message
Bacon's genius was using this code for steganographic purposes — hiding a message inside an innocent-looking text. The A and B symbols do not need to literally appear in the text. Instead, any two distinct visual states can represent A and B: normal font versus bold font, roman versus italic, a slightly different letter shape, or any other visual distinction. A reader sees an ordinary passage of text, while a trained eye reads the secret message by noting which letters are in which style.
The Binary Connection
The Baconian cipher is functionally identical to 5-bit binary encoding of the alphabet. A corresponds to binary 0 and B corresponds to binary 1. A = 00000 (0), B = 00001 (1), C = 00010 (2), ..., Z = 11001 (25). This makes Bacon's cipher one of the earliest known descriptions of a binary encoding system — predating modern computing by over 350 years. Gottfried Wilhelm Leibniz later developed a formal binary number system, and the connection to Bacon's work was recognized by several historians.
Original 24-Letter vs. Modern 26-Letter Version
Bacon's original cipher used a 24-letter alphabet (as was standard in early modern English), where I/J were treated as one letter and U/V were treated as one letter. In the modern 26-letter version used by this tool, every letter has a unique 5-bit code. When decoding, if you encounter an ambiguous sequence that could represent either I or J (or U or V) in the 24-letter system, context usually makes the correct letter clear.
Strength and Limitations
As a standalone cipher, the Baconian encoding provides no security at all — it is simply a lookup table substitution where A=AAAAA, B=AAAAB, etc. Its value is entirely as a steganographic tool: hiding the fact that a message exists at all. Once the encoding method is known, decoding is trivial. Modern steganography uses far more sophisticated techniques, embedding data in image file metadata, audio waveforms, or the least-significant bits of pixel values.