Guide 5 min read ·

PNG vs JPG

One is lossless, one is not — and picking the wrong one is the single most common image mistake on the web.

The rule that covers most cases

Photographs go in JPG. Everything with sharp edges, flat colour or text — screenshots, logos, icons, diagrams, charts — goes in PNG. Anything that needs transparency must be PNG, because JPG has no alpha channel at all.

Getting this backwards is expensive in both directions. A photograph saved as PNG is commonly five to ten times larger than it needs to be. A screenshot saved as JPG picks up visible fringing and mushy halos around every letter.

Why the split exists

JPG is designed around how human vision works: it throws away high-frequency detail and fine colour variation that the eye barely registers. That assumption holds beautifully for photographs of the real world and falls apart on a hard black-on-white edge, which is pure high-frequency detail. The result is the smeared, ringing artefacts you see around text in a JPG screenshot.

PNG compresses losslessly by finding repetition. A screenshot with large runs of identical pixels compresses enormously; a photograph, where almost every pixel differs slightly from its neighbour, barely compresses at all.

Side by side

PNGJPG
CompressionLosslessLossy
TransparencyFull alpha channelNone
Photograph, 12 MPRoughly 15–25 MBRoughly 2–4 MB
Screenshot, 1920×1080Roughly 200–400 KBRoughly 300–600 KB, with artefacts
Repeated editingSafe — no loss per saveDegrades a little every save
Quality sliderNot applicable0–100

Note the screenshot row: PNG is not only cleaner there, it is usually smaller too. The "PNG is the big format" reputation comes entirely from people saving photographs in it.

What about transparency?

If any part of your image must show what is behind it — a logo over a coloured header, a product cut-out, a UI icon — PNG is the only one of the two that can do it. Converting such a PNG to JPG flattens the transparent pixels onto a solid colour.

When you must convert transparent PNG to JPG

  • Choose the background colour deliberately, to match wherever the image will sit.
  • White is the usual default; black is almost never what you want.
  • If the background varies, keep PNG or use WebP, which supports both transparency and lossy compression.

Shrinking a PNG that has to stay a PNG

A quality slider does nothing to a PNG, because PNG is lossless by definition. There are three real levers instead:

  • Reduce the colour palette. Illustrations and flat graphics often look identical at 128 or 256 colours and shrink dramatically. Gradients are where this shows first, as visible banding.
  • Reduce the dimensions. Serving a 3000 px PNG into a 600 px slot wastes far more bytes than any encoder setting will recover.
  • Switch to WebP. Lossless WebP is typically 20–30% smaller than PNG with identical pixels, and it keeps transparency.

The third option

For web delivery specifically, WebP largely dissolves this decision: it offers lossy compression like JPG, lossless compression like PNG, and transparency, in one format. The PNG-versus-JPG question really matters when the file is leaving your control — being emailed, printed, or uploaded somewhere that only accepts the classics.

Related tools

Frequently asked questions

Does converting PNG to JPG lose quality?

Yes, once. JPG is lossy, so the conversion discards some detail. At quality 85 or above the loss is usually invisible on photographs, but it is permanent — keep the PNG if you will edit again.

Is PNG better quality than JPG?

PNG is lossless, so it reproduces the source exactly. That is not the same as looking better: a quality-90 JPG of a photograph is visually identical to most people at a fraction of the size.

Which format do printers want?

Ask, but high-quality JPG (90+) or TIFF is the common answer for photographs, and PNG for line art and logos. Never send a low-quality JPG to print — the artefacts that hide on a screen become obvious on paper.

Why is my PNG screenshot so large?

Usually because it is a photograph or a screenshot of one, or because it is far larger in pixels than it needs to be. Try reducing the dimensions first, then the colour palette.

More guides