Free Tool

Baconian Cipher Tool

Five A/B symbols per letter, hidden in plain sight

Encoded

Hide a message in a sentence

Each letter of your message needs five letters of cover text. The cover's letters are set lowercase for A and uppercase for B; spaces and punctuation are left alone. Uses the table chosen above.

Cover text with the message hidden in it

How the Baconian cipher works

Each letter is replaced by a group of five symbols, each either A or B. In the 26-letter table this is just counting in binary: A is AAAAA, B is AAAAB, C is AAABA, and so on to Z, BBAAB. Bacon's own 24-letter table works the same way but gives I/J and U/V one code each, so the later letters shift by one or two places.

The point was never the A/B code itself, which anyone can read. Bacon's idea was to hide the A's and B's in an innocent-looking text, using two slightly different styles of handwriting or type. A reader sees an ordinary letter; someone who knows to look sees the secret.

Example

With Bacon's 24-letter table, HI becomes AABBB ABAAA. Hidden in letter case, the same ten symbols could be written as toDAY nOtes: two lowercase letters, three capitals, one lowercase, one capital and three lowercase.

Where it turns up in puzzles

  • Two typefaces: bold and regular, serif and sans-serif, or italic words in a paragraph.
  • Letter case: a sentence with odd capitals, as in the panel above.
  • Pictures: two kinds of object (cats and dogs, open and closed doors) in groups of five.
  • Anything with two states: on and off lights, dots and dashes, 0 and 1. If a puzzle has two kinds of something and the count is a multiple of five, try Baconian.

History

Francis Bacon devised the cipher as a young diplomat in France and published it in the early 1600s. It later fuelled the theory that Bacon wrote Shakespeare's plays and hid his name in their printing. William and Elizebeth Friedman worked on those claims at Riverbank Laboratories from 1916, became convinced there was nothing in them, and went on to found modern American codebreaking.

Related tools

Questions

Why do I and J (and U and V) decode to the same letter?

Francis Bacon's alphabet had 24 letters: I and J were one letter, and so were U and V. His table gives them one code each. Choose the 26-letter table if you want every letter to have its own code.

How do I decode a Baconian message hidden in a text?

Decide which two styles stand for A and B: lowercase and uppercase, two fonts, bold and normal, or even two kinds of object in a picture. Write A or B for each letter, or use "Decode from: Letter case" here if the message is hidden in upper and lower case.

Why are there extra A letters at the end of my decoded message?

Cover letters after the hidden message are lowercase, so they read as A symbols, and every five of them decode as the letter A. Stop reading where the message makes sense.