Skip to main content

PNG vs JPG: Which Should You Save As?

Updated 2026-11-213 min read

"JPG for photos, PNG for logos" is mostly right. But if you follow the rule without knowing the reason, the exceptions will cost you. To see where the rule holds, the same images were saved in both formats and their file sizes compared.

The key differences

PNGJPG
CompressionLossless (pixels stay exactly the same when saved)Lossy (drops less important information)
Transparent backgroundYesNo
Re-savingSame no matter how many timesLoses a little quality each time
Best forFlat colors, text, lines, logos, screenshotsPhotos where colors change continuously

Measured file sizes

Photos first. Two photos (a chicken dish and a dog, 1280px on the long side) were saved in both formats with this site's converter. The photos and the method are described in How the measurements on this site were made.

PhotoPNGJPG quality 95JPG quality 90JPG quality 80
Chicken2.6MB497KB343KB226KB
Dog2.3MB410KB272KB175KB

PNG came out at roughly eight to nine times the size of JPG at quality 90. A photo whose colors blend smoothly gives lossless compression very little to work with.

Next, a screenshot or UI-style image: a 1280×720 settings screen drawn for this guide, with a flat-color background, small text and thin lines. It was saved with the same converter.

FormatFile size
PNG88.0KB
JPG quality 9562.7KB
JPG quality 8039.9KB
JPG quality 6030.9KB
WebP quality 9024.7KB

Here JPG beat PNG even at quality 95. A smaller file means something was thrown away, though, so the picture below shows a 180×56px patch around some text, enlarged 3×.

The same patch of text enlarged 3×. PNG 88.0KB, JPG 95 62.7KB, JPG 80 39.9KB, JPG 60 30.9KB, WebP 90 24.7KB. At JPG 60 the edges of the small text look smeared

JPG 95 and 80 are hard to tell apart. At JPG 60, the edges of the small text look smeared and speckled. Images full of text and thin lines show this damage first when you lower the quality. WebP 90 was the smallest of the five and showed no obvious smearing.

One caveat: PNGs written by a browser tend to be larger than PNGs from an optimizing tool. The original of this image was 52.0KB as an optimized PNG, while the PNG this site saved through the browser was 88.0KB. Which format wins depends on the image and on the tool that saves it, so read these figures as the result for this one image.

How to choose

  • Photos and images with many gradients: JPG. Start at quality 80 to 90. If file size matters, WebP is worth a look too.
  • Logos, icons, UI, screenshots and text-heavy images: PNG. If you need a transparent background, PNG is the only choice of the two.
  • Originals you'll edit several times: keep them as PNG and export only the final result as JPG. Re-saving a JPG over and over piles up degradation.
  • Email or upload size limits: converting a photo to JPG shrinks it a lot. If the PNG has transparency, choose a background color first.

Try it now

The result screen shows the size before and after conversion, so you can see which format is smaller for your own image.

Convert PNG to JPG Convert JPG to PNG

Summaries of both are under PNG and JPG on the Image formats compared page.

More guides