Why a Transparent PNG Shows a Black Background

By , who builds this tool · Updated

A transparent PNG turns black when the app showing it fills see-through pixels with black, when the image was saved as a JPG somewhere along the way, or when copy-paste dropped the transparency. Check the file on a colored background first, export as PNG instead of JPG, and insert the file instead of pasting it. If the black is in the pixels, save a real transparent PNG by cutting the subject out again.

  1. Test the file on a colored backgroundPlace the PNG on a bright colored slide or page. If the color shows through around the subject, the file is fine and the app you were using is drawing the transparency as black.
  2. Save it as PNG, not JPGJPG cannot store transparency, so any export to JPG turns see-through areas into a solid color, often black. Export or download the image as PNG instead.
  3. Insert or place the file instead of pastingSave the PNG to disk, then use Insert Picture, Place or Import in the other app. Pasting can lose transparency between some pairs of apps.
  4. Cut the subject out again if the black is realIf the black shows even on a colored background, it is part of the pixels. Remove the background from the original photo and save a new transparent PNG.
Two copies of the same cut-out. On the left, a transparent PNG on an editor checkerboard. On the right, the same image after its transparency was flattened to solid black.
Same image, two states. Left: transparent PNG. Right: transparency flattened to black.

Why does my transparent background turn black?

Often the file is fine and the program showing it is the problem. In a PNG, each pixel carries an alpha value next to its color, and per the W3C PNG specification an alpha value of zero represents full transparency. What appears behind a fully transparent pixel is not stored in the file. The app decides.

Editors usually draw a gray checkerboard there. Web pages show whatever sits behind the image. Some image viewers, thumbnail generators and upload previews fill the gap with black or white instead, so the same file can look different in three places. That is why the first fix is a test, not a repair: put the PNG on a colored slide, page or layer. Color around the subject means the transparency is intact, and the black you saw was a display choice.

One transparent PNG shown three ways: on a checkerboard, on a white background and on a black background.
One transparent PNG on a checkerboard, on white and on black. The file is identical in all three.

If a preview is black but the real thing is fine, stop there. Upload the PNG, place it in a design or open it in a browser tab and check it where it will be used. Our guide to how a transparent PNG worksexplains the alpha channel in more detail.

Why does a PNG turn black after saving as JPG?

The usual cause is a trip through JPG. The JPEG format has no alpha channel, as MDN's image format guide puts it, so a JPG cannot hold transparent pixels at all. Whenever a tool exports to JPG, it has to turn those pixels into a solid color first.

Black is a common result on the web. The HTML standard says that when a canvas image is saved in a type that does not support alpha, the saved image must be the bitmap composited onto an opaque black background. Web-based editors and converters often work this way, so a transparent image exported as JPG from one of them can come back with black where the see-through area was. Other apps may fill with white or a chosen color instead.

Renaming does not undo it. A file called cutout.png that was once a JPG is a JPG with a new name or, at best, a PNG that holds the solid color. Once the transparency has been replaced by pixels, it is gone from that copy. Look for the original PNG, or go back to the source photo.

To avoid it next time, check the export format. If a dialog or download button offers JPG, choose PNG instead. For when a JPG is still the right call, see JPG vs PNG for a transparent background.

Why does my PNG paste with a black background?

Copy and paste goes through the clipboard, not through the file, and the clipboard is a handoff between two apps. Each app decides which formats it puts on it and which it accepts. If the copying app offers only a version without transparency, or the receiving app picks that version, the see-through pixels arrive filled in, and black is a common fill.

Which app pairs lose transparency this way is not something we can promise for every combination. The dependable workaround is to skip the clipboard. Save the PNG to disk, then bring it in with the receiving app's own command: the insert-picture command in Word, PowerPoint or Google Slides, or the place or import command in Photoshop, Illustrator, Procreate, Figma, GIMP or Krita. Either way, the app reads the PNG file itself. Slides and documents have their own traps, covered in PNG not transparent in PowerPoint, Word or Google Slides.

Why is the background black in Photoshop or Illustrator?

In Photoshop and Illustrator, two causes are worth ruling out before blaming the PNG. First, a black layer, fill or artboard background may sit behind the image. Hide everything except the PNG and look for the checkerboard. Second, the image may have been flattened or exported to a format without transparency earlier in the workflow. If the checkerboard appears when the PNG is alone, the file has its transparency and the black comes from something else in the document.

When you export from these apps, choose PNG and keep the transparency option on. If you place the PNG and the black remains even with every other layer hidden, the black is in the file itself, which is the next case.

How do I turn a black background transparent?

If the black is part of the pixels, it can't be switched off, because the transparency was already replaced. You have two options. Go back to the original file, before it was flattened, and use that. Or cut the subject out of the photo and save a new PNG with a transparent background.

That second route is quick with a background remover. The AI cuts out the subject, you can fix the edges with the Touch up editor (the pencil button) and each result downloads as a transparent PNG. Our PNG background remover works for one photo or a whole folder, and it is free up to 40 images per batch with no sign-up and no watermark.

A simple "make black transparent" color filter is a poor substitute when the subject itself has dark areas, such as black hair, a dark shoe or a shadow, because those pixels disappear too. Cutting out the subject keeps them. When the flattened color is white, not black, the steps are the same, and the white background guide covers that case.

Making a PNG transparent in the first place

A PNG becomes transparent when the background pixels are removed and the result is saved as a PNG. Changing the file extension does nothing, and neither does converting a JPG to PNG, since a converter copies the same background pixels into a new file. Our tool saves a transparent PNG by default; the Output menu also offers Transparent WebP, a white background JPG and a solid color. A JPG is the one choice that ends the transparency.

Which black background cause do you have?

What you seeLikely causeFix
Color shows through on a colored slide or pageThe app draws transparency as blackNothing to fix. Use the file where you need it
Black right after exporting or downloadingSaved as JPG, which has no alpha channelExport or download as PNG
Black only after pastingThe pasted copy lost its transparencySave the file, then insert or place it
Black on every background, in every appThe black is in the pixelsCut the subject out again

When you need to cut out a batch of photos and keep transparency, open the PNG background remover, leave the output on Transparent PNG and download the results.

FAQ

Why is my PNG file showing up black?

Either the app draws its transparent pixels as black, or the file was saved in a format with no transparency, such as JPG, before it became a PNG. Open it on a colored page. If the color shows through, the PNG is intact.

How do I turn a black background transparent?

If the black is real pixels, no setting brings the old transparency back. Start from the original photo, cut out the subject and save a new PNG. If the black only appears in one app, the file is already transparent and nothing needs fixing.

How do I turn a PNG transparent?

A PNG becomes transparent when the background pixels are removed and the result is saved as PNG. Renaming a JPG to .png does nothing. Cut the subject out of the photo, then save with transparency on, which is the default PNG output in our tool.

Why does my transparent PNG turn black in Photoshop or Illustrator?

Usually a black layer or fill sits behind the artwork, or the image was exported to a format without transparency. Hide the other layers and look at the PNG alone on a checkerboard. If the checkerboard shows, the transparency is still in the file.