Turn text into five-letter A/B groups, or read a Baconian message back — 24 and 26 letter alphabets, custom symbols, browser only
- Runs locally
- Category Encoding & Crypto
- Best for Checking small payloads, tokens, hashes, and encoded values quickly.
Result appears here.What this tool does
Free Bacon cipher encoder and decoder (also called the Baconian cipher), built for CTF players, puzzle hunters and anyone who runs into a string of A and B groups. Sir Francis Bacon's 1605 cipher maps every letter to a fixed group of five symbols drawn from just two characters, so HELLO becomes five five-letter codes. Type plaintext on the left and read the A/B groups on the right, or paste the groups back and recover the message. Switch between the classic 24-letter alphabet, where I and J share one code and U and V share another, and the full 26-letter version that gives every letter its own pattern. Swap A/B for 0/1 or any two symbols you like, decide whether to keep or drop punctuation, and copy the result in one click. Everything runs in your browser with a shareable link that reopens the same message, alphabet and symbols. 100% client-side, nothing is uploaded.
Tool details
- Input
- Files + Text
- The page exposes text boxes, numeric controls, file pickers, or structured inputs depending on the tool.
- Output
- Live result + Copy
- The result area focuses on usable output, with copy, download, or preview actions when supported.
- Privacy
- Browser-side processing
- The main tool logic does not call an external API, so inputs normally stay in the current tab.
- Save / share
- Shareable URL state
- Key settings are encoded in the URL so another person can reopen the same setup.
- Performance budget
- Initial JS <= 9 KB
- No WASM budget is declared, keeping the tool quick to open on mobile.
- Best fit
- Encoding & Crypto · Student
- Category and role tags drive related tools, internal links, and quick fit checks.
How to use
-
1. Input
Paste or drop your content into the tool panel.
-
2. Process
Click the button. All processing is local in your browser.
-
3. Copy / Download
Copy the result or download to disk in one click.
How Bacon Cipher Encoder & Decoder fits into your work
Use it for quick browser-side encoding, decoding, hashing, token checks, and share-safe transformations.
Encoding jobs
- Checking small payloads, tokens, hashes, and encoded values quickly.
- Preparing values for APIs, URLs, docs, or support tickets.
- Avoiding account-based tools when the input might be sensitive.
Encoding checks
- Do not paste live secrets unless you are comfortable with local browser handling.
- Confirm whether the operation is reversible before sharing the result.
- For hashes, compare the exact algorithm and casing expected by the receiver.
Good next steps
These links move the current task into a more complete workflow.
- 1 Atbash Cipher Mirror the alphabet, A↔Z B↔Y, no key, self-reciprocal so the same button encodes and decodes, browser-only Open
- 2 Text to Binary Converter Text to binary (and back) — UTF-8 aware, 8/16/32 bit grouping, emoji safe. Open
- 3 Caesar Cipher Encoder & Decoder Encrypt, decrypt and brute-force a Caesar shift cipher — all 25 shifts at once, ROT13 shortcut, browser-only Open
Real-world use cases
Solve a Baconian step in a CTF or puzzle hunt
A challenge drops a wall of A and B characters, sometimes disguised as a block of two fonts. Strip it to a plain A/B string, paste it in, and decode. The tool splits it into fives and reads out the flag. If the answer comes back as gibberish, flip to the 24-letter table — a lot of older puzzles assume I=J and U=V, and that one switch turns nonsense into readable text.
Build a Baconian clue for an escape room or ARG
You want players to find a hidden word inside an ordinary letter. Encode the secret to A/B groups here, then map A to one typeface and B to another in your printed prop. Players who notice the two fonts can transcribe the pattern and decode it. The shareable URL lets you send the exact encoding to a co-designer without re-typing the groups.
Teach binary and substitution ciphers in class
The Bacon cipher is a clean five-bit binary code wearing letters. Switch the symbols to 0/1 and students see immediately that A is 00000 and B is 00001, the same counting they do in a binary lesson. Encode their names, have them decode each other's, and the link between "five bits" and "32 possible letters" stops being abstract.
Hide a short note inside formatted text
Pick two visual distinctions in a document — bold versus regular, or two near-identical fonts. Encode your note to A/B, then apply the first style to A positions and the second to B positions across an innocent cover paragraph. A casual reader sees normal prose; the intended recipient counts in fives and reads your message, exactly as Bacon intended in 1605.
Common pitfalls
Decoding with the wrong alphabet. If a message was encoded with the 24-letter table (I=J, U=V) but you decode with the 26-letter table, every group after the first I or U shifts and the text turns to garbage. When a decode looks almost-right, toggle the alphabet before assuming the message is broken.
Forgetting that groups are exactly five symbols. A stray extra or missing character knocks the whole rest of the message out of alignment. Count your A/B characters and the total should divide by five. The tool drops separators automatically, but a typo inside the symbols still breaks the split.
Mixing up which symbol is A and which is B. With custom symbols or 0/1, the first symbol always fills the A position. Swap them and aaaaa becomes bbbbb, turning A into the last letter of the alphabet. If a decode reads as a mirror of the real text, your two symbols are reversed.
Privacy
Encoding, decoding, the lookup tables and the symbol swap are all plain JavaScript that runs in your browser tab. No message, key or symbol set ever leaves the page and nothing is logged. The one caveat: the shareable link encodes your text, direction, alphabet and symbols into the URL query string, so a link pasted into chat records that content in the recipient server's access log. For a secret you actually care about, copy the output text instead of sharing the URL.
FAQ
Tool combos
Folks in your role tend to reach for these alongside this tool.
- 24-Point Solver & Game 24-point solver and game — enter 4 numbers and get every solution instantly, or play random hands against the clock.
- Chinese Acupoint Locator 200+ meridian acupoints / WHO 2008 standard locations / with contraindications, manipulation, and combinations.
- Add Days to Date Calculator Add or subtract days, weeks, months, and years from any date — plus a business-day mode that skips weekends. Runs entirely in your browser.
- Age Calculator Calculate your exact age — years, months, days, hours. Compare two dates or count to a future date.