PNG compressor and converter that runs in your browser
Make PNG files smaller without changing a pixel, or reduce the number of colours for much smaller graphics. You can also turn PNG into WebP, AVIF or JPG, and the other way round. Add many images and download them as a ZIP.
Leave the size empty to keep the original. The ratio is kept and images are never enlarged. Camera data, location and colour profiles are removed.
| Preview | File | Format | Size in px | Original | New | Saving | Status | Actions |
|---|---|---|---|---|---|---|---|---|
How to compress and convert PNG images
PNG stores every pixel exactly, which makes files large. This tool offers two ways to shrink them: lossless optimisation, which changes nothing you can see, and colour reduction, which trades a few colours for a much smaller file.
- Add your PNG files Drop them onto the box, paste an image or click to choose files. JPG, WebP and AVIF are accepted too, up to 200 files at a time.
- Keep PNG as the output format PNG is already selected on this page. To convert instead, switch the output format to WebP, AVIF or JPG.
- Choose lossless or fewer colours Lossless keeps every pixel and usually saves a few percent to a third. Fewer colours uses a palette of up to 256 colours and can cut flat graphics, logos and screenshots by half or more.
- Set the quality for fewer colours The slider sets how many colours are kept. Around 80 suits most graphics. Use a higher value for gradients and soft shadows.
- Resize, check and download Limit the width or height if you like, compare a file in the before and after view, then download the files or a ZIP.
Tips for smaller PNG files
- Use fewer colours for logos, icons, diagrams and screenshots. Photos look worse with a palette; convert photos to WebP or JPG instead.
- Resize to the size you display. A PNG shown at 600 px does not need 3000 px.
- Try lossless first. It is safe and often enough for design files.
- If you do not need transparency, JPG or WebP are far smaller for photos.
- Keep the original PNG when you reduce colours, because the lost colours cannot be restored.
Common mistakes
- Reducing colours on a photo Smooth skies and skin turn into bands and noise. Use WebP, AVIF or JPG for photos.
- Expecting lossless to be dramatic Lossless optimisation only reorganises the data. Savings are real but modest, especially for files that were already optimised.
- Choosing PNG for photos A PNG photo can be five to ten times larger than the same photo as JPG or WebP. Convert it unless you need exact pixels.
- Compressing text screenshots too hard Too few colours makes text edges rough. Raise the quality until the edges are clean.
Open it pre-filled with a link
Every field accepts a query parameter with the same name, so a link, a script or an AI agent can fill the tool in and run it. Open an example: /tools/png-converter-compressor/?format=png&mode=colors&maxw=1600
| Parameter | Values | What it does |
|---|---|---|
format | webp · avif · png · jpg (default: png) | Output format: webp, avif, png or jpg. |
quality | number (default: 80) | Quality from 1 to 100 for lossy output, and for the number of colours in PNG colour reduction. Higher is better and larger. |
mode | lossy · lossless · colors (default: lossless) | lossy or lossless for WebP and AVIF; lossless or colors for PNG (colors reduces the number of colours). JPG is always lossy. |
maxw | number | Maximum width in pixels. Empty keeps the original. Images are never enlarged. |
maxh | number | Maximum height in pixels. Empty keeps the original. Images are never enlarged. |
What this PNG tool includes
It combines an optimiser, a colour reducer and converters to and from the other web formats in one page.
- Lossless optimisation Pixels stay exactly the same; the data is stored more efficiently and an image with up to 256 colours is saved as an indexed PNG.
- Colour reduction Lossy mode with up to 256 colours and dithering for smooth gradients, controlled by one slider.
- Conversion to and from PNG PNG, JPG, WebP and AVIF in. PNG, WebP, AVIF or JPG out.
- Transparency kept Transparent areas stay transparent in PNG, WebP and AVIF output.
- Resize while converting A maximum width and height with the ratio kept and no enlarging.
- Results table and totals Size in pixels, original and new size, saving in percent and a total for the batch.
- Before and after A draggable divider to compare the original with the result.
- ZIP download and privacy Everything runs on your device and the results come as one archive if you like.
Two ways to make a PNG smaller
| Lossless | Fewer colours | |
|---|---|---|
| Pixels | Unchanged | Colours are merged into a palette |
| Typical saving | A few percent up to about a third | Often half or more on flat graphics |
| Best for | Design files, screenshots, anything that must stay exact | Logos, icons, diagrams and simple illustrations |
| Not suitable for | Nothing, it is always safe | Photos and detailed gradients |
Who uses a PNG compressor
PNG is everywhere in design and web work, and so are heavy PNG files.
Web designers and developers
Shrink icons, logos and interface graphics before they go live.
Online shops
Reduce product cut-outs and badges that need transparency.
Content and documentation teams
Make screenshots light enough for help centres and guides.
App and game makers
Cut the size of sprites and interface assets.
Anyone who hits an upload limit
Get a PNG under a size limit for a form, a store or an email.
If photos are the real weight on your site, convert them to WebP or AVIF with the related tools. For the rest of the performance picture, see the service linked on this page.
Frequently asked questions
Are my images uploaded to a server?
No. All the work happens in your browser with code served from this site. Nothing is uploaded or stored.
Is lossless PNG compression really lossless?
Yes. The pixels are identical before and after. Only the way they are stored changes. The tool also removes metadata such as camera data and embedded colour profiles.
How many colours does colour reduction keep?
Up to 256, set by the quality slider. A value near 100 keeps 256 colours, around 80 keeps about 180 and lower values keep fewer. Dithering is used to keep gradients smooth.
Why is my PNG larger after conversion?
A file that is already optimised may not shrink, and some conversions, such as a small JPG to PNG, make files larger. The table shows a negative saving when that happens.
Does it keep transparency?
Yes, in PNG, WebP and AVIF output. JPG has no transparency, so transparent areas become white.
Can I convert PNG to JPG or WebP?
Yes. Change the output format. For photos WebP, AVIF and JPG are much smaller. The pages for PNG to WebP and PNG to AVIF open the tool with that choice.
Are 16-bit PNG files supported?
They are read and saved as 8 bits per channel, which is what browsers and most websites use.
Is there a size limit?
Up to 200 files at a time, 50 MB per file and 40 megapixels per image.
Can I open the tool with settings already filled in?
Yes. Add options to the address, for example ?format=png&mode=colors&quality=80&maxw=1200. The list is in the first tab. You still add the files yourself.
Have a project in mind? Let us talk it through.
Tell us what you want to build or improve. We reply with a clear next step.