Why Did My Transparent PNG Turn Black?

Why Nov 1, 2026 4 min read

You have a logo on a transparent background. You upload it, or convert it, or drop it into a document, and the transparency becomes a solid black rectangle. The file was fine a moment ago.

Nothing is corrupt. Something along the way had to decide what to put where the transparency was, and it chose black.

The Alpha Channel, and Formats That Lack It

A transparent PNG stores four values per pixel: red, green, blue, and alpha — how opaque that pixel is. Alpha at zero means fully transparent, and the colour values there are typically meaningless, often left as zero. Zero red, zero green, zero blue is black.

JPEG has no alpha channel at all. It cannot represent “nothing here”. So converting a transparent PNG to JPEG forces a decision: every transparent pixel must become some actual colour.

A careful converter asks you, or defaults to white. A careless one simply drops the alpha channel and keeps whatever colour values were sitting underneath — which, as above, are usually zero. That is where the black comes from. It is not a deliberate choice of black; it is the absence of a choice.

Where This Bites

The Fix: Flatten Deliberately

The reliable approach is to make the decision yourself rather than leaving it to whatever software touches the file next.

Before converting, place the image on a solid background of the colour you want and flatten it. Then convert. Now there is no transparency to lose, and no tool downstream has a choice to make.

Which colour depends on where it is going. White for most documents and light pages, your brand colour for a preview card, the actual page background if you know it. The point is that you pick it, once, knowingly.

And where transparency is genuinely supported — a website, an app interface — keep the PNG and do not convert at all. The problem only exists at the boundary where a format with alpha meets one without.

Which Formats Support Transparency

GIF’s One-Bit Transparency and the Ugly Halo

GIF supports transparency, but only as a switch: each pixel is either fully transparent or fully opaque. There is no partial.

This matters because smooth edges depend on partial transparency. A curved logo edge is drawn with pixels that are 30% opaque, 60% opaque, and so on, blending into whatever is behind. GIF cannot store those, so each one becomes either solid or gone.

The result is the jagged, hard-edged look of GIF logos, and the notorious white halo: if the image was made against white, the semi-transparent edge pixels get rounded to opaque white, and the logo arrives on a dark page wearing a pale fringe.

There is no setting that fixes this. It is the format. Use PNG or WebP.

The Same Problem in Reverse: the Pale Fringe

Occasionally a PNG with proper alpha still shows a light outline on a dark background. This is a related defect: the edge pixels were blended against white when the image was produced, and that white is baked into the colour values of the semi-transparent pixels.

The fix is upstream — export the image again from the original artwork against a transparent or similarly-dark background. Once the fringe is in the pixels, no conversion removes it.

Checking Before You Send

Two quick tests that catch almost all of this:

Quick Reference

Solve your file problem: Image Convert Try it free — Image Convert →