Why a Transparent PNG Turns Black After Converting to JPG
You compressed a logo or a screenshot saved as a transparent PNG, converted it to JPG — and instead of transparency you got a solid black background. That's not a broken file or a converter glitch; it's a quirk of the JPEG format itself.
Below: why this happens with any PNG that has transparency, and how to convert it so you get a white background (or any other color, if you fill it in beforehand) instead of an unpredictable black patch.
Why transparency turns into black specifically
JPEG simply can't store transparency (an alpha channel) at all — every pixel is just a color, with no "how transparent" value. When a converter turns a PNG into a JPG, the transparent pixels have to be replaced with something. If the tool doesn't explicitly fill in a background color first, the empty area gets whatever the browser's canvas defaults to — and an untouched pixel there is, by spec, fully transparent black (rgba(0,0,0,0)). Once the file is saved as JPG without an alpha channel, the transparency is simply dropped, and that black color is what remains.
How to check before you convert
- Open the PNG in a viewer that shows transparency as a grey-and-white checkerboard (how Windows/macOS file previews or a browser show it) — if you see that pattern around the subject, that's transparency, and it will turn black without the right background.
- If you don't have time to check, just use a converter that fills in a white background automatically (below), and the problem never comes up.
How to convert PNG to JPG without the black background
- Open Convert to JPG. The tool automatically fills transparent areas of PNG, WebP, BMP and HEIC/HEIF with white before re-encoding to JPG, so a black background never gets the chance to appear.
- Add your photos — up to 20 files at a time, up to 30 MB each.
- Download the result. JPG quality is 90%, and the background under transparent areas is white; if you need a different color, fill it in yourself in an image editor beforehand — the site itself doesn't change the background color.
What if the photo already saved with a black background
If the file was already converted and the black background is baked into the finished JPG's pixels, there's no way to recover the transparency — the alpha channel is permanently lost the moment the first conversion happens. You'll need to go back to the original PNG (or another file that still has transparency) and convert it again, this time with a tool that fills the background correctly.
Does this affect other formats too
Same story with WebP and BMP: both can hold transparency, and JPG simply doesn't support it at all. HEIC/HEIF photos from an iPhone sometimes have an alpha channel too — for example, a screenshot with the background cut out. The converter on this site fills in a white background the same way for all of these formats, not just PNG.
Questions and answers
Why did the background turn black specifically, not white?
The browser canvas that most online converters use for re-encoding treats an untouched pixel as fully transparent black by default. Once the JPG is saved without an alpha channel, the transparency is simply dropped and the color left behind is black. Our converter fills in white before that happens, so no black ever appears in the result.
Can I get a different background color instead of white?
The tool on this site always fills in white — the safest default for documents, printing and social media. If you need another color, fill it in yourself in an image editor before converting.
Does this conversion reduce photo quality?
The image itself (apart from the transparent areas, which become white) is re-encoded to JPG at 90% quality — noticeably higher than the 70-80% some other online converters use by default.
Will WebP or HEIC files with transparency have the same problem?
Yes, same principle: any format with an alpha channel (WebP, HEIC/HEIF, BMP with transparency) gets black areas instead of transparent ones when converted to JPG without an explicit background fill. The tool on this site handles all of these formats the same way.
Is my photo uploaded to a server during conversion?
No. The conversion happens locally in your browser — the file is never uploaded anywhere.