Alpha is read, then replaced
Each pixel's transparency value decides how strongly it blends with your chosen fill colour. A fully transparent pixel becomes pure fill; a half-transparent edge becomes a 50/50 mix.
Local batch converter
JPG has no transparency. Converting a PNG that has transparent pixels means every one of those pixels must become some solid colour โ and most converters make that choice for you silently. Here you pick it: white for marketplaces, black for dark-mode assets, or any custom colour. Files stay in this browser.
PNG to JPG
Each row reports source dimensions, output dimensions, source size, output size, and a direct download.
What is measured
Each pixel's transparency value decides how strongly it blends with your chosen fill colour. A fully transparent pixel becomes pure fill; a half-transparent edge becomes a 50/50 mix.
The flattened pixels are encoded at your chosen quality. The report uses the generated blob, so the displayed size is the size of the file available for download.
Every result row has a Show original toggle, so a pale halo or a wrong fill colour is caught before the file ships.
Measured sizes
Our published benchmark measured both formats on the same six test images at 85% JPEG quality. The pattern is not "JPG is smaller" โ it is "JPG is smaller for photographs and cutouts, and decisively worse for graphics".
| Test image | PNG source | JPG at quality 85 | Change | Verdict |
|---|---|---|---|---|
| Photograph | 3,167.5 KB | 140.3 KB | โ95.6% | JPG wins massively |
| Product cutout | 1,713.1 KB | 82.8 KB | โ95.2% | JPG wins massively |
| UI screenshot | 1,082.3 KB | 331.9 KB | โ69.3% | Smaller, but text suffers โ keep PNG if it must stay sharp |
| Flat artwork | 16.1 KB | 78.9 KB | +390% | JPG is 4.9x larger |
| Logo | 6.3 KB | 31.1 KB | +394% | JPG is 4.9x larger, and loses transparency |
| Gradient | 6.9 KB | 72.9 KB | +957% | JPG is 10.6x larger |
Source: measured on 22 October 2026 with Pillow 11.0.0; raw CSV published at ./assets/bench/study-a-format.csv. The three bottom rows are the rule: anything with sharp edges, flat colour, or text belongs in PNG, and converting it to JPG pays bytes to lose fidelity.
The fill colour
Transparency in a PNG is per-pixel, and many pixels are partly transparent โ the anti-aliased edge around a cutout, a soft shadow, a faded logo edge. JPG has no fourth channel to store that, so each partly transparent pixel is blended with the fill colour and the result is baked in. Choose white and a cutout destined for a black website grows a light fringe around every edge; choose black and the same cutout on white paper looks dirty. That is the entire reason the fill colour is a choice here instead of a silent default.
If the destination needs the cutout to stay a cutout, no fill colour helps: JPG is the wrong target, and PNG or WebP is required. Our alpha and transparency guide explains what each format does with semi-transparent pixels, and the white background tool flattens PNGs while keeping the PNG format.
Questions
PNG stores flat-colour graphics with extreme efficiency; JPEG stores every 8ร8 block of pixels with frequency data regardless of content. On graphics and logos the measured result is routinely 4 to 10 times larger โ and it loses transparency on top. Keep such images as PNG.
White. Marketplaces standardise on pure white backgrounds, and a JPG exported with the white matte matches that expectation exactly. Check the specific platform's help pages for their current rules before listing.
No. Conversion runs locally in this browser with the canvas API โ your files are never transmitted to a server.
Yes. Set a width or height and the whole batch follows, with each file keeping its own aspect ratio when the lock is enabled.
Yes, as a side effect: the output is re-encoded from pixels, so EXIF metadata in the source PNG does not survive. The report shows exactly what was produced.
Batch-convert PNG files to JPG in your browser โ with the fill colour you choose, measured, private, and free.
Open the converter