Bacon's Cipher

A substitution cipher that hides information using two different fonts or characters.

Usage

What is Bacon's Cipher

Bacon's cipher is a substitution cipher that replaces each letter with a 5-character sequence (usually A and B). The original Bacon cipher was often hidden in font styles (normal font represents A, bold represents B).

Mapping Version

Standard: I/J and U/V share the same encoding; Distinct: each letter has a unique encoding. This tool uses the Distinct version, ensuring all 26 letters are uniquely distinguishable.

Steps

1. Set Character A and Character B (default A and B, can be changed to 0/1, etc.); 2. Enter plaintext or ciphertext in the input box; 3. Click "Encode" to convert plaintext to Bacon cipher; 4. Click "Decode" to restore Bacon cipher to plaintext. Only English letters are processed; non-letter characters are ignored.