Compress PNG Files Online

Need to compress a PNG file online? Drop up to 5 PNG files here and shrink them with our free PNG compressor. It suits logos, graphics, screenshots, and images that need transparency. Lossless compression keeps every pixel as it was.

Perfect for Logos
Preserves Transparency
Lossless Quality
Batch Processing
Also compress: JPEG • WebP • AVIF • All Formats

Upload PNG Files

Drag and drop your PNG images below. Supports up to 5 files at once.

Drop Your Images Here
Supports PNG, JPEG, WebP, AVIF • Up to 5 files at once
or

Why Use Our PNG Compressor?

Perfect for Transparency

PNG is the only format that supports full alpha channel transparency. Our compressor maintains perfect transparency while reducing file size.

Lossless Compression

Every pixel remains identical to the original. Ideal for logos, graphics, screenshots, and any image where perfect quality is required.

Best for Graphics

PNG excels at compressing images with solid colors, text, and sharp edges. Perfect for UI elements, icons, diagrams, and illustrations.

Web Optimization

Reduce bandwidth and improve page load times. Compressed PNG files load faster while maintaining the crisp, clear quality your users expect.

When to Use PNG vs JPEG

Use PNG for:
  • Logos and brand assets
  • Screenshots and UI elements
  • Graphics with transparency
  • Text and line art
  • Images requiring exact reproduction
Use JPEG for:
  • Photographs and realistic images
  • Images with gradients
  • Content without transparency
  • Social media posts
  • Large images where some quality loss is acceptable

Lossless or lossy for PNG

PNG is a lossless format by design, so lossless mode keeps every pixel as it was and only changes how the data is stored. It is the right default for logos, icons, screenshots, diagrams and any file you may edit again. The saving is often modest, because the encoder can only remove redundancy and cannot throw detail away.

Lossy mode for PNG works by reducing the number of colours the image uses. A photograph or a smooth gradient has thousands of distinct shades, so cutting the palette can produce visible banding or speckled noise. Flat artwork with a limited palette usually survives much better. If the original has fine gradients, soft shadows or semi-transparent edges, start with lossless and only try lossy when the file is still too large.

For a deeper explanation of what the encoder is doing, read how PNG compression works and lossy vs lossless compression.

How to compress a PNG with this tool

  1. Drop up to 5 PNG files onto the upload area, or click it to choose them. The tool also accepts JPEG, WebP and AVIF.
  2. Wait for the upload to finish. Files are sent to our servers over HTTPS and deleted automatically after processing.
  3. Pick a mode under Compression Settings: Lossless, Lossy, or Custom.
  4. Press Compress PNG Files. No registration is needed.
  5. Look at the results table, which lists the original and compressed size for each file, and open the compare view to check the before and after images.
  6. Download each file separately or use Download All as ZIP.

Recommended settings for common uses

These are starting points, not rules. Always compare the result against the original before you replace anything.

  • Websites: use lossless for logos, icons and interface graphics. Try lossy on large illustrations if page weight is a concern, and check gradients carefully. See PNG optimization best practices for more on this.
  • Email: attachments and inline images are often limited in size, so resizing the image to the size it is actually displayed at, in an image editor before uploading, can help more than any quality setting.
  • Social media: platforms usually re-compress uploads themselves. Photographs are generally better saved as JPEG, and PNG suits graphics with text or transparency.
  • Print and archives: keep lossless, and keep the original file as well.

Custom settings

Custom mode shows fields for quality, target size in KB, max width and max height. Max width and max height are meant to cap the pixel dimensions of the output, and the target size is meant to steer the final file size. Leave a field empty to leave that setting alone.

Custom settings are not applied reliably at the moment. In our own checks, entering a target size, a quality value or a maximum width did not change the result the way these fields describe. Treat the fields as a request, and compare the original and compressed sizes in the results table before you use the file.

Common problems and fixes

The file barely got smaller

Screenshots of photos, images with noise and very detailed artwork leave little redundancy to remove. Lossless mode cannot do much with them. Reduce the dimensions in an image editor, try lossy, or consider whether the image should be a JPEG or WebP instead.

Banding or speckles in gradients

This comes from palette reduction in lossy mode. Switch back to lossless.

Colours look slightly different

Lossy palette reduction can shift similar shades toward one another. Compare with the before and after view, and use lossless when exact brand colours matter.

Transparent edges look rough

Soft shadows and anti-aliased edges depend on partial transparency, and lossy modes can degrade them. Use lossless for artwork that sits on varying backgrounds.

Photos are usually far smaller as JPEG, so see the JPEG compressor. For newer formats, try the WebP compressor or the AVIF compressor, and read how AVIF compression works.

Frequently asked questions

Does PNG compression keep transparency?
Yes. The alpha channel is preserved, so logos and icons keep their transparent backgrounds.
Should I use lossless or lossy for PNG?
Lossless keeps every pixel and is the safe choice for logos, screenshots and anything you will edit again. Lossy reduces the colour palette to get a smaller file, which can show as banding in gradients, so check the before and after view.
How many PNG files can I compress at once?
Up to 5 files per batch. You can run as many batches as you like and download the results one by one or as a ZIP.
Are my PNG files uploaded?
Yes. Files are uploaded to our servers over HTTPS, compressed, and deleted automatically afterwards.