When a .gz, .zip, or .png comes out larger than you expected, you may only want to see which stretches are copied from earlier in the stream — and why compressing it again will not shrink it much — without first dropping the file on an online unzip site. On November 23, 2026, we opened the browser viewer for Deflate X-Ray in desktop Chrome. We did not register, sign in, or install the Windows app from the same site. What follows is only the pointers, checksums, and bit costs we actually saw that day. The project page is a usage hint, not a substitute for our own test.
This is about how a compressed result was encoded. It is not a way to compare which page changed in two files. If what you want is a content-aware diff of two PDFs or archives, we have already written about OmniDiff. That is a different job, and we did not retest it here.
Who it is for, and how to open the viewer
It is a good fit if you already have a .gz, .zlib, .png, or .zip, or you just want to type some repeated text and see how the browser’s own DEFLATE encodes it, and you would rather not upload the original file to an unzip site. It is not a general-purpose extractor, and it does not claim to open ZIP64, encrypted ZIP, or zlib with a preset dictionary. Those limits are written on the project page; we did not throw those kinds of files at it that day.
The project write-up is at hrih.si/projects/deflate-xray/, and the viewer itself is on the same site at play/deflate-xray/, which embeds a single-page app, app.html. The site’s Licensing page says that, unless a page says otherwise, the writing and images remain copyrighted, and that code on GitHub follows each repository’s own license. We did not find a public repository or a full license text for this viewer, so we are not presenting it as open-source software. The project page also says this build came from the October 15, 2026 nightly.
The interface is in English. On the left you can switch the built-in demos (the default is the nursery rhyme The House That Jack Built), type in the text box, or choose or drop a file. No account is required. The default demo, compressed on the spot by the browser that day, showed raw DEFLATE of 218 bytes: 1,926 bytes of source became 218 bytes, about 8.8×, at 0.90 bits per byte. That is the viewer’s own example, not our sample.
A short homemade text with an obvious repeat
We prepared a fictional 255-byte text that wrote the same sentence, The same sentence repeats so the compressor can point backwards., three times in a row, plus a one-time marker, BAFFOX-DEFLATE-20261123-R9C. After we pasted it into the text box, the viewer said it had been compressed by “the current browser’s own DEFLATE,” producing 104 bytes of raw DEFLATE, or 3.25 bits per byte: 255 bytes from a 104-byte stream, about 2.5×, in 1 block and 99 tokens. The bit breakdown was roughly: literals 93.6% (776 bits), match lengths 2.7% (22 bits), match distances 2.5% (21 bits), block header 0.4%, and end-of-block 0.8%.
The decoded view on the right is colored by bit cost. The marker and the first copy of the sentence were warmer, and more expensive; the next two copies were clearly paler. After we clicked a later repeat, the viewer wrote:
Copy 131 bytes from 65 back, for a total of 23 bits; bytes 92–222 came from 27–157, about 0.18 bits per byte, and it noted that the copy overlapped itself, so this was a repeated run; token 92, bitstream 739–761, block #0 (fixed). That is the result you can check: the second and third copies were not stored again as literal text. They were one pointer that reached 65 bytes back and copied 131 bytes, at 0.18 bits per byte on average.

Switching to Copy depth showed a color scale from literals through “copies of copies.” At the bottom was the line “Showing the first 150,000 of 255 bytes. The statistics cover all of them.” Our sample was only 255 bytes, well under the drawing limit on the page, but the sentence still appeared. The statistics did cover all 255 bytes.
The same text as a .gz and a .zip, plus a striped PNG
We then packed the same 255-byte text with the system gzip and zip tools and dropped the files into the viewer. That is not the same path as “compress in the browser right now”: one side is the browser’s DEFLATE, the other is a file we had already made.
baffox-deflate-repeat.txt.gz was recognized as gzip, 146 bytes, with the original name baffox-deflate-repeat.txt, and the page listed a 36-byte header. The decoded result was still 255 bytes, from a 102-byte compressed stream, about 2.5×, at 3.17 bits per byte, with 95 tokens. Both checks were ticked: CRC-32 0xb089f882, and size mod 2^32 of 255. 102 bytes of data, plus a 36-byte header, plus the usual 8-byte gzip trailer (CRC and size), add up to 146 bytes. The text box on the left may still have held what we had typed in the previous step, but the metadata and checksums were for this .gz, and the decoded view still showed the marker.

