deflate x-ray
Compression saves space by spotting repeats. When text shows up again, it's stored as a short pointer back to its first appearance. This takes a compressed file apart and shows you every pointer, with each letter colored by what it cost.
Try this
Look at the highlighted phrase in the rhyme.
It isn't stored as text. It's one pointer, "copy 41 bytes from 57 back", 18 bits in all, under half a bit per letter. Click any other pale word to see its pointer.
Switch to Copy depth.
Each verse copies the one before, so later lines are copies of copies, up to 11 generations deep.
Type a sentence twice in the box.
Your browser compresses it as you type. The second copy turns pale, because it was stored as one short pointer.
Drop a .zip, .png or .gz file anywhere on the page.
You see how that file was compressed. It's read in your browser and never uploaded.
It all runs in your browser. Nothing you type or drop is sent anywhere.
How it works