Baconian Cipher Encoder/Decoder (BAC)
Turn text into Bacon’s 5-letter A/B code or decode existing A/B groups back to normal letters. Supports classic 24-letter Bacon, 26-letter extension, and custom symbols like 0/1 or X/Y. You can even map it onto a “cover text” using uppercase/lowercase steganography.
Choose the same variant your source used.
Optional: hide A/B in a cover text
Paste a cover text. We will replace characters with uppercase (=A) and lowercase (=B) according to your encoded sequence. Extra cover characters will stay the same.
How the Baconian cipher works
The cipher turns every letter into a block of 5 characters, each either “A” or “B”. For example, in the original 24-letter alphabet:
A = AAAAA
B = AAAAB
C = AAABA
...
I/J = ABAAA
U/V = BAABB
Once you have the A/B sequence, you can hide it in many ways: two fonts, two typefaces, two colors, or simply upper/lowercase. A recipient who knows the scheme can map it back to As and Bs and then to letters.
24 vs 26 letters
- 24-letter (classic): I=J and U=V are merged to fit 24 patterns.
- 26-letter (extended): every letter A–Z is unique. Pick this if you don’t want merged letters.
Common decoding problems
- Make sure the symbol you use for A and B is the same throughout.
- If the encoded message length is not a multiple of 5, the last letter may be incomplete.
- If the original text used the 24-letter alphabet, decoding with 26-letter mode will produce odd results.