Toolstia / Bacon cipher
Bacon cipher encoder and decoder
Turn text into Francis Bacon five-symbol code made of A and B, or decode a code back into letters. Pick the 26-letter or the classic 24-letter alphabet, and choose A and B or 0 and 1.
Each letter becomes five symbols. Put three spaces between words when decoding to keep the word breaks.
How it works
- Choose encode or decode.
- Pick the alphabet and the symbols.
- Paste your text or code and copy the result.
How it works
Each letter becomes a five-symbol binary number. A is AAAAA, B is AAAAB, C is AAABA, and so on up to Z.
24 or 26 letters
Bacon first used 24 letters, with I and J sharing a code and U and V sharing one. The 26-letter version gives every letter its own code.
Word breaks
Words are separated by three spaces when encoding. Keep them when decoding to keep the word breaks.
Hiding the code
Bacon meant the A and B to be hidden in two typefaces. Here they are written out plainly.
Questions
Why does decoding say the length is wrong?
The code must be a multiple of five symbols. A missing or extra symbol shifts every letter after it. Everything happens in your browser, and nothing you enter is sent anywhere.
Can I use other symbols?
Only A and B or 0 and 1 are read. Anything else is ignored.
Is it secure?
No. It is a historical puzzle cipher and anyone can decode it.