Convert PNG to JPEG or WebP without uploading the file

A holiday snap saved as PNG can be many times larger than the same picture as a JPEG, because PNG refuses to throw any detail away. You do not have to upload it to a random converter to fix that.

Why that PNG is so large

PNG was designed so that a diagram, a screenshot or a logo comes out identical to the original: text stays sharp, flat colours stay flat, and a transparent background stays transparent. The cost is size. A camera photo has gentle gradients and noise in every area of sky or skin; PNG has to describe all of that exactly, so a 12 megapixel snap can land at 10–20 MB instead of the 2–4 MB JPEG your phone would have written.

If you “Save as PNG” from an editor, or screenshot a photograph, you inherit that cost. Converting back to JPEG or WebP is the usual fix.

Which format should you pick?

Save asBest whenWatch out for
JPEGPhotographs you need to send almost anywhere: email, forms, printers, older apps.No transparency — clear pixels become a solid background (white by default). Repeated re-saving adds more softness.
WebPYou want a smaller file than JPEG, or you need to keep a transparent background.A few older email clients and apps still will not open it. Keep a JPEG as well if you are unsure.
PNGScreenshots, text, diagrams, anything that must stay perfectly sharp, or that needs transparency and cannot be WebP.Photographs stay large. A quality slider does nothing, because PNG is lossless.

Converting JPEG to PNG does not restore lost detail. Once a picture has been saved as JPEG, the softness is already in the pixels; PNG will only wrap the same pixels in a larger file.

What happens to transparency

A PNG logo often has clear pixels around it. JPEG has no way to store that: those pixels have to become a colour. A local converter should let you pick the fill (white is the safe default for documents and email). WebP and PNG can keep the clear bits, so if the transparent edge matters, save as WebP or stay on PNG and shrink the pixel size instead.

How to convert without uploading

  1. Open a page that converts images in your browser (if you see an “uploading” step, pick a different page).
  2. Add the PNG. Choose JPEG for everyday photos, or WebP if you want a smaller file or need transparency.
  3. Optionally set a max width (1920 px is plenty for the web) or a target size such as 200 KB.
  4. Download the new file. Because it was painted onto a canvas, hidden EXIF/GPS tags are not copied across.

The compressor on this site follows those steps and never sends the file anywhere. For the difference between resizing and lowering quality, see how to resize without uploading.

Related

Convert an iPhone HEIC photo to JPG · Lossless vs lossy: why JPEG is smaller than PNG for photos · Compress an image without uploading it · Resize an image without uploading it · Photo too large to email · Remove GPS from a photo · Image compressor · Base64 image data URLs

Questions

Why is my PNG so much larger than a JPEG of the same photo?

PNG stores every pixel exactly. Photographs have subtle gradients that take a lot of space to describe losslessly. JPEG and WebP are allowed to soften those areas, which shrinks the file a great deal.

Will converting to JPEG ruin a transparent background?

JPEG cannot store transparency, so the clear pixels become a solid colour (white unless you pick another). Use WebP or keep PNG if the transparent edge matters.

Is WebP better than JPEG?

Often slightly smaller at a similar look, and it can keep transparency. JPEG is still the safer choice when you do not know what the other person will open the file with.

Does converting strip GPS and other hidden tags?

Yes, if the picture is redrawn onto a canvas and saved as a new file. A converter that only renames the extension or copies the original metadata through may keep them.

Can I convert a JPEG back to PNG to get the quality back?

No. Anything JPEG discarded is gone. PNG would only store the already-softened pixels in a larger file.

Published · updated .

Try it

Related guides

Newest guides