The Black Box Where Your Logo Used to Be
You had a clean PNG — a logo floating on a transparent background, a product cut-out, a signature with nothing behind it. Some upload form demanded a JPG, so you converted it. And now the part that used to be transparent is a solid black rectangle. Or a stark white one. Either way, the thing that made the image useful just vanished behind a slab of color.
This is the single most common surprise people hit when converting PNG to JPG, and it is not a glitch in whatever tool you used. It is JPG doing exactly what JPG was built to do. Here is what is actually happening, how to convert without ruining the image, and when the smarter move is to not convert at all.
Why JPG Physically Cannot Keep Your Transparency
A PNG stores a fourth piece of information for every pixel, on top of red, green, and blue: an alpha channel. Alpha is a transparency value that ranges from fully solid to completely see-through. It is the reason a logo can sit on top of any background — a website, a slide, a colored banner — without an ugly box around it.
JPG has no alpha channel. None at all. The format was designed in the early 1990s for photographs, where every single pixel is opaque and there is simply nothing to see through. So when you convert a PNG to a JPG, that transparency information has nowhere to live, and the converter is forced to fill in every transparent pixel with a solid color.
Which color it picks is where the horror stories come from. Some tools fill with black. Some fill with white. A few fill with a loud magenta so you *notice*. Whatever the default, the instant a transparent PNG is flattened into a JPG, the empty space becomes a hard, visible background you never asked for.
The Fix: Decide the Background Before You Flatten
The trick is to stop thinking of it as "losing" transparency and start thinking of it as *choosing what goes behind the image*. Because that is the only question that matters once JPG is involved.
If your logo or graphic is going to sit on a white page — a document, most web pages, a printout — then a white background is invisible and perfect. If it is going onto a dark slide or a black banner, you want a background that matches *that*. The problem is never the conversion itself; it is a converter that silently picks the wrong fill color.
A good converter defaults to white (which is right the vast majority of the time) and gives you a clean, flattened image with no surprise black box. The 30-second version:
- Drop your PNG into PNG to JPG. No install, no account.
- Let it flatten onto white. Transparent areas become white — the fill that blends into almost every destination.
- Download and check it against the background it will actually live on. If it looks right, you are done.
That is the whole fix for 90% of people. The black box only ever showed up because the previous tool chose black and never told you.
When You Should NOT Convert to JPG at All
Here is the part most "how to convert PNG to JPG" guides skip: sometimes the right answer is to *keep the PNG*, or convert it to something else entirely.
You actually need the transparency. If the logo has to float over different backgrounds — overlaid on photos, dropped onto colored sections, reused by other people who don't know what color is behind it — do not flatten it. A JPG locks in one background forever. Keep the PNG, or if you need a smaller modern file that *still* supports transparency, use PNG to WebP instead. WebP keeps the alpha channel and is often a fraction of the size.
The image is text, a screenshot, or a sharp-edged graphic. JPG uses lossy compression that was tuned for photographs. Point it at crisp text or a flat-color logo and it smears fuzzy "mosquito noise" around every edge. For that kind of content, PNG usually looks better *and* comes out smaller — which is the whole reason your screenshots are bigger than HD video. If you only need JPG because of a size limit, compressing the PNG with the Image Compressor may get you under the cap without touching the format.
You want to undo a bad conversion. If someone already handed you a flattened JPG and you need transparency back, converting JPG to PNG will *not* magically restore it — the alpha data is gone for good. You'll need the original, or you'll have to cut the subject out again with a tool like the Background Remover.
So When IS JPG the Right Call?
Plenty of times — just not for logos on transparent backgrounds.
JPG shines on photographs: a product shot, a headshot, a landscape, anything with smooth gradients and no hard edges. For those, a JPG is dramatically smaller than the equivalent PNG with no visible quality loss, which is exactly why cameras and phones shoot JPG by default. If you have a photo-type PNG that is needlessly huge, converting it to JPG is the correct move and the file size drop is enormous.
The deciding question is simple: is it a photo, or is it a graphic? Photos want JPG. Logos, icons, screenshots, and anything with transparency or crisp edges want PNG (or WebP). If you want the full breakdown, we wrote a whole piece on JPG vs PNG and which to actually use.
A Few Other PNG-to-JPG Gotchas
Bottom Line
The black box isn't your fault and it isn't broken — it's JPG honestly admitting it can't store transparency, and some tool quietly painting the gap the wrong color. Convert through something that flattens onto white and the problem disappears for almost every real-world use.
But before you convert at all, ask whether you even should. If the image needs to float, stay on PNG or move to WebP. If it's crisp text or a screenshot, PNG is both sharper and smaller. Save JPG for the photos — that's the one job it was built for, and the one job it does better than anything else.
Flatten a logo onto a page? PNG to JPG, white background, done in 30 seconds. Need the transparency to survive? Don't flatten it at all.