Encode and decode the Baconian cipher, where each letter becomes a five-character group of A's and B's. A classic steganographic cipher.
Devised by Francis Bacon, it encodes each letter as a group of five symbols drawn from just two options, here A and B. So A is AAAAA, B is AAAAB, and so on. This tool uses the 26-letter version where every letter has a unique code.
Bacon's idea was to hide the A's and B's in something innocent, such as two slightly different typefaces or upright versus italic letters, so the message looked like ordinary text. The hidden pattern carries the secret.
Paste the A's and B's and the tool groups them in fives and converts each group back to a letter. Any other characters are ignored, so spacing does not matter.