PhotoToolsPhotoTools
Home/Blog/Why PNG Files Are So Large Compared to JPG

Why PNG Files Are So Large Compared to JPG

PNG files are often huge when they contain photos because PNG keeps every pixel and looks for repeatable patterns, while JPG is designed to throw away hard-to-see photo detail. Learn when PNG is worth keeping, when JPG is the better upload format, and when WebP is a better replacement for transparent PNGs.

By PhotoTools Editorial Team · Updated July 19, 2026

Reviewed July 19, 2026 against the W3C PNG specification, MDN image format guidance, JPEG.org JPEG 1 overview, Google WebP documentation, and PhotoTools browser-local PNG conversion behavior.

Convert photo PNGs to JPG in your browser

Free · No upload · Runs in your browser

The short answer

PNG files get large because PNG is trying to preserve exact pixels. JPG files get small because JPG is allowed to simplify a photo in ways that are usually hard to notice at the final display size.

That tradeoff is useful. A PNG is not "bad" because it is big. A JPG is not "low quality" because it is smaller. They are solving different jobs:

  • PNG is best when pixels must stay exact: screenshots, UI captures, diagrams, logos, icons, transparent graphics, and source files that may be edited again.
  • JPG is best when the image is photographic and needs to be uploaded, emailed, or loaded quickly.
  • WebP is often the better web replacement when you want PNG-like transparency with smaller files.

The mistake is using PNG for everything because it sounds higher quality. A camera photo saved as PNG can become several times larger than a JPG with no visible improvement on a website.

Why PNG gets huge for photos

Start with the raw pixel math. A 4000 x 3000 image contains 12 million pixels. If it is stored as 8-bit RGBA before compression, that is roughly 48 MB of pixel data: red, green, blue, and alpha for every pixel.

PNG does compress that data. The W3C PNG specification describes PNG as a lossless raster format and defines filtering plus compression steps that preserve the image information. In plain English, the encoder tries to predict or simplify each row of pixels, then compresses the remaining byte patterns.

That works beautifully when the image has repeated patterns:

  • a white background in a software screenshot;
  • a flat blue button repeated across a UI;
  • black text on a light page;
  • a simple chart with a few colors;
  • a logo with transparent space around it.

Photos are different. In a photo of a face, street, forest, product fabric, or food plate, neighboring pixels are similar but rarely identical. There is sensor noise, texture, shadow, lens blur, grain, color variation, and tiny edge transitions. PNG cannot throw those details away, so it has to keep describing them.

JPG is built for that photographic mess. It can simplify fine color and texture detail, especially where viewers are less likely to notice. That is why the same photo can be a 12 MB PNG and a 1.5 MB JPG that looks the same in a blog post.

PNG vs JPG by real image type

Use the content of the image, not the file extension, to choose the format.

Image type Better format Why
Camera photo exported as PNG JPG or WebP Photo detail makes PNG large without much visible benefit
Product photo for a marketplace JPG Strong compatibility and small enough for upload limits
Screenshot with menu text PNG or lossless WebP Text edges stay crisp
Transparent logo PNG, WebP, or SVG JPG cannot preserve alpha transparency
Simple chart or diagram PNG or SVG Flat colors and hard edges compress well
Website hero photo WebP/JPG, sometimes AVIF Modern lossy formats reduce bytes at display size
Editable source image PNG or original design/raw format Avoid repeated lossy exports
Strict form upload JPG or PNG Use the format the receiving system actually accepts

This is where many articles give bad advice. "Convert PNG to JPG" is correct for a photo-like PNG. It is not correct for every PNG. A dashboard screenshot, transparent watermark, app icon, or barcode may be worse as JPG.

Lossless means exact, not automatically small

Lossless compression means the decoded image can reproduce the original pixels. It does not mean the file will be tiny.

Think of PNG as a careful packer. If the suitcase has ten identical white shirts, it can pack them efficiently. If the suitcase has 12 million slightly different items, it still has to account for each one.

That is why PNG does well with:

  • solid backgrounds;
  • flat-color illustrations;
  • repeated interface colors;
  • sharp text;
  • limited palettes;
  • simple transparency masks.

And it struggles with:

  • camera noise;
  • skin texture;
  • hair, fabric, grass, leaves, clouds, and food;
  • screenshots that contain embedded photos;
  • AI image exports saved as PNG;
  • product cutouts with lots of soft shadow detail.

The key point: PNG size is content-dependent. A small flat icon can be tiny as PNG. A full-resolution phone photo can be enormous.

Why JPG is smaller for photos

JPEG 1 was designed around photographic image coding. The official JPEG overview describes the original JPEG standard as core coding technology with options for photographic images. MDN also summarizes JPEG as a good choice for lossy compression of still images.

The practical reason is simple: JPG is allowed to lose information.

It is not throwing away pixels randomly. A JPG encoder looks for detail that is less important to human perception at the target quality setting. That is why JPG works well for:

  • portraits;
  • landscapes;
  • food photos;
  • real-estate photos;
  • product photos without tiny text;
  • travel photos;
  • background images.

