Compress PNG

Make PNG images smaller by lowering their pixel width or by saving them as WebP or JPEG instead. The page is open about what it does and does not do. It is free, needs no sign-up and runs in your browser, so your files stay on your device.

Compress PNGPrivate · runs on your device
Results

Your processed files appear here with download buttons.

How to use the Compress PNG tool

PNG is lossless, so shrinking it means changing something about the picture. This tool gives you two levers, and the first step is deciding which one fits.

  1. Drop your PNG files onto the box, paste them, or click to choose. A batch can be processed in one run.
  2. To keep the PNG format, enter a Max width in px (0 = keep size) that is smaller than your image. Leave Output format on Same as input, the preset value.
  3. To change format instead, set Output format to WebP or JPEG. Then Quality applies; for a PNG output it does nothing.
  4. Press Compress PNG and read the before and after size under each thumbnail.
  5. Download one result or use Download all. The file names stay the same, apart from the new ending if you changed the format.

What this tool can and cannot do for PNG

Dedicated PNG optimizers such as TinyPNG reduce the number of colors in a picture, a step called palette quantization, which makes files much smaller while looking nearly identical. This page does not do that. It never reduces colors.

What it does instead is straightforward:

  • It redraws the picture, optionally at a smaller width, and saves it again. Saving a PNG at the same size does not remove any detail, but it also does not promise a smaller file. Depending on how the original was created, the result can be a little smaller, about the same, or slightly larger.
  • It can re-save as WebP or JPEG, which are much more compact, at the cost of some detail.

If your goal is the smallest possible lossless PNG without changing its size, a color-reducing optimizer is the right type of tool. If your goal is a file that fits an upload limit, resizing or switching format will usually do more, and that is what this page is for.

Resizing, WebP or JPEG: choosing a lever

OptionTransparencyTypical result
Lower Max width, PNG keptKeptSize falls roughly in line with the pixel count
Output format WebPKeptOften a large saving; some older apps cannot open WebP
Output format JPEGReplaced by whiteSmallest for photos; poor for sharp text and line art

Consider a 3000 by 2000 pixel screenshot, which holds 6,000,000 pixels. Capping the width at 1500 gives 1500 by 1000, or 1,500,000 pixels, a quarter of the original. Expect a big drop, though not always exactly 75 percent, since flat areas compress well to begin with. Text will be smaller on screen too, so pick a width that still reads clearly where the image will be shown.

For logos and icons that must stay transparent, WebP is the lever to try first: use PNG to WebP if you want a dedicated page with advice on quality. For photographs saved by mistake as PNG, PNG to JPG is the quickest saving. To control pixel dimensions exactly, use the image resizer, and to compress JPG photos use Compress JPG. The image compressor is the parent tool with all formats.

Which setting for which job

The right lever depends on what the PNG contains and where it is going.

  • A screenshot for a help article. Cap the width at the width of your article column, keep PNG, and the text stays sharp.
  • A logo that must stay transparent. Keep PNG and lower the width a little, or try WebP and check how it looks on a dark background.
  • A photograph saved as PNG by mistake. Switch the output to JPEG at the preset quality of 75. The saving is usually large, since PNG is a poor home for photos.
  • A chart with thin lines and small labels. Avoid JPEG, which blurs thin lines. WebP at a high quality, or a smaller width, is safer.

After compressing, open the result at the size it will be shown. A change that looks harmless in a thumbnail can make small text unreadable at full size. Keep the originals, since a lossy format cannot be reversed.

Quick answers

Frequently asked questions

The questions people ask most, answered in plain words.

Does compressing a PNG reduce its quality?

Not if you keep the format and the width. A PNG saved again at the same size loses no detail. Quality drops only when you reduce the width, which removes pixels, or switch the output to WebP or JPEG, which are lossy at the chosen Quality.

Is this the same as TinyPNG?

No. TinyPNG-style tools reduce the number of colors in the picture, which this page does not do. Here you can lower the width or change the format to WebP or JPEG. For a lossless PNG with fewer colors, you need a dedicated optimizer.

How do I keep a transparent background when compressing?

Keep the output as PNG and lower the width, or choose WebP, which also keeps transparency. Do not choose JPEG, because JPEG cannot store transparent pixels and the tool fills them with white. Check the result on a colored background.

Why did my PNG stay the same size or grow?

Because re-saving a PNG at the same size does not guarantee a smaller file. The browser encodes it its own way, and the result may be slightly bigger. Set a smaller Max width, or switch the Output format to WebP, to get a real reduction.

What Max width should I choose?

Choose the largest width at which the image will actually be shown, not the original width. For a page column that is 800 pixels wide, 1600 pixels covers sharp high-density screens. Smaller widths save more, but text and fine lines become harder to read.