PNG to JPG: Why the Background Turns White and the File Size Changes
What happens to transparency, sharp text and file size when you convert PNG to JPG, when the JPG ends up bigger, and when you should keep the PNG instead.
The short answer
JPG cannot store transparency, so every transparent pixel in a PNG has to become a solid colour when you convert it. The PNG to JPG converter fills transparent areas with white, keeps the original pixel dimensions, and saves at a fixed high quality. Photos usually get much smaller as JPG; logos, screenshots and images with sharp text can get blurry edges and sometimes even a bigger file, so keep those as PNG.
What the converter actually does
Before deciding whether to convert, it helps to know exactly what happens to your file. The tool works like this:
.jpg extension, and the screen shows the old and new file sizes.Because the JPG is drawn fresh from the pixels, camera metadata such as EXIF data is not copied into the new file.
Why the background turns white (and not black)
A PNG can have an alpha channel: an extra value for each pixel saying how see-through it is. JPG has no alpha channel. A converter has to decide what colour goes behind the image.
- This tool paints white first, which suits documents, forms, product listings and printing.
- Some other converters drop the alpha channel without filling it. The hidden colour values in transparent areas are often black, so the background suddenly turns black.
If you need a different background colour, for example blue for a form photo, change the background before converting with the Photo Background Changer, or keep the transparent PNG.
Watch out for soft edges
Logos and cut-out photos often have semi-transparent edge pixels that make curves look smooth. During conversion those pixels blend with white. On a white page this looks perfect. If you later place the JPG on a dark background, you will see a thin light outline, called a halo, around the shape.
Rule: if the image will ever sit on a non-white background, keep the PNG with transparency.
Will the file get smaller?
It depends on what is in the image, not on the format name.
| Image type | What usually happens as JPG |
|---|---|
| Camera photo saved as PNG | Much smaller, with no visible quality change |
| Screenshot of a website or app | Often smaller, but text edges can look slightly fuzzy |
| Logo or icon with flat colours | Often similar size or larger, with blotches around edges |
| Line drawing, chart or diagram | Edges can show faint noise; PNG is usually the better choice |
The reason is how each format compresses:
- PNG is lossless and works best when large areas are exactly the same colour, such as a flat logo or a chart background.
- JPG is lossy and is designed for smooth gradients and natural textures, such as skin, sky and grass. It throws away detail the eye is unlikely to notice in photos, but sharp edges between two flat colours are exactly where its artefacts show.
So a 3 MB PNG photo may shrink to a fraction of that, while a 40 KB PNG logo may not shrink at all. The tool shows both sizes after conversion, so you can check before you download.
Is there quality loss?
Yes, a little, every time. JPG is lossy. At 0.92 quality the loss is hard to see in photos, but:
- Fine text and thin lines can pick up a faint shimmer around them.
- Saving a JPG again and again (edit, save, edit, save) adds loss each time. Keep your original PNG as the master copy and convert only the final version.
- Converting the JPG back to PNG does not restore anything. The lost detail is gone; you just get a bigger file. See does converting JPG to PNG improve quality for the details.
When to convert, and when to keep PNG
Convert to JPG when:
- The image is a photo and you need a smaller file for email, WhatsApp or a website.
- A form or portal accepts only JPG or JPEG.
- You need a plain white background anyway.
Keep PNG when:
- The image has transparency you need, such as a logo for a coloured header.
- It is a screenshot with small text, a chart, or a UI mock-up.
- You are going to edit it again later.
For a longer comparison, read PNG vs JPG: which format to use.
Step by step
Troubleshooting
The JPG is still too large for an upload limit
Conversion keeps the full pixel size. A 4000 × 3000 photo stays 4000 × 3000. If a portal needs a file under a set size, convert first and then use Compress Image to KB, or reduce the dimensions with Resize Image.
"Could not read this image file"
The browser could not decode the file. Check that it is a real image and not a renamed document, and try opening it in your image viewer first. Very large or unusual files may also fail on low-memory phones.
The edges of my logo look grey or rough
That is the white blending with semi-transparent edge pixels, plus normal JPG artefacts on sharp edges. Use the original PNG instead, or export a larger version of the logo before converting so the edges cover more pixels.
Frequently asked questions
Why does my transparent PNG get a white background as JPG?
JPG cannot store transparency. The Lazyblink converter fills the canvas with white before drawing your image, so every transparent area becomes white.
Why is my JPG bigger than the original PNG?
PNG compresses flat colours and sharp edges very well, while JPG is built for photos. Logos, charts and simple graphics can end up the same size or larger as JPG. Keep those as PNG.
Does converting PNG to JPG reduce quality?
Slightly. JPG is lossy. The tool saves at quality 0.92, which is hard to tell apart from the original in photos, but fine text and thin lines can show faint artefacts.
Does the converter change the image size in pixels?
No. The JPG has the same width and height as the original. To make it smaller in pixels or kilobytes, use a resize or compress tool after converting.
Put this guide into practice with our free online tool — no signup required.
Open tool