Skip to content

Why Does JPG Remove Transparency? – PNG to JPG Explained

JPG doesn't support an alpha channel. When converting PNG to JPG, transparent areas are replaced with a solid background color. Here's why and what to do.

Updated PixelConvertor

Quick Answer

JPG was designed for photographs and has no alpha channel for transparency. When you convert a PNG with transparency to JPG, the transparent areas are filled with a solid background color (white by default). This is a limit of the JPG format itself.

How to Fix It

If you need transparency, keep the image as PNG or convert it to WebP. Both formats support full alpha-channel transparency, including partial transparency.

If you need a JPG, choose a background color that matches where the image will be placed. Our converter lets you pick the background color before converting.

Why JPG Doesn't Support Transparency

The JPG format (JPEG) was created in 1992 to compress continuous-tone photographic images. It was designed for small photo files, using lossy compression that removes data the eye barely notices, and it was kept simple enough for the computing hardware of the 1990s.

Transparency wasn't a design goal, because photographs have no transparent areas. Every pixel in a photograph has a color, so an alpha channel (transparency layer) would take up storage space without helping the format's main use.

What Happens During PNG to JPG Conversion

When a PNG with transparency is converted to JPG, the converter has to decide what color to put in the transparent areas. The process works like this:

  1. Read the PNG, where each pixel has RGB values and an alpha (transparency) value
  2. Flatten the image, replacing transparent pixels with the chosen background color
  3. Apply JPG compression and save the flattened image as JPG

After that, the transparency information is gone for good. Converting the JPG back to PNG won't restore it, because the transparent areas are now solid pixels.

Formats That Support Transparency

FormatTransparency TypeBest For
PNGFull alpha (8-bit)Universal compatibility, editing
WebPFull alpha (8-bit)Web images, small file size
AVIFFull alpha (8-bit)Maximum compression
GIFBinary (1-bit)Simple animations, legacy
SVGFull alphaVector graphics, logos
JPGNonePhotographs only

Try It Now

Convert between formats and manage transparency in your browser, with no software to install and no uploads to a server.

Convert Your Images

Frequently Asked Questions

Can I make a JPG transparent?

No. The JPG format does not support any kind of transparency, full or partial. If you need transparency, use PNG, WebP, or AVIF instead. You can convert JPG back to PNG, but the transparent areas that were lost during the original conversion cannot be recovered.

What color replaces transparency when converting PNG to JPG?

By default, transparent areas are replaced with white. Our converter also lets you choose black or any custom color instead. Choose a color that matches where the image will be displayed for the most natural-looking result.

How do I keep transparency when sharing photos?

Use PNG or WebP instead of JPG. Both formats support full alpha-channel transparency. PNG has universal compatibility, while WebP offers smaller file sizes. If the platform you're sharing on only accepts JPG, the transparency will be lost regardless of the format you start with.

Why was JPG designed without transparency support?

JPG was created in 1992 by the Joint Photographic Experts Group specifically for compressing photographic images. Photographs don't have transparency, so it wasn't a design priority. The format was optimized for continuous-tone images (gradients, natural scenes) rather than graphics with hard edges and transparency.