Compress PNG images

Drop PNGs below and get smaller PNGs back, with transparency intact. Pick Lossless to change nothing, or Smart for the big savings. Up to 16 MB a file as a guest or 32 MB with a free account. Free. No account, no watermark.

  • Stays a PNG
  • Transparency kept
  • Lossless option

Without any visual change in the image quality

Output format

Auto tries every format your image can be saved as and gives you the smallest one

Resize

Change the width, height or scale of every image you upload

Original Dimensions Percentage
px
px

Set one side to keep the proportions, or both for an exact size.

Percentage
%

Size limit

Fit every image under a file size, for a form or a site with an upload limit

Any size Under a size
KB

Saved as JPG, WebP or AVIF. When quality alone can't get there, the image is made smaller to fit.

How the size limit works

Responsive image set

Pro

The image at several widths, with a srcset to paste into your page, so each screen loads the size it needs

One size Responsive set
px

Up to 8 widths, each in the format and at the level of the result. A width wider than the image stops at its own width, so nothing is enlarged.

How responsive sizes work

Keep EXIF Keeps details such as the camera, the date and the location in each file. Leave it off to remove them and save space.
Write alt text with AI Describes each image for screen readers and search engines, and suggests a file name
Alt text language
No language matches
English
Spanish
French
German
Italian
Portuguese
Dutch
Polish
Swedish
Turkish
Russian
Ukrainian
Arabic
Persian
Hebrew
Hindi
Indonesian
Vietnamese
Thai
Japanese
Korean
Simplified Chinese
Traditional Chinese
Rename files Downloads take the suggested name instead of the one you uploaded

Pro
Uploading a zip comes with Pro: the browser opens it and uploads its images in the folders they sat in, and the zip of the results keeps them. On your plan, unzip it and drop the images here. How folders and zips work

Up to 16 MB per image PNG, JPG, WEBP, GIF, HEIC, TIFF, or a ZIP of them on a paid plan

Guests get 10 images a day, 10 left today. A free account gets 40 a day and 7 days of Pro.

Upload a folder, or a zip

Pro

Pick a folder and every image in it uploads, with the folders inside it, and Download Selected gives them back in the same folders. A zip of images dropped on the box works the same way, opened in your browser.

How folders and zips work

Auto-start
On, each image starts compressing as soon as it uploads. Off, images wait in the box so you can check the settings, then start together.
Delete this image?
The image and its optimized copy will be removed from storage. This cannot be undone.

Rename this image
Choose the name the optimized image downloads with. Its format stays the same.

Uploaded as

Rename the selected images
Each image gets this name and a number, counted in the order they were uploaded. Their formats stay the same.

Share this image
AI alt text
Alt text

Paste it into the alt attribute of the image on your page.

Choose the compression level that suits your images
Level What it promises What happens Pick it when
Lossless
Not one pixel changes in a JPEG, PNG, GIF or WebP kept in its own format The file is repacked, never re-encoded. JPEGs get an optimised Huffman table and progressive scan, PNGs a tighter deflate pass, GIFs a lossless gifsicle run, and a lossless WebP goes through cwebp's lossless coder again, or comes back as it was when that isn't smaller. A lossy WebP has no repack step, so it comes back as it was. With Format on Auto, a JPEG or lossy WebP can still come back as another format's smaller file, which is a re-encode. A sideways phone JPEG is rotated losslessly on the way through and keeps its colour profile. The one exception to the promise is a PNG or lossless WebP tagged with a wide-gamut profile such as Display P3: its colours are converted to sRGB, so the values change but the picture doesn't. Logos, line art, anything you'll edit again, or when the file is evidence.
Smart
No visible change, targets 40 dB PSNR or a perceptual score of 80, and at least 70 A quality search runs per image and stops at the lowest quality that either clears the PSNR target or scores 80 on the SSIMULACRA 2 scale, where the result can't be told from your upload side by side. The score matters because an average over every pixel lets a mostly flat picture through at a quality its detail doesn't deserve: an answer under 70 moves back up until it isn't, and a screenshot or drawing is held to 80. Photos and graphics end up at different qualities because they need different ones; an image that reaches neither inside the quality ceiling is encoded at the ceiling. Almost everything on a website. This is the default for a reason.
Ultra
Smallest file, targets 34 dB PSNR and a perceptual score of 50 A search for 34 dB PSNR, raised until the result scores 50, with no second target to stop at the way Smart has. Fine texture softens a little; edges and text stay sharp. Thumbnails, backgrounds, email images, anything shown small or blurred anyway.
None
No compression at all Only the resize, conversion or metadata setting you chose is applied. Without a resize or a conversion every pixel comes back as it was: the file only loses its metadata, and with Keep EXIF on it comes back byte for byte. You only wanted to resize or convert, and quality is someone else's decision.

Measured, not estimated

What compression did to four real PNGs

Two screenshots, a social card and a transparent icon from our showcase, compressed as PNG at each level.

Sample Original Lossless Smart Ultra
Social card 1200 by 630 208 KB PNG 148 KB 29.1% smaller 43 KB 79.4% smaller 36 KB 82.7% smaller
Phone screenshot 1170 by 2532 0.9 MB PNG 745 KB 22.3% smaller 257 KB 73.2% smaller 215 KB 77.6% smaller
App icon 1600 by 1600 113 KB PNG 100 KB 11.6% smaller 19 KB 83.1% smaller 19 KB 83.1% smaller
Desktop screenshot 1440 by 900 303 KB PNG 177 KB 41.5% smaller 86 KB 71.7% smaller 78 KB 74.4% smaller

