A Simple Picture With a Heavy File
A screenshot looks like the simplest kind of image: flat areas of colour, some text, a few icons. Yet a full-screen capture on a modern laptop is often 1 to 5 MB, and on a high-resolution display even more. Put ten of them into a document or a support ticket and you are over the attachment limit.
The format is doing exactly what it was asked to do. PNG is lossless and, by default, stores every pixel with full colour: 16.7 million possible colours, plus transparency. Smooth shadows, gradients and the soft edges of letters mean a real screenshot uses thousands of slightly different shades, and PNG faithfully records each one.
What We Measured
We took an ordinary screenshot of a web page — 1280 × 900 pixels, 412 KB as saved by the browser — and ran it through our image compressor with different settings.
| Result | File size | Saving | Text |
|---|---|---|---|
| Original PNG | 412 KB | — | Exact |
| PNG, palette of 256 colours (Balanced) | 163 KB | 60% | Edges stored exactly |
| PNG, 64 colours (Maximum) | 132 KB | 68% | Edges exact; gradients can show bands |
| JPG | 64 KB | 84% | Haze around letters, typical of JPG |
| WebP | 34 KB | 92% | Much cleaner than JPG |
Halving the picture to 640 × 450 without any other change gave 127 KB — a similar saving to the palette method, but with half the detail gone.
How Palette Compression Works
Instead of storing a full colour for every pixel, a palette PNG stores a list of up to 256 colours and, for each pixel, only a number that points into the list. One byte per pixel instead of three or four — and long runs of the same number compress extremely well.
The trick is choosing the 256 colours well. A good compressor analyses the picture, picks the colours that matter most, and blends neighbouring pixels (dithering) so that gradients still look smooth. Interface screenshots are ideal for this: they are built from a limited set of colours to begin with. Text stays crisp because edges are still stored exactly, pixel by pixel. Transparency is kept.
This is the method behind well-known PNG optimisers, and it is what our compressor applies to PNG files. A screenshot that happens to use 256 colours or fewer is stored without any change at all.
Why Not Simply Use JPG?
JPG gave a much smaller file in the test, and for a quick share it may be good enough. Look closely, though, and letters have a faint haze around them. JPG was designed for photographs; it handles sharp edges badly and gets worse every time the file is saved again. For documentation, bug reports and tutorials — anything where someone has to read small text — it is the wrong tool.
WebP: the Smallest Result
WebP was the clear winner at 34 KB. It handles sharp edges much better than JPG and every current browser displays it. The limits are outside the browser: some older image editors, office programs and upload forms still refuse WebP files. If the screenshot is going on a website or into a modern chat tool, use WebP. If it is going into a Word document or an old ticket system, a palette PNG is the safe choice.
Practical Advice
- Capture less. A cropped window or region instead of the whole screen is the biggest saving of all, and makes the picture easier to understand.
- Do not resize down to save space if the text must stay readable. Compress instead.
- On high-resolution screens, screenshots have four times the pixels of what you see. For the web, reducing them to 50% with the image resizer usually loses nothing visible.
- Check for private information before sharing: browser tabs, notification pop-ups, email addresses in the corner.
- Screenshots that contain a photograph behave like photos: palette compression makes them grainy, and JPG or WebP is the better format.
The compressor runs in your browser, so screenshots of internal systems are not uploaded anywhere. A wider comparison of the formats is in JPEG vs PNG vs WebP vs AVIF and How to optimize images for the web.