Encoding & Decoding

Bacon Cipher Encoder and Decoder

Encode and decode Bacon cipher messages with 24-letter or 26-letter alphabets. Five-symbol A/B groups are processed locally.

Bacon CipherCipherCTF

Favorite this tool

No favorite storage mode has been selected.

Quick actions

Copy this tool URL or open the system share sheet on a supported device.

Use cases

  • Create or solve A/B substitution puzzles
  • Check which Bacon cipher alphabet a CTF challenge uses
  • Learn a classic binary substitution cipher

How to use

  1. Enter plaintext or an A/B cipher
  2. Choose the 24- or 26-letter alphabet
  3. Encode or decode, then copy the result

Example input and output

Plaintext

HELLO

Bacon cipher (26 letters)

AABBB AABAA ABABB ABABB ABBBA

FAQ

What is the difference between the 24- and 26-letter versions?

The 24-letter version combines I/J and U/V. The 26-letter version maps every modern A-Z letter separately.

Why does the encoded output only contain A and B?

Each letter is represented by five binary positions, with A and B standing for the two possible values.

Tools

Related tools

Continue with another translated tool for a nearby task.

Morse Code Converter

Morse Code Converter

Available

Convert between Latin letters/digits and Morse code (dots and dashes), with word-spacing rules. Useful for learning, puzzles, and CTF-style challenges. Conversion stays in the browser.

Morse Encoding CTF

ROT13 Cipher

ROT13 and ROT47 Cipher

Available

Apply the classic ROT13 letter rotation, or ROT47 which covers digits and printable ASCII. Because rotation is symmetric, encoding and decoding use the same operation.

Encode Cipher

Base64 Encode/Decode

Base64 Encoder and Decoder

Available

Encode and decode Base64 in the browser, with standard and URL-safe variants, automatic direction detection, and optional file-to-Base64 conversion. Useful for API debugging and local data prep.

Base64 Encoding Developer