getPNGgetSVG
Troubleshooting10 min read

Why your PNG shows a black or white background (and how to keep it transparent)

Why is my PNG not transparent? Why a transparent PNG turns black or white in viewers, WhatsApp, Instagram, email and Office, and how to keep the transparency.

The getPNG team16 Sept 2026

Short answer

A PNG with a black background usually still has its transparency: something on the way ignored the alpha channel and showed the hidden colour of the empty pixels, which is often black. A white background usually means it was converted to JPG or flattened onto white. Viewers can also just draw their own dark or light backdrop. Send the file as a document, not a photo, and check it on a coloured slide.

A PNG with a black or white background, when it was supposed to be transparent, is one of the most common image puzzles there is, and the file is often not to blame. Most of the time the transparency is still in the PNG, and something between you and the screen (a viewer, a messaging app, an email client, a copy and paste) either ignored it or converted the picture to a format that cannot keep it. Sometimes the file really was never transparent. The fix depends on which, and it takes a minute to find out.

This guide explains why transparent areas turn black in some places and white in others, walks through the usual suspects one by one, and shows how to send and use a transparent PNG so it arrives transparent.

First: is the file actually transparent?

Before blaming an app, check the file itself. The simplest test uses something everyone has.

Test the PNG on a coloured slide

  1. Open PowerPoint, Keynote, Google Slides or a word processor and set the slide or page background to a strong colour, such as dark blue.
  2. Insert the PNG file from your computer (Insert, then Picture or Image). Do not copy and paste it.
  3. Look at the area around the subject.

You should see: the blue slide right up to the edges of the subject. The file is transparent, and the black or white you saw elsewhere came from the app that showed it or the route it travelled.

If you do not: a black, white or checkered rectangle means the file itself has no transparency. It was saved flat, converted, or is a picture of a checkerboard. See the section on files that were never transparent below.

On Windows you can also right-click the file, choose Properties, then Details: a PNG with an alpha channel usually shows a Bit depth of 32, one without it 24.

Why transparent areas turn black

A pixel in a PNG with transparency is four numbers: red, green, blue and alpha. Alpha says how opaque the pixel is, and when alpha is zero the other three are supposed to be ignored. But they are still stored, and something has to be written there. Many programs write zero, zero, zero, which is black.

So a fully transparent background is often, underneath, a black background with an instruction to hide it. Any app that drops the alpha channel without mixing the picture onto a colour first shows exactly what is stored: the subject on black. That is why transparency “turns black” far more often than any other colour, and why the black appears so neatly around the subject, with soft edges that look darker than they should. The alpha channel guide explains how those hidden colours and edges are stored.

Black is not guaranteed. A program that stores white under its empty pixels produces a white background in the same situation, and one that keeps the original photo’s colours there can make the old background reappear, faintly or fully. If a cutout suddenly shows the room it was photographed in, that is what happened.

Why transparent areas turn white

White usually has a different cause: conversion to JPG. A JPG has no alpha channel at all, so any program that saves one from a transparent picture has to put something behind the subject first. Most choose white, because that matches a page or a document.

That conversion is often silent. Apps convert pictures to JPEG to save space and bandwidth, a “save as” dialog may default to JPG, and phone galleries sometimes export a copy as JPEG when you share it. The result is a file with the right name and the wrong content, or a file that simply ends in .jpg.

White can also be a viewer’s own background. A light-mode image viewer, a browser tab or an email with a white body shows transparent areas as white, which looks exactly like a white background until you put the picture somewhere darker.

The viewer draws its own background

The same dog cutout shown three ways: on a checkerboard, on black and on white
One transparent PNG, three ways an app can show it: a checkerboard, black, or white. The file is the same in all three. Photo: Felix Joseph on Pexels

An image on its own has to be shown on something, and every viewer picks a backdrop. In a browser tab, a lone image sits on a plain page. In the Windows Photos app, transparent areas show the app’s own background, which is dark when the app is in dark mode. A black logo on a transparent background then seems to disappear entirely, and people assume the file is a black square. Switching Photos to light mode in its settings, or opening the file in a browser, shows the file is fine.

The same thing happens in reverse with white artwork in light-mode viewers. The rule: judge transparency on a strong colour that is neither black nor white, as in the slide test above.

It was converted on the way

The most common culprit is an app that re-saves your picture before delivering it.

WhatsApp and other messaging apps

When you send a picture through WhatsApp as a photo, the app recompresses it as a JPEG to keep messages small, and the transparency is lost. Users widely report that the transparent area comes out black. The fix is to send it as a document (the attach menu has a separate document option), which delivers the original PNG untouched. Other messengers behave similarly: options named “send as file”, “uncompressed” or “original quality” are the ones that keep the PNG as it is.

Stickers are a separate format with their own rules. Making stickers from photos covers the WhatsApp sticker requirements.

Instagram and other social networks

Instagram converts pictures for its feed, and the feed does not keep transparency, so the empty area is filled in. Most social networks do the same for posts, because they re-encode every upload to control file size and quality. Do not fight it: put the cutout on the colour or photo you want in an editor, and upload the finished picture.

