The principle
In the early 17th century Francis Bacon described a code where each letter is replaced by five signs picked from two, written A and B. A is AAAAA, B is AAAAB, C is AAABA. It is binary writing ahead of its time.
Hiding a message in another
Bacon wanted to conceal the message: the A and B can become two typefaces, capitals and lower case, or two kinds of drawing inside an innocent text. This tool gives the groups; how to hide them is up to you.
Two versions
The original alphabet has 24 letters: I and J share a code, and so do U and V. The 26 letter version tells them apart. Use the same one as whoever wrote the message.
Using the tool
When encoding, words are separated by a slash; digits and punctuation are dropped. When decoding, spaces are free, 0 and 1 are accepted instead of A and B, and a wrong group is reported with its position.
Frequently asked questions
Is it real encryption?
No. It has no key: whoever recognises the method reads the message.
Why does my J become an I?
Because the 24 letter alphabet is selected. Switch to 26 letters to tell them apart.
How does it relate to binary?
Replace A with 0 and B with 1: each letter becomes its rank written in base 2 on five digits.
Is my message sent anywhere?
No. Everything is computed in your browser.
How do I spot a hidden Bacon message?
Look in an innocent text for two kinds of signs alternating for no reason: capitals and lower case, bold and regular, two drawings. Write A for one and B for the other, group by five, and paste the result here. If nothing reads, swap the two.