Images · guide

PNG to JPG: what the conversion costs you

By Alberto Gulotta · Updated · 8 min read

Converting png to jpg takes a few seconds in any of a hundred free tools, and the tools are not the interesting part. The interesting part is that the two formats are built for different jobs, so the conversion always trades something away — and depending on the picture, that trade is either free or ruinous.

Lossless

PNG

  • Mozilla’s developer documentation: PNG “uses lossless compression”, and features “full alpha transparency support”.
  • “PNG is preferred over JPEG for more precise reproduction of source images, or when transparency is needed.”
  • So: logos, screenshots, diagrams, anything with flat colour, text, or a see-through background.

Lossy

JPG

  • The same documentation: JPEG is “currently the most widely used lossy compression format for still images”, and “JPEG does not support an alpha channel”.
  • “It’s particularly useful for photographs; applying lossy compression to content requiring sharpness, like diagrams or charts, can produce unsatisfactory results.”
  • So: photographs, where losing detail you cannot see buys a much smaller file.

Read those two lists side by side and the decision usually makes itself. A holiday photograph as a PNG is a large file for no benefit. A logo as a JPG is a small file that has lost the one property that made it usable.

The thing that actually changes

The same image before and after a conversion to JPG. No tool avoids this.

PNG — the background is nothing
JPG — the background is now white

Because JPEG has no alpha channel, transparency cannot survive the conversion. It is not lost by a bad converter; there is nowhere in the format to put it. Every tool has to fill those areas with a colour, and almost all of them choose white without asking. If your logo suddenly has a white box around it on a coloured page, this is why — and the fix is not a better converter, it is keeping the PNG.

Mozilla is not the only place this is written down, and the second place is the format’s own specification. The W3C’s PNG specification — a Recommendation of 24 June 2025 — opens by describing “an extensible file format for the lossless, portable, well-compressed storage of static and animated raster images”, and lists what the format carries: “Indexed-color, greyscale, and truecolor images are supported, plus an optional alpha channel.” The transparency a conversion destroys is not a feature some PNG files happen to have: it is one of the things the specification defines a PNG to be, and there “an alpha value of zero represents full transparency”.

What is in the picture decides how much the conversion costs

Transparency is the loss you can see immediately. The other one depends entirely on the subject, and Mozilla is specific about where JPEG struggles: “It’s particularly useful for photographs; applying lossy compression to content requiring sharpness, like diagrams or charts, can produce unsatisfactory results.” A photograph converted to JPEG usually looks fine. A diagram converted to JPEG grows a haze around every line.

Screenshots are the case worth stating on its own, because they are the commonest thing anyone converts: “you should use a lossless format for screenshots. This is particularly important if there’s any text in your screenshot, as text easily becomes fuzzy and unclear under lossy compression. PNG is probably your best bet, but lossless WebP is arguably going to be better compressed.” The letters are the part that suffers, and they are usually the reason the screenshot exists.

And for anything drawn rather than photographed, Mozilla sends you further back than either format: “for any image that can be represented using vector graphics, SVG is the best choice. Otherwise, you should use a lossless format like PNG.” Converting a chart to JPG to save space is solving the smallest problem it has — and if the chart came from a program that can export SVG, the question was never PNG against JPG at all.

The other cost is quieter. JPEG is lossy, so every save discards some detail permanently. Convert once and you will probably never see it. Convert, edit, save, convert again, and the damage accumulates — most visibly around sharp edges and lettering, which is exactly the content the documentation warns about: “applying lossy compression to content requiring sharpness, like diagrams or charts, can produce unsatisfactory results.”

This is also why the reverse search exists. Jpg to png is people trying to undo the trade, and it does not work that way: turning a JPG into a PNG produces a lossless copy of an image that has already lost detail, and gives it a transparent-capable background that is still opaque. The file gets bigger and nothing comes back. Image converter and transparent background are the same question arriving from other directions.

So the honest version of this guide is not “here is the fastest converter”. It is: work out which of the two formats your picture wants, convert once, and keep the original.

One practical habit follows from all of this, and it is worth stating before the guides. Treat the file you started with as the master copy and never overwrite it. Convert into a new file, check that the result still looks right at the size it will actually be seen at, and leave the original where you can find it. It costs a few megabytes on a disk and it means that the next time something needs a different format — a printer wanting one thing, a website wanting another, a form refusing both — you are converting from the good copy rather than from a copy of a copy. Almost every ruined image people bring to this problem has been through that second route without anyone noticing.

Where to start

Four ways in.

“I just need to convert this file.”
Start at converting
“My logo has a white box round it.”
Read transparency
“Which format should I be saving in?”
Go to choosing a format
“The file is too big for the upload.”
That is size and quality

Converting

Doing the job, with attention to where the file goes. Most of these searches end at a website that wants your image uploaded to it.

Transparency

The single property that separates these formats.

Choosing a format

A short decision rather than a long comparison. Four formats cover nearly everything people actually do.

Size and quality

The other reason people convert: something has to be smaller. Converting is one way to get there and often not the best one.

Not covered here. It will not send you to a converter site without saying what that site publishes about your file. For most of these jobs your own computer or phone can do it, offline.

It will not pretend the conversion is free. Transparency does not survive it, and lossy detail does not come back.

And it will not rank the converter sites yet. That needs the same set of awkward images — a logo with a soft shadow, a screenshot full of small text, a photograph — through each of them, with the results shown side by side. What holds instead is simple: the format facts on this page are quoted from Mozilla’s developer documentation and the W3C’s PNG specification.

More on photographs

Other guides on photographs and their formats, in no particular order.

The same job, in the other places it comes up
WebP to JPG: why you keep meeting it
How to convert HEIC to JPG, and how to stop needing to
How to remove metadata from photos — and what stays behind
How to resize a photo on iPhone, without an app
How to recover deleted photos from iPhone, and the clock

Sources

  1. MDN Web Docs — Image file type and format guide, on PNG, JPEG, transparency and lossy compression — developer.mozilla.org, read 21 August 2026.
  2. W3C — PNG (Portable Network Graphics) Specification, Third Edition, W3C Recommendation of 24 June 2025 (the abstract defining PNG as lossless storage with an optional alpha channel, and section 6.2 on what an alpha value of zero represents) — www.w3.org, read 5 September 2026.

Written by Alberto Gulotta

Founder and editor of AI Tools Primer, writing from Palermo, Italy. Thirty-five years of taking computers apart, starting with a Commodore 64 — the long version is on the about page.

Something wrong on this page? Write to aitoolsprimer@gmail.com and it gets fixed.

Written on 21 August 2026 · last checked 5 September 2026.

Independence and limits

No affiliate links and no paid placements anywhere on this site. Nobody pays to appear here, and no company has seen this page before you did.

This is general information, not professional advice. Where a page touches money, health, safety or the law, it names its source and the date it was read — and your situation may still differ. See the privacy page and the cookie policy.