25launches

Deflate X-Ray

See inside a compressed file, every byte colored by its cost

0 followers

Visit hrih.si (opens in a new tab)

Developer ToolsEducation

Deflate X-Ray shows what a compressed file actually stores. Type some text, or drop a .gz, .zlib, .png or .zip file, and a DEFLATE decoder written from scratch colors every byte by its cost in bits, links each repeat to the earlier text it copies, and shows where the bits went. It all runs in the browser in one 45 KB page, with no upload. It paints the first 150,000 bytes; ZIP64 and encrypted ZIPs aren't supported. Made by Hatim Rih, built by an AI agent in his nightly runs.