Basics

What is a transparent PNG? Alpha channels explained simply

A plain-English guide to how PNG transparency works, why some "transparent" images show a checkerboard, and how to check a file before you use it.

By the pngtop team · · 6 min read

If you have ever dropped a logo onto a coloured slide and watched an ugly white box appear around it, you already know why transparent PNGs matter. A transparent PNG is an image where some pixels are see-through, so whatever sits behind the image shows through those areas. That single property is what makes cut-out objects, logos, icons and stickers look like they belong in a design instead of being pasted on top of it.

This guide explains what is actually happening inside the file, the difference between full and partial transparency, and how to spot a fake transparent image before it ruins your layout.

Pixels, colour channels and the alpha channel

Every digital image is a grid of pixels. In an ordinary photo, each pixel stores three numbers: how much red, green and blue light it contains. Those three numbers are called channels, and together they produce every colour you see on screen.

A transparent PNG adds a fourth channel called alpha. Alpha does not describe colour at all. It describes opacity: how solid the pixel is.

  • An alpha value of 0 means the pixel is completely transparent. Its colour is ignored and the background shows through.
  • An alpha value of 255 (the maximum in a standard 8-bit channel) means the pixel is completely solid.
  • Anything in between is partially transparent. A value around 128 is roughly half see-through.

Because standard PNG alpha has 256 possible levels, a PNG can describe soft, smooth edges, not just an on/off cut-out. That is the main reason designers prefer PNG over older formats such as GIF, which can only mark a pixel as fully transparent or fully solid.

Why partial transparency matters

Partial transparency is what makes a cut-out look natural. Look closely at a well-made PNG of a person or a plant and you will find that the outer edge is not a hard line. The last one or two pixels fade gradually from solid to clear. This is called anti-aliasing, and it stops edges from looking jagged or "stair-stepped".

It is also what allows effects that would be impossible with a hard mask:

  • Soft shadows that fade into whatever background they are placed on.
  • Glass, smoke, fire and light effects, where the object itself is semi-transparent. A blurred smoke plume is a good example: almost every pixel in it is partly see-through.
  • Hair and fur, where individual strands are thinner than a pixel and need partial opacity to look real.

PNG-24, PNG-32 and PNG-8: what the numbers mean

You will often see PNG files described with a number. The labels are informal, but they are useful:

Label What it stores Transparency
PNG-24 Red, green and blue, 8 bits each None
PNG-32 Red, green, blue and alpha, 8 bits each Full, 256 levels
PNG-8 Up to 256 colours from a palette Optional, per palette colour

A PNG-24 is a full-colour image without transparency. A PNG-32 is the same thing with an alpha channel, and it is what most people mean when they say "transparent PNG". PNG-8 uses a limited colour palette to keep files small; it can still carry transparency, which is why palette-reduced PNGs are a popular way to shrink file sizes for the web (we cover that in our guide to optimizing PNG file size).

Is PNG lossless?

Yes. PNG uses lossless compression, which means the file is made smaller without throwing away any image data. When you open the file again, every pixel is exactly as it was saved. JPEG, by contrast, is lossy: it discards detail to save space and does not support transparency at all.

Lossless compression is great for crisp graphics, text, logos and cut-outs, but it also means PNG files of large, detailed photographs can be heavy. If you are deciding between formats, our PNG vs JPG vs WebP vs SVG comparison walks through when each one is the right choice.

The checkerboard: real transparency or a fake?

Most image editors and image sites show transparent areas as a grey-and-white checkerboard. The checkerboard is not part of the image; it is just a way of showing "nothing is here".

The problem is that some images found online have that checkerboard painted into the pixels. They look transparent in a preview, but when you place them on a slide you get a solid grey-and-white square. These are sometimes called "fake PNGs".

Here are three quick ways to check a file:

  1. Place it on a dark background. Open the image in any editor, slide or design tool and put it on a dark colour. A real transparent PNG shows the dark colour around the object. A fake one shows a checkerboard or white box.
  2. Look at the file size and format. A file ending in .jpg cannot be transparent, whatever the preview shows. Make sure the file you downloaded actually ends in .png.
  3. Zoom into the edges. On a real cut-out, the checkerboard pattern behind the object stays perfectly regular as you zoom in an editor. On a fake one, the squares are part of the picture, so they blur and scale along with the image.

Every image page on pngtop shows the preview on a checkerboard and lists the real file type and dimensions, so you can judge the transparency before downloading.

Halos and fringes

Another common issue is a thin light or dark outline around a cut-out, known as a halo or fringe. It usually happens when an object was cut out from a white background and some of the white blended into the semi-transparent edge pixels. On a white page you will never notice it; on a dark background it suddenly appears.

If you see a halo, you have a few options:

  • Use the image on a background similar to the one it was cut from.
  • In an editor such as Photoshop or GIMP, shrink the selection by one pixel or use a "defringe" or "remove colour matte" tool.
  • Pick a different image that was cut out more cleanly.

Where transparent PNGs are most useful

Transparent PNGs are the everyday building blocks of visual work:

  • Presentations and documents: logos, icons and product shots that sit cleanly on coloured slides. See our guide to using transparent PNGs in PowerPoint and Google Slides.
  • Social media graphics: stickers, badges and cut-out objects layered on photos. Our Canva guide shows the full workflow.
  • Websites and apps: icons, illustrations and decorative shapes that must work on light and dark themes.
  • Print and merchandise: cut-out artwork for stickers, T-shirts and packaging mock-ups.

Quick summary

  • A transparent PNG stores an extra alpha channel that sets how see-through each pixel is.
  • Alpha supports 256 levels, so edges, shadows and glass-like effects can fade smoothly.
  • PNG is lossless, which keeps graphics crisp but can make large photos heavy.
  • Watch out for fake checkerboards and halos, and always test an image on a dark background.

Ready to try it? Browse free transparent PNG images or jump straight to popular topics like icons, flowers or food.