Compress PNG
Make your PNG files smaller — logos, screenshots, icons and graphics — without losing the transparency that makes PNG special. Your image is never uploaded.
PNG files only
or drag and drop your PNG here
The download is named after your original file, with "-compressed" added, and it is always a PNG. Nothing is uploaded — the compressed image is made on your device.
Compress engine ready. Add a PNG image to compress it.
Compress PNG Online Free — Reduce PNG File Size Without Losing Quality
PNG files are wonderful and heavy at the same time. They keep every pixel perfect, they keep transparent backgrounds see-through, and they keep text in screenshots sharp enough to read. The price is size: a PNG screenshot from a modern phone can be 5 megabytes, and a website with ten such images makes every visitor wait. This tool shrinks your PNG files right here in your browser, for free, and your image never leaves your device.
What Is PNG Compression?
PNG compression means making a PNG file smaller while keeping it a PNG. A JPG can be squeezed by throwing away detail your eye will not miss. A PNG has no quality slider, because it never throws anything away: every pixel is stored exactly. So compressing a PNG works by storing the same picture more cleverly: fewer colours to describe, fewer pixels to store, and no hidden metadata taking up space.
Think of it like packing a suitcase. A JPG compressor throws clothes away. A PNG compressor folds them better and uses a smaller suitcase. With the lossless setting every pixel is identical to the original. With a stronger setting the picture changes in a way you can see in the preview first.
How to Compress a PNG With This Tool (Step by Step)
Step 1 — Add your PNG. Press "Select PNG Image" at the top of this page, or drag your PNG onto the box. Only PNG files are accepted; other files are refused with a plain message.
Step 2 — Look at your image. Your PNG appears on the left, on a grey-and-white checkerboard. Anywhere you can see the checkerboard through the picture, that part is transparent.
Step 3 — Pick how much to compress. Press a preset: Lossless, Balanced, Small, Smallest or Greyscale. Balanced is the right starting point. If the file is still too big, go one step stronger; if the picture looks flat or banded, go one step gentler.
Step 4 — Fine-tune if you want to. The colour-depth menu lets you pick an exact number of colours — 256, 128, 64, 32 or 16 — and the resize buttons shrink the picture to 75, 50 or 25 percent.
Step 5 — Press "Compress PNG". The tool draws your picture at the new size, reduces the colours if you asked it to, and writes a fresh PNG. The before and after numbers appear side by side: file size before, file size after, how much you saved, and the dimensions.
Step 6 — Download. Press the big download button. The file is named after your original, with "-compressed" added, and it is always a PNG. If the result is bigger than the original, the tool tells you plainly.
Lossless vs Lossy: What Actually Happens to Your PNG
Lossless compression changes nothing you can see. Every pixel keeps its exact colour, and the file gets smaller only by being stored more efficiently. The Lossless preset re-encodes the picture, which drops hidden metadata such as camera data and editing history, and writes the pixels out again with the browser's own PNG encoder. On a PNG saved carelessly, that alone can cut the size by a noticeable amount.
But lossless has a hard limit. If a PNG is already well packed, re-encoding it will barely shrink it, and it can even make it a fraction bigger. That is not a bug; it is the nature of a lossless format. When that happens, this tool says so in the results, and the real fix is a lossy step: fewer colours, or a smaller picture.
Lossy compression changes the picture in exchange for a much smaller file. Reducing the colours from millions to 256 is lossy — but for a logo, an icon or a diagram, the change is invisible, because the picture only had a few dozen colours to begin with. Resizing from 4000 pixels wide to 1000 is lossy too, but if the picture is only ever shown at 1000 pixels wide, nothing you can see is lost.
Colour Depth Explained: Why Fewer Colours Means a Smaller File
Every PNG stores a list of the colours it uses. A photographic PNG can use millions of colours, and describing millions of colours takes space. A logo might use twelve. The trick of PNG compression is that most pictures use far fewer colours than the format allows, and keeping only the colours a picture actually needs is where the biggest savings come from.
This tool reduces colours with a method called median-cut quantization. It looks at all the colours in your picture, finds the colour range that is widest, splits it in half, and repeats until it has the number of colours you asked for. Each colour is then replaced by the nearest colour in the new, smaller set. A sunset with 256 colours still looks like a sunset. With 32 colours the same sky starts to show bands, because there are not enough shades left for a smooth gradient.
The rule of thumb is simple. Flat graphics — logos, icons, buttons, diagrams, text — compress beautifully at 32 or even 16 colours, often to a tenth of their original size. Screenshots do well at 64 or 128. Photographs and smooth gradients need 256.
The Presets: Lossless, Balanced, Small, Smallest, Greyscale
Lossless keeps every pixel and only strips metadata. Use it when the picture must be perfect: a master copy, a file for print, or a graphic you will edit again later. Expect a small saving, sometimes none at all.
Balanced reduces the picture to 256 colours. Use it as the default. It is right for most screenshots, logos, diagrams and web graphics. The saving is usually large — often half or more — and the change is usually invisible.
Small reduces the picture to 64 colours. Use it when the file must be small and the picture is simple: a flat icon, a button, a simple logo, a chart with a few flat areas. If a sky or a shadow looks stepped in the preview, go back to Balanced.
Smallest reduces the picture to 32 colours. Use it when size matters more than smoothness: a tiny favicon, a thumbnail, a placeholder, a graphic shown small. It is not right for photographs or anything with a gradient.
Greyscale removes the colour and keeps the detail. Use it for scans, documents and black-and-white diagrams. A greyscale picture has one channel of information instead of three, so it compresses far better.
Transparency: Why PNG Keeps What JPG Cannot
Transparency is the reason PNG exists. A logo with a transparent background can sit on any colour, a sticker can be pasted on any photo, an icon can float over any page. JPG cannot do this at all: a JPG has no transparent pixels, so a transparent area becomes white the moment you save as JPG. That is why this tool never converts a PNG to JPG. The download is always a PNG, and every transparent pixel is kept exactly as it was.
The checkerboard behind the previews is how you check this. Grey and white squares mean "nothing here". If your logo has a transparent background, you will see the checkerboard around it in both previews. Transparency is carried through every step — the resize, the colour reduction and the final PNG all keep the alpha channel untouched. Colour reduction only changes red, green and blue, never transparency.
Resizing: The Fastest Way to Shrink a PNG
If colour reduction is the clever way to shrink a PNG, resizing is the fast way. A picture that is 4000 pixels wide has 16 million pixels. The same picture at 1000 pixels wide has 1 million. That is sixteen times fewer pixels to store, and the file size usually falls by a similar amount.
The resize buttons scale the width and height together, so the shape never changes. Fifty percent makes the picture half as wide and half as tall, which quarters the pixel count. The "longest side" box does the same for a target size: type 1024 and a 4000 by 3000 picture becomes 1024 by 768.
Resize to the size the picture will actually be shown at, and no bigger. A blog that shows images at 800 pixels wide gains nothing from a 4000-pixel file: the extra pixels are downloaded, then thrown away by the browser.
PNG vs JPG vs WebP: Which Format to Use
PNG is right when the picture must be exact: screenshots, text, diagrams, logos, icons, and anything with transparency. It is the wrong format for photographs on the web, where it is usually five to ten times bigger than a JPG of the same picture. If your PNG is a photograph with no transparency, the best compression is often to save it as a JPG instead.
JPG is right for photographs and for any picture with smooth gradients and no transparency. It throws away detail your eye will not miss, and the file comes out much smaller. Its weaknesses are sharp edges, where it leaves a faint shimmer, text, which goes slightly soft, and transparency, which it cannot store at all.
WebP is the newer format, and the best of both in most cases. It compresses photographs nearly as well as JPG, it supports transparency like PNG, and it handles sharp edges better than JPG. Its one weakness is compatibility: very old software may not open WebP files.
Compressing PNGs for Websites and Blogs
A website is where PNG compression pays for itself most directly, because every extra kilobyte is time your visitor waits. A blog post with five screenshots straight from a phone can easily be 20 megabytes, and on a slow mobile connection that is ten seconds of waiting. The same five screenshots compressed to 256 colours and resized to 800 pixels wide are usually under 1 megabyte in total, and the page loads in a second.
Compress to the size the picture is shown at, and no bigger. If your blog shows images at 800 pixels wide, resize them to 800 and use Balanced. Save photographs as JPG, and save logos, diagrams and screenshots as PNG. Search engines rank fast pages higher, so compression is one of the cheapest improvements a blog owner can make.
Compressing PNGs for Social Media and Messaging
Social apps and messaging apps compress your pictures themselves when you upload — usually badly. Doing it yourself first means you choose the size and the quality, not the app. A PNG sent through a messaging app is often converted to JPG and shrunk without asking you, which destroys transparency and softens text. Sending it as a document, rather than as a photo, keeps it a PNG.
For profile photos, resize to the size the app shows — usually 512 by 512 or smaller — and use Balanced. For stickers, transparency is the whole point, so stay with PNG and use Small; stickers are shown small, and 64 colours is plenty.
Compressing PNGs for Apps, Icons and Favicons
App icons, favicons and interface graphics are the pictures PNG compression was made for. They are small, flat, and full of solid colour — exactly the pictures that compress best. A 1024 by 1024 app icon with a transparent background can often shrink from hundreds of kilobytes to tens of kilobytes at 32 colours, with no visible change, because the icon only had a few dozen colours to begin with.
Compress each icon size separately rather than compressing one large file and resizing it afterwards. And keep the master copy: compress a copy for the app, and keep the original PNG untouched. Compression is one-way — you can always make a small file from a big one, but you can never get the colours back once they are gone.
Compressing Screenshots and Diagrams
Screenshots are the most common PNGs in the world, and they compress beautifully, because a screen is mostly flat colour: white backgrounds, solid buttons, black text. A screenshot of a settings page might have only a few hundred distinct colours, and Balanced at 256 colours will often cut it to a third of its size with no visible change.
Diagrams, charts and flowcharts are even better. A chart with five flat colours compresses to almost nothing at 16 or 32 colours, and the text stays perfectly sharp, because PNG never blurs text the way JPG does.
Honest Limits: What This Tool Cannot Do
This tool is honest about its limits. First, it is not a dedicated PNG optimizer. True PNG optimizers use advanced methods — trying many filter patterns, searching for the best compression settings, rebuilding the file with specialized tools — and those need software installed on a computer or a server. This tool runs in a browser, so it shrinks files by reducing colours, resizing, and stripping metadata. For most graphics that is enough; for a photographic PNG that is already well packed, it is not.
Second, it cannot make a photographic PNG small without visible change. A photograph has millions of colours and smooth gradients, and the only ways to shrink it are to throw colours away, which causes banding, or to shrink the picture, which loses detail. If your PNG is a photograph, convert it to JPG instead. Third, it cannot recover quality that is already gone.
Fourth, it works on one file at a time, with a 50 megabyte limit and a 6000-pixel limit on the longest side. Finally, compression is permanent. Once the colours are gone, they are gone. Always keep the original PNG, and compress a copy.
Common Problems and Fixes
"My PNG was refused." The tool only accepts real PNG files. A JPG renamed to ".png" is still a JPG inside, and the tool checks the file's contents, not just its name. A file with no extension is refused too. If a genuine PNG is still refused, it may be damaged; try opening it in an image viewer first.
"The compressed file is bigger than the original." This happens with PNGs that are already tightly packed, usually small icons or files saved by a good optimizer. Try the Small preset or resize the picture; if it is still bigger, keep the original — the tool shows you the numbers so you can decide.
"The compressed file is barely smaller." Your picture probably has too many colours for the preset you chose, or it is a photograph. Try a stronger preset, or resize it, or both.
"The sky looks banded, like steps." The colour count is too low for a smooth gradient. Go back to Balanced, or use Lossless and resize instead. Gradients need colours; flat graphics do not.
"The text looks fuzzy." Text needs sharp edges. Use Balanced or Lossless, and do not shrink the picture below the size the text will be read at.
"The transparent background turned white." That cannot happen inside this tool, because the download is always a PNG and transparency is kept at every step. If you see white, the picture is being shown in a viewer that paints transparency white.
"The download did not start." The big download button in the results box is the fallback: press it, and the file downloads. If your browser blocks downloads, check the address bar for a blocked-download icon.
"Compressing is slow." The colour-reduction step looks at every pixel, so a very large image takes a few seconds. The Lossless preset is instant, because it skips that step. Do not close the tab while the status says "Compressing".
Frequently Asked Questions
Is this Compress PNG tool really free?
Yes. No account, no sign-up, no daily limit and no watermark on your compressed PNG.
Are my PNG files uploaded anywhere?
No. Your PNG is compressed inside your own browser, and closing the page deletes everything. The file never leaves your device.
Which files can I compress?
PNG files only, up to 50 megabytes and 6000 pixels on the longest side. JPG, GIF, WebP, PDF and text files are refused with a plain message.
Will compression remove the transparency from my PNG?
No. Transparency is kept exactly. The checkerboard preview shows it before you download.
What is the difference between Compress PNG and Compress JPG?
They are different tools for different formats. Compress JPG re-encodes a photograph with a quality slider and can shrink a photo dramatically. Compress PNG works on PNG files, keeps transparency, and shrinks them by reducing colours, resizing and stripping metadata.
Will the compressed PNG still open everywhere?
Yes. The download is a standard PNG file, and it opens in every browser, image viewer, editor and app that opens PNG files.
How much smaller will my PNG get?
It depends on the picture. Logos, icons, diagrams and flat screenshots often shrink by 50 to 90 percent. Photographic PNGs shrink only a little, and a PNG that is already well packed may not shrink at all.
Can I compress more than one PNG at a time?
The tool compresses one file at a time. Compress the first, download it, press Clear, and add the next.
Will it work on my phone?
Yes. The tool runs in any modern phone browser. Pick a PNG from your photos or files, choose a preset, and download the result.
What happens to my PNG after I close the page?
Everything is deleted. The PNG and its compressed copy exist only in your browser's memory while the page is open.
Conclusion
PNG files are heavy because they are perfect, and most of the time that perfection is wasted — a logo does not need sixteen million colours, a screenshot does not need to be 4000 pixels wide, and a blog post does not need 20 megabytes of images. Compressing a PNG keeps the perfection that matters and drops the weight that does not: the transparency stays, the text stays sharp, and the file gets small enough to send, upload and load quickly.
Before you start, a sixty-second checklist. One, keep the original PNG and compress a copy, because compression is one-way. Two, start at the Balanced preset and look at the preview before reaching for a stronger one. Three, resize to the size the picture will actually be shown at — half the width and half the height quarters the file. Four, check the checkerboard in the compressed preview. Five, read the numbers before you keep the file. By Umar Farooq, Tech Know.

0 Comments