Email

An attached PNG arrives as the same file, so attachments are safe. What changes is how it is shown. A transparent logo in an email signature or the body of a message sits on the email’s background, and many email apps now switch to a dark background in dark mode, or recolour the message. A black logo on a transparent background can vanish there, and a white one can vanish in light mode. For a logo in an email signature, a version with a thin light outline, or a version on a solid colour, is safer than relying on transparency.

Copy and paste

Copying a picture from one app and pasting it into another goes through the operating system’s clipboard, which can hold the image in several formats. Some of those formats carry transparency and some do not, and which one the receiving app picks varies. That is why a PNG that pastes perfectly into one program comes out on black or white in another. If a pasted picture loses its background, insert the file from disk instead.

Office documents

Word, PowerPoint, Excel, Google Docs and Google Slides all keep PNG transparency when you insert the file. Problems come from the route in: pasted from a browser or a chat app (see above), or from a picture that was already a JPG. Making a picture transparent in Word covers the Office tools for pictures that were never cut out.

The quick table

Where you saw it What usually happened What to do
WhatsApp, sent as a photo converted to JPEG, often black send as a document
Instagram post converted, filled in compose on a background first
Windows Photos in dark mode viewer’s dark background switch to light mode or use a browser
Pasted into an app clipboard format without alpha insert the file instead
Email in dark mode client recoloured the background give the logo an outline or a solid version
Saved or exported as JPG JPG cannot store alpha, usually white save as PNG or WebP

When the PNG was never transparent

If the slide test showed a box, the file itself is flat. The usual reasons:

  • It is a screenshot. Screenshots capture what is on screen, including whatever colour was behind the picture.
  • It was a JPG renamed to .png. Renaming a file does not change its contents.
  • It was exported without transparency. Some apps have a separate option for a transparent background at export, and some reserve it for paid plans.
  • It is a fake. The checkerboard is painted into the pixels, which the fake transparent PNG guide shows how to recognise and fix.

In every one of those cases, the transparency has to be made again: the background removed from the picture and the result saved as PNG or WebP.

The free way

Make a real transparent PNG, or the version on a colour

Drop the picture on getPNG to cut out the subject and download a transparent PNG at full resolution. If the destination cannot keep transparency, pick a background colour instead and download a JPG, PNG or WebP on exactly that colour, so nothing is left for an app to fill in.

Your photo never leaves this device.Make it transparent

How to keep transparency from start to finish

A few habits prevent almost every black or white surprise:

  1. Keep a master PNG and never overwrite it with an exported or sent copy.
  2. Send files as files: attachments, documents, zip archives or cloud links, not photos in a chat.
  3. Insert, do not paste, when a picture goes into a document or a slide.
  4. Know which destinations cannot keep transparency (social posts, most photo messages, JPG uploads), and make a version on the right background for them.
  5. Check on a strong colour, never on white or black, before you decide a file is broken.
  6. Choose WebP only where it is supported. WebP keeps transparency as well as PNG does, but some older apps convert it on import. PNG vs WebP for websites covers where each is safe.

Transparency is fragile only because it is invisible: nothing warns you when an app throws it away. Once you know which routes keep the original file and which re-save it, a black or white box stops being a mystery and becomes a sign of where the picture has been.

Questions

Why is my PNG not transparent?

Either the file never had transparency (a screenshot, a JPG renamed to .png, or a fake with a painted checkerboard), or it had it and an app on the way removed it by converting the picture to JPG or flattening it. Drop the file on a dark slide: if the slide shows around the subject, the file is fine and the problem is where you sent or viewed it.

Why does my transparent PNG have a black background?

Every pixel stores a colour even when it is fully transparent, and many programs store black there. An app that ignores the alpha channel shows that stored colour, so the empty area turns black. Messaging apps that convert pictures to JPEG, some thumbnail views and some clipboard paths all do this.

Why does WhatsApp turn my PNG background black?

When you send a picture as a photo, WhatsApp recompresses it as a JPEG, which has no transparency, and users widely report the empty area turning black. Sending the file as a document delivers the original PNG unchanged. For stickers, WhatsApp has its own sticker format.

Does Instagram support transparent PNGs?

Not in posts. Instagram converts uploaded pictures for its feed, and a JPEG cannot keep transparency, so the empty area is filled with a solid colour. Put the cutout on the background you want in an editor first and upload that.

Why does my PNG look black in the Windows Photos app?

The file is probably fine. The Photos app draws transparent areas over its own background, which is dark in dark mode, so a black logo on a transparent background seems to vanish. Switch the app to light mode or open the file in a browser to check.

How do I send a PNG without losing transparency?

Send it as a file rather than a photo: as an email attachment, a document in a messaging app, a zip, or a link to cloud storage. Those routes deliver the original bytes. Anything that says it will optimise, compress or resize a photo is likely to convert it.

Tags
TransparencyTroubleshootingPNGFile formats