Guide · Photo files

PNG vs JPG vs WebP: which image format to use, and when

Use JPG for photos you send or upload, because every device opens it and it keeps photos small. Use PNG for screenshots, logos, drawings and anything with a transparent background, because it keeps sharp edges and text exactly. Use WebP for images on a website, because it is smaller than both at the same look. When in doubt, the format that came from your camera or your screenshot is already the right one to keep.

Last checked

On this page

The short version

JPG (JPEG) PNG WebP
Best for photos screenshots, logos, drawings images on websites
Compression lossy lossless either
Transparent background no yes yes
Animation no no (APNG is a variant) yes
Opens everywhere yes yes current browsers and systems
Size for a photo small very large smallest

The rows come from MDN’s image format guide, the reference most web developers use.

Lossy and lossless, in one paragraph

A lossy format throws away detail your eye is unlikely to miss, so the file gets much smaller, and the loss is permanent. A lossless format keeps every pixel, so you get back exactly what you saved. MDN puts it simply: photographs can usually take lossy compression, while screenshots, diagrams, logos and line art should stay lossless, because blur and colored fringes around text are easy to see. Our guide to how photo compression works goes deeper.

When to use JPG

  • Sending a photo by email or message, or uploading it to a form.
  • Printing, since every print shop takes it.
  • Sharing with someone whose devices you don’t know.

JPG is the safe choice because everything opens it. Its weak spots are text and sharp lines, which smear a little, and the lack of transparency: MDN notes that JPEG has no alpha channel, so a clear background turns solid.

When to use PNG

  • Screenshots, especially of text, code or a receipt you need to read later.
  • Logos, icons and drawings with flat colors.
  • Anything with a transparent background, such as a signature or a sticker.
  • A master copy you will edit again, since saving a PNG again loses nothing.

Avoid PNG for photos. A photo saved as PNG is several times the size of a good JPG and looks the same.

When to use WebP

  • Images on your own website or online shop. Google says lossy WebP is 25 to 34% smaller than JPEG at similar quality, and lossless WebP is 26% smaller than PNG.
  • A transparent image that must stay small, where PNG would be heavy.
  • Short animations, in place of a GIF.

Skip WebP for files you send to people. Older programs, some upload forms and some print services still refuse it. Our guide to what a WebP file is covers opening and converting one.

What about HEIC?

HEIC is what an iPhone camera usually saves. It is a good format for keeping photos, smaller than JPG, but fewer places accept it. Keep your camera originals as they are, and make a JPG copy when something asks for one; our guide on converting HEIC to JPG shows how.

Converting between them

Going from lossy to lossless never brings detail back. Going from one lossy format to another loses a little more each time, so convert once, from the best copy you have, at a high quality. In your browser, the image converter turns a file into JPG, PNG or WebP, the image resizer does the same while changing its size, and the image compressor saves JPG or WebP at a quality you pick. Neither uploads the file.

Where Sealed helps, and where it doesn’t

It helps keep the screenshots, scans and photos you’d rather not leave in the camera roll, whatever their format, in an encrypted vault. You can add photos from Photos, files from Files, and items from the share sheet of other apps. Sealed encrypts the photo data it receives as it is, without shrinking or recompressing it first.

It doesn’t convert between image formats. Use the image resizer or your computer’s photo app for that.

Questions and answers

Why is my PNG photo so big?

PNG keeps every pixel exactly, and a photo has millions of slightly different pixels, so there is little to squeeze. Save photos as JPG or WebP and keep PNG for flat graphics and screenshots.

Can I turn a JPG into a PNG to make it better?

No. Converting can’t bring back detail the JPG already threw away; it only makes a bigger file of the same picture. Go back to the original if you have it.

Sources

What this page says about Sealed was checked against the app on .

  • MDN Web Docs, Image file type and format guide — read 13 Nov 2026; JPEG is lossy and suits photographs; PNG is lossless with full transparency and suits screenshots, diagrams and line art; JPEG has no alpha channel; lossy WebP is on average 25-35% smaller than JPEG, lossless WebP typically 26% smaller than PNG; WebP supports animation and transparency
  • Google for Developers, An image format for the Web (WebP) — read 13 Nov 2026; lossless and lossy compression; lossless WebP 26% smaller than PNG; lossy WebP 25-34% smaller than JPEG; transparency costs 22% extra bytes in lossless
  • Sealed on the App Store — the listing for the app this guide mentions

Last checked:

Get Sealed

Sealed is free to download, and Sealed Pro is an optional in-app purchase.