CC / 018A little school of smaller messages.LOCAL TEXT ONLY

COMPRESSION
CLUB ↘

Popular characters get a shorter route.
Follow one symbol from root to leaf.
Every number here comes from your message.

The sample is invented text. Input stays on this page.

01 / THE PREFIX TREELEFT = 0   RIGHT = 1

02 / THE BIT RIBBONONE BOX PER INPUT SYMBOL

A shorter route, earned.

Start with the two least frequent symbols. Join them, add their counts, and repeat. A route through the finished tree spells a code. Every symbol ends at a leaf, so one complete code never starts another. You can read the ribbon without spaces between its codes.

Open the frequency & code sheet
SymbolCountCodeBits used