Transparency is one of those image features that's easy to take for granted until it suddenly doesn't work — a logo that's supposed to sit cleanly on a colored background instead shows up with a jarring white box around it. Understanding how transparency actually works, and which formats support it, prevents this exact problem.

How transparency actually works

A transparent image stores an extra piece of information for every pixel, beyond just its color: an alpha value, which controls how see-through that specific pixel is, ranging from fully opaque to fully transparent, with partial transparency possible in between (useful for soft, feathered edges rather than a hard cutout line). Wherever a pixel's alpha value indicates transparency, whatever is behind the image — a webpage's background color, another image layered underneath — shows through instead.

Which common formats support transparency

  • PNG — full transparency support, including partial (soft-edged) transparency; the most common choice for this need.
  • WebP — full transparency support in both lossy and lossless modes.
  • GIF — supports transparency, but only fully on or fully off per pixel, no partial/soft transparency, which can produce a jagged, hard-edged look.
  • SVG — as a vector format, supports transparency inherently, since shapes are simply drawn (or not drawn) at any given point.
  • JPEG — does not support transparency at all, under any circumstances.

The classic "white box" problem

The most common transparency-related mistake is saving an image intended to have a transparent background as JPEG, which simply can't represent transparency — the transparent areas get filled with a solid color (usually white) instead, producing the visible box or halo effect around a logo or cutout that was supposed to blend seamlessly into its background. The fix is straightforward once the cause is understood: re-export the image as PNG or WebP from a source file that still has the transparency information intact.

A tip for checking transparency before using an image

Most image editing software displays transparent areas using a grey-and-white checkerboard pattern in the editing view, which is the universal visual convention for "this area is transparent" across nearly every image tool. Viewing an image against a checkerboard background (or against a couple of different colored backgrounds) before using it confirms whether transparency is actually present and behaving as expected, rather than discovering a white box problem only after publishing.

Partial transparency vs full transparency, visually

Partial transparency — where a pixel is, say, 50% see-through rather than fully opaque or fully invisible — is what makes soft, feathered edges (like a drop shadow fading to nothing, or hair strands blending into a background) look natural rather than jagged. This is specifically where PNG and WebP's graduated transparency support meaningfully outperforms GIF's strictly on-or-off transparency, which forces every edge into a hard, binary cutout regardless of what the original image content actually called for.

Try the image tool yourself — free, instant, no upload to any server.

Open the tool

Frequently asked questions

Why did my transparent PNG logo show up with a white background after I saved it somewhere?

This almost always means the file got converted to JPEG at some point in the process, since JPEG doesn't support transparency and fills transparent areas with a solid color instead. Re-exporting as PNG or WebP from a source that still has transparency intact fixes it.

Does GIF support the same quality of transparency as PNG?

No. GIF transparency is all-or-nothing per pixel, with no soft or partially transparent edges, while PNG supports full graduated transparency, which produces a much cleaner, less jagged result for anything with soft or anti-aliased edges.

What does the checkerboard pattern in image editors actually mean?

It's the standard visual convention most image editing software uses to represent transparent areas, since there's no color that could otherwise indicate "nothing is here" — it's a display convention, not part of the actual image data. Getting comfortable spotting the checkerboard pattern, and knowing what it actually represents, is a small but genuinely useful skill for anyone regularly working with logos, icons, or any graphic meant to sit cleanly over a varied background. It saves a specific kind of embarrassing surprise: publishing a graphic that looks perfect in an editor's checkered preview, only to discover a solid white box around it once it's actually live somewhere else.