PNG is the format that never lies about a picture, and that honesty is expensive. Because PNG is lossless, it stores every pixel exactly. For a screenshot or a logo that is exactly what you want. For a photograph, it means a file many times larger than the same picture saved as a JPEG, often too heavy for a web page, a form or an email.
So compressing a PNG is a different problem from compressing a JPG. Squeezing a PNG while keeping it a PNG buys you little, because the format already stores the picture efficiently. The real savings come from re-encoding: letting the Image Compressor on Ovatly save the picture as JPEG or WebP at the quality you choose, and accepting a small, controlled loss in exchange for a file a fraction of the size. This guide explains when each output wins, and when to keep the PNG as it is.
Contents
- Quick answer
- Why PNG files are heavy
- Why re-encoding beats squeezing a PNG
- JPEG, WebP or PNG: choosing the output
- How to compress a PNG, step by step
- Worked example: one PNG, two outputs
- Limitations and honest tradeoffs
- Common mistakes
- FAQs
- Conclusion
- References
Quick answer
To compress a PNG online: open the Image Compressor, add your file, and choose the output by what the picture is. For a photo, choose JPEG at around 80% quality for the widest compatibility, or WebP for a smaller file on the modern web. For a screenshot or graphic with large flat areas, try WebP first, because it often shrinks those images more than JPEG does. If the image has sharp edges, few colours and transparency you need to keep, WebP is again the safer bet, and if the edges must stay pixel-perfect, keep the PNG original untouched.
Why PNG files are heavy
A PNG stores the picture exactly. Nothing is approximated and nothing is thrown away, which is why screenshot text stays razor sharp and logo edges stay clean. The cost is size. A photograph is the worst case for exact storage: a single photo holds millions of pixels, each slightly different from its neighbours, and exact storage has to describe all of them.
That is why a photo saved as PNG can be several times larger than the same photo as a JPEG, with no visible difference on screen. The extra megabytes buy precision nobody can see in a photo, while for a diagram or a screenshot that precision is the entire point.
Why re-encoding beats squeezing a PNG
When the compressor re-encodes your PNG as JPEG or WebP at a chosen quality, the new encoder is allowed to approximate: to store a close version of the picture instead of the exact one. That permission is where the savings live. A quality setting of 80% keeps the picture looking the same at normal viewing sizes while discarding information your eye would never catch, and the slider updates the result live so you can see the before and after sizes and a preview before downloading.
Re-encoding as PNG again has limited effect, because a lossless encoder has no such permission. It can tidy the storage slightly, but it cannot make the picture cheaper to describe without changing it. If your PNG barely shrinks, that is the format working as designed, not the tool failing.
JPEG, WebP or PNG: choosing the output
Choose JPEG for photographs and for the widest compatibility: every browser, email client and form accepts it. Choose WebP for the modern web, where it produces smaller files, and for screenshots and graphics: PNG screenshots with large flat areas often shrink more as WebP than as JPEG. WebP also keeps transparency, while JPEG drops it and fills transparent areas in, so a logo or overlay needing a transparent background must not go to JPEG.
One warning: images with sharp edges and few colors, such as logos, screenshots and diagrams, are already efficient as PNG. Saving them as JPEG can actually make the file bigger while adding fuzzy artifacts around the edges. For those, compare the WebP result against the original PNG and keep whichever wins. And when the edges have to stay pixel-perfect, for a logo master file or a diagram you will edit again, keep the PNG and accept its size.
How to compress a PNG, step by step
- Open the Image Compressor and tap the file box to choose your PNG, or drop the file onto it. The tool shows the size you are starting from.
- Move the quality slider to 80% as a starting point. The result updates each time you change it.
- Choose the output format: JPEG for a photo or for maximum compatibility, WebP for a screenshot, a graphic, or anything with transparency to preserve.
- Compare the before and after sizes and check the preview, especially around text and sharp edges, where a bad choice shows up first.
- If the result is bigger than the original, or the edges look fuzzy, switch the output and try again. Download only when the new file is both smaller and clean, and keep the original PNG stored separately.
Worked example: one PNG, two outputs
Take a PNG screenshot of a settings page: mostly flat panels, sharp text, a handful of colours. Run it through the compressor twice. As JPEG, a screenshot like this can come out no smaller than the PNG, sometimes bigger, with a faint fuzz around the letters, because JPEG spends its budget on photographic detail that is not there. As WebP, the same screenshot usually shrinks far more, because WebP handles large flat areas efficiently while keeping the text edges clean. The tool shows the true before and after numbers for your file, so the comparison takes seconds and the smaller, cleaner output wins.
For scale: a typical 3 MB phone photo (4032 by 3024) compressed at 80% quality usually lands in the hundreds of kilobytes as a JPEG. Stored as a PNG, that same photo would weigh far more, which is why re-encoding, not squeezing, is where a PNG photo gives its size back.
Limitations and honest tradeoffs
Compression is lossy: fine detail is traded for size, and the trade is permanent in the downloaded file. Keep your original PNG if you may need the image for print, or if its edges have to stay exact. The compressor also changes file size only: dimensions are not changed by this tool, so if the picture is too wide or tall in pixels, resize it as a separate step.
The tool handles one image at a time so you can check each result; for batches with identical settings the flow takes only a few seconds per image. And there is no target-size input: you steer by the slider, the live readout and the preview, which keeps the trade visible instead of hiding it.
Common mistakes
- Saving a screenshot as JPEG and wondering why it grew. Sharp edges and few colours are already efficient as PNG. Try WebP, and keep the smaller file.
- Losing transparency without noticing. JPEG fills transparent areas in. If the graphic needs transparency, use WebP or keep the PNG.
- Expecting a re-saved PNG to shrink a lot. Lossless storage has little left to give. Real savings require a lossy output.
- Compressing the only copy. The original PNG is your master. Compress a copy, and keep the master for editing and print.
- Judging by the middle of the picture. Check text, logos and edges in the preview. That is where the wrong output shows itself.
FAQs
Why is my PNG file so big? PNG is lossless: it stores the picture exactly, pixel for pixel. That is ideal for screenshots, logos and diagrams, but a photo holds millions of slightly different pixels, and storing all of them exactly produces a very large file.
Why did my PNG get bigger as a JPEG? Images with sharp edges and few colors, such as logos, screenshots and diagrams, are already efficient as PNG. Saving them as JPEG adds compression artifacts without saving space; WebP usually wins for those.
Will saving as JPEG remove the transparency in my PNG? Yes. JPEG has no transparency, so transparent areas are filled in. WebP keeps transparency, which is one reason it is often the better output for graphics that started life as PNG.
Is my image uploaded for compression? No. Your browser does the compression itself using its built-in image encoder, and the image never leaves your device.
Should I delete the PNG after compressing? No. Compression is lossy, so keep the original PNG if you may need it again, especially for print or for any graphic whose edges have to stay pixel-perfect.
Conclusion
A PNG shrinks when you let it change format, not when you squeeze it harder. Pick JPEG for photos and compatibility, WebP for screenshots, graphics and transparency, and keep the PNG itself when exact edges matter. The Image Compressor shows both sizes and a preview for every attempt, so the choice is made on evidence. If your file is a JPG instead, the trade runs the other way, and our guide to compressing a JPG image online explains it. For more guides in this series, see our Image Tools guides.
References
- web.dev (Google), on why image weight dominates page weight and how to reduce it: https://web.dev/articles/serve-responsive-images
- MDN Web Docs, on image file types and the formats browsers support: https://developer.mozilla.org/en-US/docs/Web/Media/Guides/Formats/Image_types