Why PNG transparency disappears when converting to JPG
Understand alpha channels, white backgrounds and soft edges in PNG-to-JPG exports.
Reviewed by HSQ Tools ·
JPG needs a color for every pixel
Transparent pixels describe how an image mixes with the background behind it. JPG has no alpha channel, so an exporter must choose a background color. HSQ places white behind transparent pixels before encoding the JPG.
A checkerboard in a preview is usually the viewer showing transparency, not actual squares in the file. If the squares remain in the JPG, they may already have been baked into the source image.
Soft edges change too
Partly transparent edge pixels mix with white during flattening. A cutout used later on a dark background can show a pale fringe. Simply removing the white background afterward cannot reliably recover the original alpha values.
Example: a transparent circular logo on a blue card has blue visible around its curve. After JPG conversion, its rectangular image bounds are white. Use the committed PNG-to-JPG sample on the tool page to inspect this effect.
Choose the intended background before export
Keep PNG or use an alpha-capable WebP when the destination supports transparency. If a platform requires JPG, prepare the image against the background it will actually use. Image Converter flattens transparent pixels onto white for JPG; it does not expose a custom background selector.
The Image Editor offers background composition and export controls in the browser. Check the exported file on the intended page color, especially around hair and antialiased text. Keep the transparent original so another background can be created later.
Check the edge as well as the background
Use a PNG with a soft shadow as a test. Convert it to JPG and place the output over a colored page: the white background and white-blended edge will become visible. That is the expected result of this converter, not an upload failure.
If you need the colored page to show through, return to the transparent original and export PNG or WebP instead. Converting the flattened JPG back to PNG cannot reconstruct the original alpha channel.
