Original String
Type something.
Coded Output (first 1KB)
T
000
y
0011
p
0010
e
011
1101
s
1100
o
1111
m
1110
e
011
t
1001
h
1000
i
1011
n
1010
g
0101
.
0100
Original: 15 bytes; Compressed: 8 bytes
Huffman Tree
"T" weight:1 code: 000
"p" weight:1 code: 0010
"y" weight:1 code: 0011
"." weight:1 code: 0100
"g" weight:1 code: 0101
"e" weight:2 code: 011
"h" weight:1 code: 1000
"t" weight:1 code: 1001
"n" weight:1 code: 1010
"i" weight:1 code: 1011
"s" weight:1 code: 1100
" " weight:1 code: 1101
"m" weight:1 code: 1110
"o" weight:1 code: 1111