The zip of the same content was 250 bytes, one entry, deflated, stored as 102 → 255 bytes, with the same CRC-32, 0xb089f882. The bit cost was also 3.17, with 95 tokens. The two containers lined up on the same payload and the same checksum.
We next dropped in a homemade 240×120 PNG with repeating vertical stripes and the same marker, 4,432 bytes. The viewer read it as RGB, 8 bits per sample, non-interlaced, with IHDR, IDAT, and IEND chunks, a 32,768-byte window, and a level hint of maximum. It also warned that what you see after inflation is scanlines with filter bytes, not raw screen pixels. The Adler-32 check, 0x7e664342, passed. The numbers show why a picture like this can still shrink: 86,520 bytes inflated, from 4,369 bytes of compressed stream, about 19.8×, at 0.40 bits per byte, in 1 dynamic block and 3,829 tokens. More of the bits went to literals (73.5%), with match lengths and distances together about 24%. In the decoded view, the repeating 00 and the periodic 3c 26 4c / c4 da b4 runs were mostly pale, with a few costlier bytes earlier on showing redder. That contrasts with the text sample, which was only 2.5× at 3.25 bits per byte, because the marker and the line breaks still had to be paid for as literals; this striped image repeated much more, so the average was 0.40 bits per byte.

Non-ASCII shows up as dots, and what we saw on the network
The project page says that bytes outside printable ASCII, including accented letters, are shown as ·. We pasted café and the Chinese 你好 (“hello”) together with the marker. In the decoded view, the ASCII cafe and the marker were still readable; café became caf··, and 你好 became six · characters. In other words, it draws one dot per UTF-8 byte, not per character. That matches the limit on the page. Do not rely on this viewer to read Chinese or accented source text.

On the network, opening the play page with the site chrome sent requests only to hrih.si. While the page was loading there was one POST to https://hrih.si/assets/a, 240 bytes, whose body was a page-view event: a site ID, a 1440×1000 screen, language en-US, and the title and URL. It did not contain our sample. That matches what the site’s Privacy page says about first-party Umami analytics. After the page had finished loading, typing in the text box and dropping in the .gz and .png produced no further requests in this session.
So we can write that, after the page had loaded, typing and dropping files in this session sent no further requests, and that POST did not include our sample. We cannot write that we have proved the files never leave the device. If you are more interested in other “handle the file in the browser first” tools, we have also written about keeplocal for stripping photo location data, and pstview for opening a mailbox read-only. Those are different jobs, and neither is this viewer.
Common failures and limits
- It is a DEFLATE viewer, not a tool for extracting, repairing, or batch-converting archives. After you inspect the pointers, the file is still the file you started with.
- It only draws the first 150,000 bytes of the stream; the statistics can cover all of it. Our samples were far under that cap, and we did not test how the display looks when a large file is truncated.
- For a multi-member gzip it only follows the first member, and it does not support ZIP64, encrypted ZIP, or a zlib preset dictionary. We did not use those files as counterexamples that day.
- Non-ASCII is drawn as
·per byte, so this is a poor way to read Chinese or accented text. - Opening the play page sends a page-view event to a same-origin analytics endpoint. If you do not want that request, you will have to handle it yourself.
- We did not install the unsigned Windows app from the same site. This article covers only the browser viewer.
- We did not find a citable full license text, so this should not be presented as an open-source project.
If you want to see which stretches of a .gz, .zip, or .png are copied from earlier in the stream, and roughly how many bits each byte cost, without first uploading the original file to an online unzip site, you can drop the file into this viewer, check the checksums, and click the paler spans to inspect the pointers. What it shows is the encoding. It is not a promise of how much smaller a second compression pass would be.


