Compression5 min read·Updated

Why Is My PNG File So Large? 7 Causes and the Fixes

A PNG is large because it is lossless: it keeps every pixel exactly, so a 12 MP photo saved as PNG typically weighs 15–25 MB, against about 2 MB as a JPEG. To shrink it, reduce the colors to a palette of 256 (it stays a PNG, keeps transparency and typically gets 60–80% smaller), convert photos to JPG or WebP, and resize Retina screenshots to the size they are shown at.

What makes a PNG file so big?

PNG compression works by finding exact repetition and predictable pixels. Anything that adds unpredictable detail or extra data per pixel inflates the file. These are the seven usual causes, roughly from most to least common.

  • 1. It is a photo. Sensor noise, skin, foliage and sky gradients look random to a lossless compressor, so it barely shrinks them: about 2:1 against the raw pixels, where a JPEG reaches 15:1 to 20:1.
  • 2. 16 bits per channel. Photoshop and RAW converters can export 16-bit PNGs (48- or 64-bit color). That roughly doubles the data per pixel, while browsers and most screens show 8 bits per channel anyway.
  • 3. Too many pixels. Raw size is width × height × 4 bytes with transparency: a 4000 × 3000 image is 48 MB before compression. A PNG exported at full camera resolution for an 800 px slot is mostly waste.
  • 4. Retina screenshots. On a Mac or an iPhone, screenshots are captured at 2× or 3× density: a full-screen capture on a 13- or 14-inch MacBook is around 3,000 × 1,900 pixels, about four times the pixels of what you saw.
  • 5. Soft transparency. Fully opaque or fully transparent areas compress well, but shadows, glows and anti-aliased edges with partial transparency fill the fourth channel with varying values.
  • 6. Fast compression settings. Some apps save PNGs with a quick, light DEFLATE pass. Re-saving with a stronger lossless optimizer typically trims another 10–30% without changing a pixel.
  • 7. Metadata. Color profiles, text chunks, XMP editing history and sometimes EXIF add a few KB, occasionally much more when an editor embeds a long history.

How can you tell what is inflating your PNG?

Check three things: pixel dimensions, bit depth, and whether the image is a photo. On Windows, right-click the file and choose Properties > Details: a Bit depth of 48 or 64 means 16 bits per channel, 32 means 8-bit with transparency, 24 means 8-bit without. On a Mac, open it in Preview and choose Tools > Show Inspector to see the dimensions, color model and depth. If the image is a photo of anything, the format itself is the problem. The file size and dimensions guide shows more ways to check.

How do you make a PNG smaller and keep it a PNG?

Reduce its colors to a palette. Screenshots, logos, icons and illustrations rarely need more than a few hundred colors that the eye can tell apart, so mapping them to a palette of up to 256 colors and storing each pixel as a one-byte index typically removes 60–80% of the size. It is the same idea as pngquant and TinyPNG, and the file stays a real PNG with its transparency.

  1. Open the PNG compressor. It runs in your browser; the file is not uploaded.
  2. Drop the PNG files. With Same as original, PNG stays PNG.
  3. Leave Quality around 80. The tool reduces the colors to a palette of up to 256 and keeps transparency. At 95 or above it re-encodes the PNG losslessly instead, for when every pixel must stay exact.
  4. For Retina screenshots, turn on Limit width and enter the width the image will be shown at, for example 1600 px.
  5. Download. Metadata is removed, and if the PNG cannot be made smaller, the original is kept.

When should you convert a PNG to JPG or WebP instead?

When it is a photo. A palette of 256 colors cannot reproduce smooth photographic gradients without banding or dithering noise, so for photos the right fix is a lossy format: JPG if there is no transparency and the destination expects JPG, WebP if the image is going on a website or needs a transparent background, which JPG cannot store. For screenshots on a website, WebP also beats PNG in both of its modes. Use PNG to WebP for web pages, or the compressor with the output set to JPG for email and forms.

Before and after (typical results; your files will vary)

ImageOriginal PNGFixAfterSaved
Phone photo, 4032 × 302418 MBSave as JPG, quality 80About 1.9 MBAbout 90%
Same photo for a blog18 MBResize to 1600 px, WebP quality 80180–250 KBAbout 99%
Retina screenshot, 2940 × 19122 MB256-color palette500–800 KB60–75%
Same screenshot for documentation2 MBWidth 1470 px plus palette150–300 KB85–92%
Logo with transparency, 1000 × 1000120 KB256-color palette25–45 KB60–80%
Saving a JPG as PNG never helps
Converting a JPG to PNG does not restore lost detail. The PNG stores the JPEG's artifacts exactly and is usually 5 to 10 times larger. Keep photos in a lossy format, and keep PNG for graphics.

For more on PNGs that go on websites, see compress PNG for the web and lossy vs lossless compression.

Shrink PNGs with a 256-color palette and keep transparency, right in your browser.

Put it into practice

Compress your images right now: keep the format or set a target size, free and privately in your browser.

Open the compressor

Frequently asked questions

Because PNG is lossless and JPG is not. For photos, PNG keeps every grain of noise, so it is typically 5 to 10 times larger. For flat graphics the gap is small, and PNG can even be smaller.

For screenshots, logos, icons and flat illustrations the difference is usually impossible to see. For photos and wide smooth gradients it can cause banding, so convert those to JPG or WebP instead.

Yes, a little: a lossless optimizer typically saves 10–30%, removing metadata saves a few KB, and lossless WebP is about 26% smaller than PNG according to Google. Big savings need a palette or a lossy format.

No. Every level is lossless; higher levels only spend more time looking for a smaller encoding of the same pixels.

Keep reading

Performance6 min read

Compress PNG

PNGs are huge because they are lossless. Convert UI to high-quality WebP and photos to WebP 80%.

Read more
Compression5 min read

Lossy vs lossless

Lossy compression drops detail for files 5–10× smaller; lossless keeps every pixel. Use lossy for photos you publish, lossless for masters, text and pixel art.

Read more
Compression5 min read

Smallest image format

AVIF makes the smallest photos, then WebP, then JPEG. Flat graphics: lossless WebP or PNG-8. Logos: SVG. Animations: WebP or AVIF instead of GIF.

Read more