Huffman Coding
v1.0 · client-side only
Input Text 0 chars
Drop a .txt file here or click to upload
or type below
Output — Bit Stream — bits
01 Compressed bits will appear here
Huffman Tree Compress text first to visualize
🌲 Compress some text first to see the Huffman tree here
Legend
Leaf node (character)
Internal node (frequency sum)
Left edge = 0
Right edge = 1