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:
- Read the PNG, where each pixel has RGB values and an alpha (transparency) value
- Flatten the image, replacing transparent pixels with the chosen background color
- 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
| Format | Transparency Type | Best For |
|---|---|---|
| PNG | Full alpha (8-bit) | Universal compatibility, editing |
| WebP | Full alpha (8-bit) | Web images, small file size |
| AVIF | Full alpha (8-bit) | Maximum compression |
| GIF | Binary (1-bit) | Simple animations, legacy |
| SVG | Full alpha | Vector graphics, logos |
| JPG | None | Photographs only |
Try It Now
Convert between formats and manage transparency in your browser, with no software to install and no uploads to a server.