Baconian Cipher

Map letters to 5-bit A/B sequences, a steganographic cipher devised by Sir Francis Bacon in 1605.

Last reviewed: April 2026

New to this tool? Click here for instructions

Plaintext
Encoded (A/B)
Enter text to encode with the Baconian cipher.
Reference Table (A-Z)

How to Use the Baconian Cipher Tool

The Baconian Cipher Tool converts text using Sir Francis Bacon's 1605 steganographic cipher. It allows you to encode plaintext into A/B sequences or decode A/B sequences back into text.

To use the tool, select either 'Encode' or 'Decode'. Enter your text in the input field. For encoding, provide the plaintext. For decoding, input the A/B sequences. The tool will display the converted output, showing each letter as a 5-character group of A's and B's.

  • Select 'Encode' or 'Decode'
  • Input your text
  • Review the generated output

the Baconian Cipher

Devised by Sir Francis Bacon in 1605, the Baconian cipher represents each letter of the alphabet with a unique five-character sequence of A's and B's. For example, 'A' is AAAAA, 'B' is AAAAB, and so on. This system is functionally equivalent to a 5-bit binary encoding, where 'A' can be considered '0' and 'B' as '1'.

Bacon's original cipher used a 24-letter alphabet, combining I/J and U/V. This tool, however, uses a modern 26-letter alphabet, ensuring each letter has its own distinct 5-bit code.

Applications and Historical Context

The Baconian cipher was primarily designed as a steganographic method, intended to hide messages within ordinary text. Bacon achieved this by using two visually distinct typefaces - one font for 'A' characters and another for 'B' characters. A casual reader would see normal text, while someone aware of the cipher could read the hidden message by observing the typographic patterns.

This tool is useful for studying historical cryptography and steganography. It provides a practical way to understand how messages were concealed in the 17th century, and can also be used for educational exercises or creating text-based puzzles.

Frequently Asked Questions

The Baconian cipher, created by Sir Francis Bacon in 1605, encodes each letter of the alphabet into a unique five-character sequence of A's and B's. It was designed for steganography, hiding messages within seemingly ordinary text.
The Baconian cipher is functionally identical to a 5-bit binary encoding, where 'A' corresponds to '0' and 'B' to '1'. Bacon described this system decades before formal binary number systems were established.
Bacon's steganographic method involved using two visually distinct typefaces within a cover text. One font represented 'A' characters, and another represented 'B' characters. This allowed a hidden message to be embedded without altering the visible words.
No, this tool uses a modern 26-letter alphabet, where each letter has a unique 5-bit code. Bacon's original cipher used a 24-letter alphabet, combining I/J and U/V into single codes.
Yes, you can substitute '0' for 'A' and '1' for 'B'. The cipher's underlying structure is a 5-bit binary encoding of the alphabet, making this substitution directly compatible.

Quick reference

Baconian Cipher — quick reference
AspectDetail
PurposeBaconian Cipher is a free browser tool for fast, repeatable tasks.
Runs inAny modern browser — no install, no signup.
PrivacyData is processed locally in your browser; no upload to any server.
Best forQuick lookups, daily reference, learning, prototyping.