Metadata stripped, no resize. On the icon, Smart and Ultra are the same file. Ultra tries its own colour range, then Smart's, then the full palette, and keeps whichever came out smallest, so it never loses to Smart.

How it works

Two ways to shrink a PNG

The lossless way is repacking. A PNG's pixels are squeezed with deflate, and most software does that quickly, not well. Iminify reruns it with ECT, a much slower compressor that finds a shorter encoding of the very same pixels. Large files get optipng instead, because that cost grows with every pixel. Nothing about the image changes either way.

The lossy way is quantisation, and it's where the big numbers come from. A normal PNG can use 16 million colours. pngquant rebuilds it with a palette of at most 256, chosen for that image and dithered where it helps. A screenshot or a logo rarely needs more, and one byte a pixel in place of three or four is a very different file.

pngquant is given a quality range, not a colour count. If it can't reach the bottom of the range it declines to write anything, and the file is repacked losslessly instead. That's how a gradient-heavy PNG avoids visible banding. At Smart, a screenshot or drawing's palette also has to score 80 on the SSIMULACRA 2 scale against your upload, or it keeps every colour.

What survives

What a PNG keeps when it's compressed

  • Transparency

    Full alpha survives at every level, including partial transparency on anti-aliased edges.

  • Every pixel, at Lossless

    Lossless changes the packing and nothing else. A wide-gamut colour profile is the one exception: it's converted to sRGB.

  • EXIF, when you switch it on

    Rare in PNGs. It's written back as an eXIf chunk if Keep EXIF is on.

  • Animation

    An animated PNG comes back with every frame as it was, and only the metadata goes, unless Keep EXIF is on: pngquant, ECT, zopflipng and optipng would keep its first frame alone, so it isn't recompressed. It can't be resized either.

When not to

When PNG compression is the wrong tool

  • The PNG is a photograph. It will shrink, but a JPG, WebP or AVIF of it is many times smaller. PNG was never meant for photos.
  • It has smooth gradients and you need them perfect. Use Lossless, not Smart.
  • The format doesn't matter to you. PNG to WebP is smaller than any PNG at the same quality.

How to

Compress a PNG in three steps

  1. 1

    Drop your PNGs

    Format stays on Original, so you get PNGs back.

  2. 2

    Lossless or Smart

    Lossless for source assets. Smart for anything that only has to look right.

  3. 3

    Check, then download

    The difference map in Compare shows exactly which pixels changed, if any.

Questions

PNG compression questions

Next

From the blog

What we've measured so far

We run the encoders on real photos and screenshots and publish the numbers: when WebP beats AVIF, what quality 80 means in each encoder, and how many kilobytes an image on a web page should weigh.

All posts
The same photo of a canoeist twice: upright on the left under the label "tag read", and lying on its side on the right under the label "tag gone".

Why does my photo upload sideways? The rotation lives in a tag, and stripping metadata throws it away

We stored a photo on its side with the EXIF tag Orientation 6 and opened it in Chrome 156. It stood upright. Then exiftool -all= removed the metadata, and the photo lay on its side. So did the copies saved by magick -strip and jpegtran -copy none. That is how a photo can look right on your phone and arrive sideways on a website. The file holds the pixels the way the camera sensor wrote them, plus a tag that tells a viewer how to turn them. A site that ignores the tag, or software in its pipeline that drops it, shows the pixels as stored. The fix is to turn the pixels themselves so no tag is needed, and the steps are below. Removing metadata doesn't do that.

7 min read
Blue and violet gradient cover with the white text Does Shopify compress images? Chrome got a median 11% of the source, a field of faint squares on the right and the Iminify mark.

Does Shopify compress images? Yes, when it serves them: Chrome got a median 11% of the source, 25% at full size

Yes, in the files it serves, and not by one fixed amount. On 9 November 2026 we loaded 78 pages from 43 public Shopify stores in Chrome 156 and asked Shopify's image servers for 459 of the images on them. The file Chrome got was a median 11% of the size Shopify reports for the source. At full size, the source's own pixel size instead of the width the page asked for, it was 25%. Shopify's help says images "aren't compressed when you upload them to the Shopify admin". Its CDN page says "File size is automatically optimized when you upload to Shopify". We uploaded nothing, so this is about what Shopify sends, not what it keeps.

7 min read
Three crops of the smallest text on the Inter sheet with the fields Gemini read: the PNG (228 KB) 32 of 32, JPEG quality 40 (172 KB) 32 of 32, JPEG quality 5 (76 KB) 9 to 14 of 32, where the digits are visibly smeared.

Does compressing an image change what Gemini reads? Full-colour JPEG quality 95 to 40 didn't, shrinking to 600 pixels did

Gemini 3.8 Flash read the same number of fields from a full-colour jpegli JPEG saved at quality 40 as from one saved at quality 95, on both of the text sheets we tested. A copy shrunk to 600 pixels wide, a PNG with no JPEG loss in it, read 15 fields fewer than the quality 95 file on both, comparing medians. A field is one code, price, date or 12-digit number, and each sheet holds 192 of them as random strings, so there's nothing to guess from. Anthropic's vision page says "heavy JPEG compression can make text difficult to read" and gives no number. Google's image page advises "Use clear, non-blurry images" and doesn't mention compression. We read both pages on 8 November 2026. These numbers are for Gemini 3.8 Flash, through the API, on 8 November 2026.

7 min read

Make your PNGs lighter

Drop a PNG, pick a level and check the difference map before you download.