JPG works poorly when the image has exact edges:

  • small UI text;
  • diagrams;
  • line art;
  • logos;
  • QR codes;
  • transparent shadows;
  • screenshots of code.

On those images, JPG artifacts show up as halos, mosquito noise, fuzzy strokes, and color dirt around hard edges. To hide those artifacts, you often raise the JPG quality so high that the file-size advantage disappears.

Why screenshots are often better as PNG

This is the part that trips people up: PNG is bigger than JPG for many photos, but PNG can be smaller and cleaner for screenshots.

A screenshot of a settings page may have thousands of pixels of the same background color. It may reuse the same text color, border color, and button color. PNG compression loves that kind of repetition. The result is exact, crisp, and often reasonably small.

Save the same screenshot as JPG and the encoder has to deal with hard edges in many places. Around letters and icons, it has to decide what detail to discard. At low quality, the screenshot looks dirty. At high quality, the file can become similar in size to the PNG, sometimes larger.

Use this quick test:

  1. If the image contains readable text, try PNG or lossless WebP first.
  2. If the image is mostly a photo, try JPG or WebP first.
  3. If the image mixes a screenshot and a photo, export both PNG and WebP/JPG and compare at the size people will actually view it.

Transparency is a real feature, not decoration

PNG supports alpha transparency. That means each pixel can be fully opaque, fully transparent, or partially transparent. This matters for logos, icons, stickers, cutout product photos, watermarks, overlays, and UI assets.

JPG has no alpha channel. If you convert a transparent PNG to JPG, the transparent pixels have to become a normal color. Some tools flatten them onto white, some let you choose a background, and some browser encoders may use their own compositing behavior. The result is no longer a transparent asset.

So do not convert a PNG logo to JPG just because the JPG is smaller. You may save bytes and break the layout.

Better choices:

  • Use SVG for logos and icons when the artwork is vector.
  • Use PNG when you need maximum compatibility with transparency.
  • Use WebP when the website accepts it and you want transparency with smaller files.
  • Use AVIF when the pipeline supports it and you can test compatibility.

Google's WebP documentation notes that WebP supports lossy, lossless, and transparency. That makes WebP a practical alternative for many transparent PNGs on modern websites.

Why your PNG photo happened in the first place

Many oversized PNG photos are not a deliberate format choice. They usually appear because another tool exported the image that way.

Common cases:

  • A design tool exported a photo layer as PNG because the whole canvas had transparency.
  • A screenshot tool captured a browser page that included a large photo.
  • An AI image tool downloaded PNG by default.
  • A CMS or editor converted a pasted image into PNG.
  • A phone or desktop app saved an edited image as PNG to avoid generation loss.
  • A transparent product cutout was saved as PNG, even though the final placement uses a solid background.

Before converting, ask two questions:

  1. Is this actually a photo? If yes, JPG or WebP probably makes sense.
  2. Does transparency still matter? If yes, choose WebP, AVIF, PNG, or SVG instead of JPG.

That two-question check prevents most bad conversions.

How much smaller will JPG be?

There is no honest fixed percentage. File-size savings depend on dimensions, image content, export quality, encoder behavior, and whether the PNG already had a limited palette.

Useful expectations:

Source PNG Likely JPG result What to inspect
Full-resolution photo PNG Often 60-90% smaller Skin, fabric, shadows, gradients
Website hero photo PNG Often much smaller after resize plus JPG/WebP Edges, crop, DPR sharpness
Screenshot with text Maybe smaller, maybe worse Letter edges and UI borders
Transparent logo Not a safe JPG conversion Lost transparency
Chart with flat colors PNG may already be efficient Axis text and line sharpness
Mixed screenshot with embedded photo WebP may beat both Text plus photo regions

For PhotoTools' PNG-to-JPG converter, the default quality is 90%. That is a good first export for photo-like PNGs because it usually avoids obvious artifacts. For everyday web photos, 80-88 can also work. For product labels, faces, or dark images, raise quality and compare.

When to convert PNG to JPG

Convert PNG to JPG when all of these are true:

  • The image is mostly photographic.
  • Transparency is not needed.
  • You need broad compatibility with forms, email, marketplaces, or older systems.
  • The current PNG is causing upload limits, slow pages, or huge attachments.
  • You still have the original PNG or source file saved.

Examples:

  • A 9 MB AI-generated PNG that needs to be uploaded to a blog post.
  • A 14 MB product photo accidentally exported from a design file as PNG.
  • A 20 MB edited phone photo that needs to fit an email attachment limit.
  • A 6 MB real-estate photo currently slowing a listing page.

Do not convert to JPG just because the file is PNG. Convert because the image content and destination make JPG the right delivery copy.

When not to convert PNG to JPG

