Guide

Transparent Background PNG

Short answer: three different files all get called “a transparent background PNG”, and only the first one is one. One — a true transparent PNG: the background is empty, stored as an alpha channel, and whatever you place the image on shows through. Two — a PNG with no alpha channel at all: a perfectly valid PNG whose background is simply filled white. Three — a PNG where a white rectangle has been painted in behind the subject. In case three the transparency is not missing and no setting will switch it on, because the white is part of the picture now. Ten seconds with a dark background tells you which of the three you are holding, and the table below is that test.

1. Really transparent empty background, alpha channel present the checkerboard is your viewer, not the file 2. PNG, no alpha background filled white a valid PNG that never had transparency 3. White painted in the white is now part of the picture you cannot switch this one on Same subject, same extension, three different files. Drawn diagram made for this page.
The extension tells you the container. It tells you nothing about what is inside it. Drawn diagram made for this page.

The ten-second test

Put the image on a dark background — a black rectangle in any editor, a dark slide, a dark web page. Whatever is behind the subject will either show through or it will not. That single look separates all three cases.

What you see on blackWhich file it isWhat to do
The dark background runs right up to the subject and through any gaps A real transparent PNG. Nothing is wrong Nothing. Export it as PNG wherever you use it next
A solid white box around the subject No alpha channel. A perfectly valid PNG whose background is white pixels Remove the white the same way you would remove any flat background colour — see below
A white rectangle that has a visible edge, sitting on top of the dark White painted in. The rectangle is a shape in the picture The same removal as above. There is no setting that “turns on” transparency for a file like this

Cases two and three need the same operation, which is a relief, because from the outside they look identical. Case one needs nothing, and it is also the only one where the file itself is already correct.

Why the extension tells you nothing

PNG is a container format, and it holds several quite different things under the same three letters. The container promises a lossless image; it does not promise an alpha channel, and it does not promise that the file was exported the way you think it was.

This is why two files ending in .png can behave completely differently in the same document, and why “but it is a PNG” is not an answer to “why is there a white box”. The extension describes the wrapper. The alpha channel is a separate thing that may or may not be inside it.

Case two: a PNG that never had a transparency channel

This is the common one, and it usually arrives from one of four places.

  • A flattened export. The editor offered a “flatten image” or “export as JPEG then rename” path, and the background was composited into the picture before saving. The result is genuinely a PNG with no empty pixels.
  • A palette-based export. Some exporters write a reduced-colour PNG by default. If the background is one flat white, a palette file can store it perfectly and still carry no usable alpha — the white is simply a colour in the palette.
  • A white shape left behind. The background was deleted in the editor but a white rectangle object was sitting underneath, so the export faithfully includes it.
  • A screenshot. A screenshot is a picture of a screen, and a screen is opaque. Whatever was transparent on screen was displayed against something, and that something is what got captured.

In every one of these the fix is the same, and it is not a transparency setting: you have to remove the white. White is a flat colour, so it is the easiest possible thing to key out — nominating it, removing it, tidying the edge, and exporting with alpha is a single pass.

The catch with white, specifically

White is the easiest background to remove and the easiest one to over-remove, for the same reason: nothing else in a photograph is that colour, except the things that are nearly that colour — a white shirt, a highlight on skin or on a bald head, a pale product, a sheet of paper, the white text on a label.

Two habits make the difference:

  • Sample a slightly grey part of the white rather than the brightest pixel, and keep the tolerance narrow. A slightly imperfect cut-out beats a shirt with holes melted through it.
  • Judge the result on black, not on white. Detail that got deleted inside the subject is invisible against a white background and obvious against a black one. Check before you export, not after.

One-bit alpha against eight-bit alpha

Even when a PNG does carry transparency, it can carry it in two very different qualities, and this is the second reason a “transparent PNG” can look wrong.

  • One-bit alpha gives every pixel one of two states: fully there or fully gone. The outline comes out stair-stepped, with visible square teeth wherever the edge runs at an angle.
  • Eight-bit alpha gives each pixel 256 levels, so the edge can fade across a few pixels and read as smooth. This is what a proper cut-out needs, and it is what you get when an editor exports with a real alpha channel.

The test is the same zoom you would use for anything else: open it at 400% and look at the outline. Teeth mean one-bit alpha. A soft blend means eight. If you see teeth and the rest of the image looks right, the problem is in the export settings, not in the removal — re-export with alpha rather than redoing the cut-out.

What “a transparent background PNG” means precisely

If you need to say it in a way that cannot be misread, this is the sentence: the file stores four values per pixel — red, green, blue and alpha — and the alpha is a full-range channel, not a single on-or-off flag. Files like that are often written as 32-bit PNG, or RGBA, and both phrases mean the same thing. The 24-bit PNG most tools also offer has no alpha at all, which is exactly how a file can be offered as a PNG and still have a background.

WebP can carry the same four values and is worth using where it is supported; JPEG cannot carry them under any setting, which is why a JPEG of a cut-out always shows a background again. The format guide goes through that side of it properly.

When there is no flat colour to remove

Everything above assumes the background is a colour you can name — the white you were handed, or a screen colour behind the subject. If the picture is a room, a street or a landscape, there is no colour to nominate and a colour tool has nothing to work with. That is a different operation with a different failure pattern, and this page sets out that boundary honestly before you spend an afternoon on it.

Questions

How do I make a transparent background PNG?

Remove the background so those pixels become empty, then export as a PNG that carries an alpha channel. The removal is the real work; the PNG is just the container that can hold the result. If the background is one flat colour, that removal is a single pass; if it is a scene, a colour tool cannot do it at all.

Why does my PNG still have a white background?

Because the file has no empty pixels in it. It may never have had a transparency channel, or a white shape may have been left underneath the subject, or it came from a screenshot. Either way the white is stored as white pixels, so it has to be removed rather than switched off.

Is every PNG transparent?

No. PNG is a container that can hold an alpha channel; it is not required to. A 24-bit PNG has no transparency at all, and plenty of exporters produce one by default. That is why two files with the same extension can behave completely differently in the same document.

Can I convert a white-background PNG into a transparent one?

Yes, as long as the background really is flat white. Nominate the white, remove it, rebuild the edge, cap any spill, and export with alpha. Watch the pale parts of the subject: white fabric and bright highlights sit close enough to the background colour to be deleted with it, so sample a slightly grey patch and keep tolerance tight.

Why does my transparent PNG look jagged?

Because the alpha is one-bit rather than eight-bit. One-bit alpha can only keep or delete a pixel, so any diagonal edge comes out as a staircase. Eight-bit alpha stores a fraction per pixel, which is what lets an edge blend. If the outline has visible teeth, re-export with a full alpha channel instead of redoing the removal.

What is the difference between a 24-bit and a 32-bit PNG?

Eight bits per colour channel either way. The 32-bit version adds a fourth eight-bit channel for transparency. So 24-bit means no transparency is possible, and 32-bit — sometimes written as RGBA — is the one that can hold a genuinely empty background.

Can I do this on a phone?

Yes. The remover on this site runs in the browser, so the picture is processed on your own device and never uploaded. Large images take longer on a phone, because your phone is the thing doing the arithmetic.

Open the green screen remover — free, no account, and it writes a PNG with a real, full-range alpha channel at the size you loaded. If what you actually have is a screen behind the subject rather than a white background, the edge guide is a symptom-by-symptom lookup table for when the cut-out looks wrong.

Advertisement

Paid links. This site may earn a commission if you buy through one of them; the price you pay is unchanged. Ads supplied by CJ Affiliate on behalf of Corel Corporation and Movavi — details on the privacy page.