EditSafely

Identify PNG Compression Level

Read the zlib compression hint, deflate block type and row filters of a PNG, and see how it compares with re-compressing it.

Runs on your device, nothing uploaded

Drop an image anywhere on this page

or paste with Ctrl / ⌘ + V ·

Accepts PNG

Your PNG files never leave this tab

Identify PNG Compression Level is JavaScript that your browser has already downloaded, and it does the whole job on your own machine. On a normal site, 200 photos straight off a camera means 1.6 GB uploaded, a wait in somebody's queue, and 240 MB downloaded again. Here it means 0 bytes up and 0 bytes down.

  • No upload
  • No file size limit
  • Works offline once loaded
  • Nothing stored or logged

How to use Identify PNG Compression Level

  1. 1. Add the PNG. Drop a PNG file. Its chunks are read in your browser, the compressed image data is unpacked, and nothing is uploaded or changed.
  2. 2. Read the compression hint. The headline reports the FLEVEL field from the zlib header, which encoders set to fastest, fast, default or maximum. Stored data means no compression at all.
  3. 3. Check filters and headroom. See which row filters were used, the compression ratio, and how big the same data gets when re-deflated here at levels 1, 6 and 9.

When to use Identify PNG Compression Level

PNG compresses pixels in two steps: a filter on each row that makes the data more predictable, then zlib deflate. The file never records the exact deflate level, but the zlib header carries a two-bit hint, and the block type and filter choices show how much effort the encoder spent. Re-deflating the same filtered data shows how much room is left.

  • Finding out why a PNG is so large. Stored blocks, a fastest hint or a single None filter on every row point to an encoder that barely compressed; an optimizer will shrink the file a lot.
  • Checking an export setting. Confirm that a design tool or a build step really saves with maximum compression rather than a fast default.
  • Deciding whether optimizing is worth it. If re-deflating at level 9 is barely smaller than the file and the filters are adaptive, further lossless savings will be small.

Examples

Typical export

Input

screenshot.png

Output

zlib header: default compression (usually level 6); adaptive row filters

About the Identify PNG Compression Level tool

Identify PNG Compression Level is a free online tool that works entirely inside your web browser. Read the zlib compression hint, deflate block type and row filters of a PNG, and see how it compares with re-compressing it. Because the processing happens on your own device, nothing you enter is uploaded, logged or stored anywhere.

This page is one of 292 PNG utilities on EditSafely. Each one does a single job well, and all of them follow the same rule: your input stays on your machine.

There is nothing to configure. Provide the input and the result appears on its own. A worked example further down the page shows exactly what the tool produces for a real input.

Because nothing leaves your device, the tool is suitable for sensitive images such as ID scans, screenshots of internal systems or personal photos. It is also quick, since the pixels are processed on your own machine rather than by a remote API.

Frequently asked questions

Is Identify PNG Compression Level free to use?

Yes, it is completely free. All 2,943 tools on EditSafely work without an account, a subscription or usage limits.

Are my files uploaded to a server?

Everything happens locally. Your browser downloads the tool's code once, then does all the processing itself; nothing you enter is transmitted, stored or logged. You can even go offline after the page loads and it will still work.

Which files does Identify PNG Compression Level accept?

It accepts PNG images. There is no file size cap imposed by a server; very large files are limited only by your device's memory.

Do I need to sign up or install anything?

No. The tool works in any modern browser on desktop, tablet or phone. There is no account to create, no extension to add and no software to install.

How do I use the result?

Click Copy to put it on your clipboard, or Download .txt to save it as a file. Drop another image to start again.

Related tools

All PNG Tools →