Keep PNG, or choose WebP/AVIF/SVG, when the image depends on exact pixels:

  • software screenshots with readable text;
  • app store screenshots;
  • code screenshots;
  • UI documentation;
  • diagrams and charts;
  • QR codes and barcodes;
  • logos and icons;
  • transparent overlays;
  • watermark graphics;
  • files that will be repeatedly edited.

If the PNG is too large but still needs transparency, try PNG to WebP or PNG to AVIF instead of JPG. If it is a giant screenshot, resize it to the real display width before changing format. If it is a logo, check whether an SVG exists.

A practical PhotoTools workflow

Use this workflow when you have a folder of large PNGs and need smaller delivery files:

  1. Sort by content. Put photos, screenshots, transparent assets, and logos into separate groups. They should not all get the same export.
  2. Convert photo-like PNGs to JPG. Use PNG to JPG, start at quality 90, and inspect the result. Lower quality after the image still looks clean at its real viewing size.
  3. Use WebP for transparent web assets. If alpha matters and your site accepts WebP, use PNG to WebP instead of flattening to JPG.
  4. Resize oversized images first. A 5000 px wide image displayed at 900 px is wasting pixels regardless of format.
  5. Batch carefully. Convert several files at once, but spot-check the hard cases: text, faces, gradients, transparent edges, and product labels.

PhotoTools uses browser image APIs for conversion. The converter decodes the source with createImageBitmap, draws it to an OffscreenCanvas, then exports the selected format and quality with convertToBlob. The page shows original and output sizes, and batch results can be downloaded as a ZIP.

A quick decision checklist

Use this before exporting:

Question If yes If no
Is it a camera/photo-like image? Try JPG or WebP Try PNG, WebP, SVG, or AVIF by content
Does it need transparency? Avoid JPG JPG may be fine
Does it contain small readable text? Prefer PNG or lossless WebP Lossy JPG/WebP may be fine
Is the file oversized for display? Resize first Convert/compress next
Does the receiving site reject WebP/AVIF? Use JPG or PNG Use modern formats where useful
Will you edit it again later? Keep a lossless/source copy Export a delivery copy

The safest habit is to keep the PNG or original source file as your master, then export a separate JPG/WebP delivery copy. That gives you small files for upload without losing your clean source.

Bottom line

PNG files are large compared to JPG when they are asked to store the wrong kind of image. PNG is excellent at preserving exact pixels, transparency, and repeated graphic patterns. JPG is excellent at making photographs small enough to move around the web.

If the file is a photo and transparency does not matter, convert the PNG to JPG or WebP. If it is a screenshot, logo, diagram, or transparent asset, do not assume JPG is the upgrade. Choose the format based on what the pixels actually are and where the file has to work.

Frequently asked questions

Why is my PNG file so large?

PNG is lossless. It keeps exact pixel values and then compresses repeated patterns. That works well for screenshots, diagrams, and flat graphics, but photos contain noisy, constantly changing detail, so PNG has much less repetition to compress.

Why is PNG bigger than JPG for the same photo?

JPG is built for photographic images. It can discard detail people are less likely to notice at the final viewing size. PNG does not do that, so a photo saved as PNG often keeps millions of precise color values that a JPG encoder would simplify.

Is PNG or JPG better for photos?

JPG is usually better for photos that need to be uploaded, emailed, or published on the web. Keep PNG for screenshots, text-heavy graphics, diagrams, logos, transparency, or source files that still need editing.

How much smaller will a PNG become as JPG?

It depends on the image. A photo-like PNG may shrink by 60-90% when exported as a good-quality JPG. A screenshot with sharp text may not shrink much, and the JPG version may look worse.

Does converting PNG to JPG reduce quality?

Yes, JPG is lossy. For photos, a quality setting around 85-90 often looks unchanged at normal web sizes. For screenshots, logos, and text, JPG artifacts are easier to see, so PNG or lossless WebP is safer.

Why is my screenshot PNG smaller than JPG?

Screenshots often contain repeated flat colors, straight edges, and text. PNG compresses those exact patterns well. JPG has to use high quality to avoid halos around text, which can make the JPG larger or visibly worse.

Should I convert transparent PNGs to JPG?

Convert them to JPG when transparency no longer matters. JPG has no alpha channel, so transparent pixels must be flattened to a background. Use WebP or AVIF when you need smaller web files and still need transparency.

Is WebP better than PNG?

For many web assets, yes. WebP can be lossy or lossless and supports transparency. For exact archival pixels or maximum compatibility in older tools, PNG is still useful.

How do I make a PNG smaller without converting to JPG?

Reduce pixel dimensions, remove unnecessary metadata, or try lossless WebP if your destination accepts it. If the image is a photo and transparency is not needed, changing format usually saves more than PNG optimization alone.

How does PhotoTools convert PNG to JPG?

PhotoTools decodes the PNG in the browser, draws it to a canvas, and exports a JPG with your selected quality. The converter also supports batch processing, so you can compare original and output sizes before downloading the JPG copies.

Keep reading