Why is my PNG file so big?
Updated 2026-01-06 · 6 min read
The short answer: PNG is a lossless format. Every pixel is stored exactly, and the compression only removes redundancy in the data — it does not throw anything away. A photograph has very little redundancy, so it stays huge. Convert it to JPEG or WebP and the same image drops by 80–95%.
What "lossless" actually means
PNG first applies a prediction filter to each row of pixels, then compresses the result with DEFLATE — the same algorithm used in ZIP files. DEFLATE is good at finding repeated byte sequences. A screenshot of a white document is almost entirely repetition, so it compresses extremely well. A photograph of a forest is essentially random noise at the byte level, so there is nothing to find.
That is the whole explanation. The format is not badly designed; it is designed for a different job.
Why photographs are the worst case
A camera sensor records slight variations in every pixel — film grain, sensor noise, subtle gradients in shadows. None of that repeats. Meanwhile JPEG is built specifically for this: it converts the image to a frequency representation, discards detail the eye is unlikely to notice, and stores the rest compactly.
Rough numbers for the same 3000 × 2000 photograph:
| Format | Typical size | Visible difference |
|---|---|---|
| PNG (24-bit) | 8–12 MB | None — it is exact |
| JPEG, quality 85 | 1–1.5 MB | None at normal viewing size |
| WebP, quality 85 | 0.7–1 MB | None at normal viewing size |
| PNG, 256 colours | 1.5–3 MB | Visible banding in gradients |
When PNG is the right choice
PNG earns its size in specific cases, and it is worth knowing which ones:
- Screenshots and UI captures — large flat areas, text that must stay crisp
- Logos and icons — few colours, hard edges, often a transparent background
- Images with transparency that will be composited later
- Line art, charts and diagrams — anywhere a JPEG artefact would be obvious
- Anything that will be edited repeatedly — re-saving a JPEG compounds damage, re-saving a PNG does not
If your image is a photograph and does not need transparency, PNG is the wrong container regardless of how convenient it was to save.
Three ways to make it smaller
1. Convert to JPEG or WebP. The biggest win by far, and usually the correct fix. Convert PNG to JPG takes a few seconds and cuts a photograph to roughly a tenth of its size. If the destination is a website, choose WebP instead — same quality, another 25–35% smaller.
2. Reduce the colour depth. For graphics with few colours, converting to an indexed PNG (256 colours or fewer) can shrink the file dramatically with no visible change. It is the wrong move for photographs, where it produces banding in every gradient.
3. Reduce the dimensions. Halving the width quarters the pixel count, which quarters the file for any format. If the image is displayed at 800 pixels wide, storing it at 4000 is pure waste — resize it and the problem often disappears without changing format at all.
What about transparency?
This is the one case where people reasonably resist converting. JPEG has no alpha channel, so transparency becomes a solid colour — usually white, sometimes black, depending on the software. WebP keeps the alpha channel and is typically 60–80% smaller than PNG for the same cut-out. If you need transparency and a small file, WebP is the answer; if the destination insists on PNG, reducing dimensions is the only lever left.
Frequently asked questions
Can I compress a PNG without losing quality?
Only by removing redundancy more cleverly — tools like optipng or oxipng typically recover 5–15%, not 80%. A PNG that is 10MB because it contains a photograph will still be around 8.5MB afterwards. The size is inherent to storing every pixel exactly.
Is WebP safe to use now?
Yes, for websites and modern apps — every current browser supports it. It is not safe for forms that validate file extensions, and older desktop software may not open it.
Why did my PNG get bigger after editing?
Editors often re-save with a different compression level, add metadata, or flatten transparency onto a background. Some also save as 16-bit or add colour profiles. Re-encoding through a browser canvas, as the tools here do, produces a fresh, minimal file.
Does converting PNG to JPG remove transparency permanently?
In the output file, yes — the transparent areas become white. Keep the original PNG if you may need the cut-out again later.
Tools mentioned in this guide
All tools run locally in your browser — nothing is uploaded.