How to Compress PNG Images Online (and Get a PNG Under 100 KB)
Compress PNG files online by reducing colours, set an exact KB target such as 100 KB, keep transparency, and learn when a PNG should become JPG or WebP instead.
Updated November 8, 20269 min read
To compress a PNG online, open the PNG compressor, add the image, type the maximum size you need (100 KB, for example) and press Compress. A PNG has no quality setting like a JPG, so the tool makes it smaller by reducing how many colours it stores, and only if that is not enough does it scale the image down. Transparency is kept and the result stays a PNG. The rest of this guide explains why PNGs get so large, what you lose at each step, how to hit a strict KB limit, and when the better answer is a different format.
How to compress a PNG online, step by step
Add the image
Open Compress PNG and drop the file in, or browse for it. It accepts PNG, JPG, WebP, GIF, BMP and AVIF, and on this page the output is always PNG.
Choose how to compress
Under Compress by, pick Target size when a form or website has a limit, or Quality when you just want a smaller file and will judge it by eye. Target size is the default here, set to 200 KB.
Set the limit
Type the number into Maximum file size and pick KB or MB, or tap one of the common limits: 50 KB, 100 KB, 200 KB, 500 KB or 1 MB. The result is never larger than the number you set.
Compress and check the result
Press Compress. The card shows the old size, the new size and the percentage saved. If the image had to be shrunk to fit, it also says "scaled to" with the new width and height, so nothing changes without you being told.
Download
Zoom in on text, edges and gradients before you download. If they look rough, raise the limit a little and compress again; a PNG that is 20 KB over a soft target often looks much better than one forced exactly under it.
Why PNG files are so large
PNG is a lossless format. It stores every pixel exactly, then packs the data with the same kind of compression a ZIP file uses. Uncompressed, a pixel with transparency takes 4 bytes (red, green, blue and alpha), so a 1920 × 1080 image is about 8.3 MB of raw data before PNG starts packing it. How much of that PNG can remove depends entirely on how repetitive the picture is.
A screenshot of a settings page is mostly long runs of the same white or grey, which packs down to a small fraction of the raw size. A photograph is the opposite: every pixel differs slightly from its neighbours because of light, texture and camera noise, and lossless packing cannot throw any of that away. That is why the same 1920 × 1080 picture might be a few hundred KB as a screenshot and several MB as a photo saved as PNG. Phones, screen capture tools and design apps also often save PNGs with little effort spent on packing, so many files can shrink even before any detail is changed.
Lossless vs palette (lossy) PNG compression
There are two ways to make a PNG smaller. Lossless recompression keeps every pixel identical and only stores them more efficiently; savings are real but modest, and nothing can be lost. Palette compression, often called lossy PNG, reduces the image to a limited set of colours, at most 256 and often far fewer. Fewer distinct colours means much more repetition for the packer to exploit, so the file shrinks dramatically, while the format, the sharp edges and the transparency all stay.
In the compressor's Quality mode, the slider runs from 20% to 95%, and for a PNG it controls the number of colours kept. At 95% the colours are left alone and the image is simply saved again; every step below that reduces the palette. When colours are reduced, the tool dithers them, mixing nearby colours in a fine pattern so smooth gradients do not break into visible stripes.
| Quality slider | Colours kept | Typical look |
|---|---|---|
| 95% | All (no reduction) | Identical pixels; smallest saving |
| 90% | 194 | Indistinguishable for most graphics and screenshots |
| 75% | 84 | Fine for logos, icons, charts and UI screenshots |
| 50% | 21 | Flat graphics still clean; photos show grain from dithering |
| 35% | 9 | Only very simple artwork survives |
| 20% | 4 | Poster-like; for line art or two-tone images |
The table shows why palette compression suits some images and not others. A logo with five brand colours loses nothing at 21 colours. A photograph of a sunset has tens of thousands of colours, and squeezing it into 84 means visible grain in the sky. For photos, a lossy photo format does a better job; see the section on switching format below.
Hitting a KB target: compress PNG to 100 KB
In Target size mode the tool does the searching for you. It tries different colour counts and keeps the best-looking result that fits under your limit. If even the smallest sensible palette is still too big, it scales the image down, starting from the original each time so the picture is never resampled twice, and tells you the new dimensions. If a target is impossible even at a fifth of the original size, it says so plainly: "Could not reach 100 KB", and hands you the smallest honest attempt instead of a file that only pretends to fit.
Whether 100 KB is easy depends on pixels, not on the original file size. A simple sum helps: 100 KB is about 819,000 bits. Spread across a 1920 × 1080 image (2.07 million pixels), that is roughly 0.4 bits per pixel. A PNG needs about 2 bits per pixel just to name one of four colours before packing, so a busy full HD image can only reach 100 KB if it is very repetitive or gets smaller. The same 100 KB on a 600 × 600 image is over 2 bits per pixel, which is comfortable for most graphics.
| Image | Under 100 KB as PNG? | What to do |
|---|---|---|
| Logo or icon, a few flat colours | Almost always, at full size | Target size 100 KB, or Quality 50–75% |
| UI screenshot, mostly flat | Usually, possibly slightly scaled | Target size; crop away unneeded areas first |
| Chart, diagram or scanned text | Usually, if under about 1500 px wide | Target size; check small text after compressing |
| Full HD screenshot with photos in it | Often only after scaling down | Resize to the size you actually display, then compress |
| Photograph saved as PNG | Only small and grainy | Convert to JPG or WebP instead |
Set an exact KB or MB limit or choose by quality; transparency is kept and the result is never over your target. Free: one image at a time, up to 25 MB, exported up to 4096 px on the longest side. Pro: batches of up to 100 images. It all runs on your device, not our servers.
Compress a PNGWhen to switch format instead
Compressing a PNG harder is the wrong move when the picture is a photograph. Palette reduction is built for flat colour; on a photo it trades size for grain, and the file stays larger than a lossy photo format would make it at better quality. The decision comes down to two questions: does the image need transparency, and does the place you are uploading accept WebP?
- Photo, no transparency needed: convert with PNG to JPG. JPG is accepted by almost every upload form. Transparent areas become a solid background, so only do this when there are none.
- Photo or mixed image that needs transparency: convert with PNG to WebP. WebP keeps the alpha channel and is usually much smaller than a PNG of a photo, but check that the destination accepts .webp files.
- Logo, icon, screenshot, line art or text: stay with PNG and compress it. These are the images palette compression handles best, and JPG would blur the sharp edges.
- Several formats in one job: the general image compressor lets you choose the output format, including WebP and AVIF, alongside the same KB target.
For a fuller comparison of the formats themselves, see PNG vs JPG vs WebP. For general advice on shrinking photos without visible loss, which this guide does not repeat, see how to reduce image size without losing quality.
What goes wrong when compressing PNGs
- The file barely shrinks at 95%. That setting keeps every colour, so only the packing changes. If the original was already packed well, there is little left to gain. Lower the slider or use Target size.
- Gradients show grain or speckles. That is dithering standing in for colours that were removed. Raise the limit or the quality slider, or switch a photographic image to WebP or JPG.
- Small text looks rough. Anti-aliased text edges use many in-between shades. Keep at least 50 to 75% for screenshots with small type, and zoom to 100% before judging.
- The image came back smaller in pixels. Colours alone could not reach the target, so it was scaled; the result line says "scaled to" with the size. Raise the target, crop away empty areas, or accept the smaller size.
- The result is larger than the original. This happens when a file was already heavily optimised and is saved again with all its colours. Keep the original, or pick a lower target.
- The free version resized a very large image. Free exports up to 4096 px on the longest side, and the card says when it applied that limit. Pro has no export cap.
- The upload form still rejects the file. Some forms count 1 MB as 1,000 KB and others as 1,024 KB, and some only accept JPG. Set the target a little under the stated limit, and check the accepted file types.
Transparency and privacy
Transparent areas survive compression: the colour reduction works on all four channels, so a logo on a see-through background stays see-through, including soft edges, and does not gain a white box. If you later convert the same file to JPG, though, the transparency is gone, because JPG cannot store it.
PNGs are often screenshots, and screenshots often contain things you would rather not upload anywhere: chat messages, account pages, document scans. The compressor processes the image on your own device, so it is not sent to a server in order to be made smaller.
Frequently asked questions
How do I compress a PNG to 100 KB?
Open Compress PNG, keep Compress by on Target size, set Maximum file size to 100 KB (or tap the 100 KB preset) and press Compress. The tool reduces colours first and scales the image down only if colours alone cannot reach 100 KB. The result is never above the limit.
Can I compress a PNG without losing quality?
Yes, if you accept a smaller saving. At 95% on the Quality slider every colour is kept and the pixels stay identical; only the packing changes. Real reductions come from cutting colours, which is invisible on most logos and screenshots but not on photographs.
Why is my PNG file so big?
PNG is lossless, so it stores every pixel exactly. Photos, gradients and noisy images have almost no repetition to pack, and a full HD image is about 8.3 MB of raw pixel data before packing. Screenshots and flat graphics pack far better.
Does compressing a PNG remove the transparent background?
No. The colour reduction keeps the alpha channel, so transparent and semi-transparent areas stay as they were. Transparency is only lost if you convert the PNG to JPG.
Should I convert my PNG to JPG or WebP to make it smaller?
Convert when the image is a photograph. Choose JPG when there is no transparency and the destination needs maximum compatibility, WebP when you need transparency and the destination accepts it. Keep PNG for logos, icons, screenshots and text.
Can I compress several PNGs at once?
Free compresses one image at a time, up to 25 MB each. Pro queues up to 100 images in one run with the same settings and lets you download them all together.