Back to All Blog Posts
Image Guides

PNG to JPG: What Happens to Transparent Backgrounds (and Quality)

By 4 min read
A transparent PNG logo becoming a JPG with a white background
Short answer

JPG can’t store transparency, so every transparent pixel has to become a solid colour. PNG to JPG fills it with white; some other tools leave it black. Convert photos and screenshots to JPG to make them much smaller. Keep logos, icons and anything placed on coloured backgrounds as PNG. Converting JPG back to PNG won’t bring transparency back.

PNG and JPG look the same in a photo viewer, but they’re built for different jobs. PNG keeps every pixel exactly and supports transparency. JPG throws away detail you’re unlikely to notice so photos become small. Converting between them is a trade, and transparency is the part people trip over.

Why transparent areas change colour

Each pixel in a PNG can carry an "alpha" value: fully see-through, fully solid, or anything in between. JPG has no alpha at all, only colour. During conversion, the transparent pixels need a colour, and the converter picks one: usually white, sometimes black (simply because transparent pixels are often stored as "black, fully transparent"). Soft edges, like the anti-aliased outline of a logo, are blended with that background colour, which is why a logo converted on black and then placed on white gets a dark halo.

Convert or keep?

ImageBest formatWhy
Phone photo saved as PNGJPGOften 3 to 5 times smaller, no visible difference
Screenshot of a web page or appPNG, or JPG at 90%+ if size mattersJPG can smudge small text
Logo, icon, stickerPNG (or SVG)Needs transparency and crisp edges
Signature for a documentPNGTransparent, so no white box
Image for a form that accepts only JPGJPGRequirement wins
Product photo on white for a shopJPGThe white background is wanted anyway

Converting PNG to JPG

  1. Open the PNG files.

    Several at once is fine.

  2. Check the background.

    Transparent areas become white, which suits documents, forms and most uploads.

  3. Pick a quality.

    85 to 90 percent for photos; 92 to 95 percent for screenshots with text.

  4. Download and compare sizes.

    For photos, the JPG should be much smaller.

"Without losing quality"

Strictly, any PNG to JPG conversion loses some information, because JPG compression is lossy. In practice, at 90 percent quality a photo looks identical at normal viewing size. Where you’ll see the difference is around sharp edges: text, thin lines and flat-colour graphics get faint ripples. That’s the signal to stay with PNG for that image.

Going the other way: JPG to PNG

Converting a JPG to PNG with JPG to PNG makes a lossless copy, useful when you’ll edit the image several times. It doesn’t remove the white background or restore lost detail. A product photo on white stays on white; to make that background transparent you’d need a background-removal step, which is a different job.

Need a specific file size?

If a form wants a JPG under 100 KB or 50 KB, convert first, then use Compress Image to 100 KB or 50 KB, which hit the exact target. Doing it in that order gives a sharper result than squeezing quality during conversion.

Frequently asked questions

Why does my PNG turn black when converted to JPG?

JPG cannot be transparent, and some converters fill transparent areas with black. CleanPDF fills them with white instead.

Can a JPG have a transparent background?

No. Use PNG, WebP or SVG if you need transparency.

Does converting PNG to JPG reduce quality?

Slightly, because JPG is lossy. At 85 to 90 percent quality, photos look the same; text and sharp edges may show faint artefacts.

Will converting JPG to PNG make the background transparent?

No. It keeps the same pixels, including the background. Removing a background is a separate step.

Should I use PNG or JPG for a logo?

PNG (or SVG), so the logo keeps a transparent background and sharp edges.

Convert PNG to JPG

Transparent areas become white. Batch conversion, in your browser.

Open PNG to JPG
Akhtar Ali
Akhtar Ali

Founder of CleanPDF. I build the site’s browser-based PDF, image, QR code and calculator tools, and I write these guides around the questions people send in while using them.