Why transparent images lose transparency as JPG
Learn why JPG turns transparent areas solid, which formats keep them clear, and how to convert an image without flattening its background.
You save a logo or picture with a transparent background as a JPG, then find a white or colored rectangle behind it. That is expected: JPG does not support transparency, so the transparent parts have to become solid when the image is saved in that format.
To keep the background see-through, convert the original file to a format that supports transparency instead. The Image Converter can convert images in your browser to PNG or WebP, formats that can preserve transparent areas.
Convert the image without losing transparency
- Open the Image Converter and add the original transparent image. Use the original file if you still have it, not a JPG copy that has already been flattened.
- Choose PNG or WEBP as the output format. Do not choose JPG if the background must remain transparent.
- Convert the image and save the result to your device. If you have several images, the converter can handle up to 50 at once.
- Open the converted file in an app that shows transparency, often as a checkerboard pattern. Place it over a dark or colored background if you want to confirm the background is see-through.
A checkerboard can be part of an image, but in many editing apps it is only a preview for transparent pixels. To check the actual file, open it in an editor and put a colored layer underneath, or place it on a page with a colored background. If the color shows through, transparency is intact.
Choose a format that fits the image
Use PNG for logos, icons, and sharp artwork
PNG supports transparency and keeps image details crisp. It is a dependable choice for logos, screenshots, interface icons, and graphics with text or hard edges. PNG files can be larger than JPG files, especially for photos, but that size tradeoff is often worthwhile when the transparent background matters.
Use WebP for a smaller image that still needs transparency
WebP supports transparent pixels and can make a smaller file than PNG. It is useful for websites and other places that accept WebP. Check that the app or service where you plan to use the image supports it before converting.
Use JPG only when you want a solid background
JPG is a common choice for photographs because it can create smaller files. It cannot store transparent pixels. When a transparent image is saved as JPG, the export process fills those pixels with a solid color, often white, but the color depends on the app. You can choose a background color before saving in some apps, but it will not be transparent.
Use GIF only for simple transparency needs
GIF can mark a pixel as transparent, but it cannot represent partial transparency the way PNG and WebP can. Its limited color palette can also make photos and smooth edges look rough. For most new transparent images, PNG or WebP is a better choice.
How to fix a JPG with a solid background
- Go back to the original file. If you converted a PNG or WebP to JPG, find that original and convert it to PNG or WebP instead. The original may still have all its transparent pixels.
- Check whether the background is really solid. Some image viewers show transparency as white, so white alone does not prove the background was flattened. Open the file in an editor and place a colored layer behind it to check.
- Repeat the conversion with a transparency-supporting format. In the Image Converter, select PNG or WebP for the output. Check the saved file, not only the preview, before replacing the original.
- Look for an export setting that adds a background. Some apps let you choose a background color or flatten layers during export. Turn off flattening or choose a transparent background, then export as PNG or WebP.
- Recover the background if you only have the JPG. A JPG no longer contains the original transparent pixels. Find another copy, ask the person who sent it for the source file, or remove the solid background manually in an image editor. Edges may need cleanup, especially around hair, shadows, or soft details.
Why converting the JPG back does not restore transparency
Changing a JPG into PNG changes the file format, not the information inside the image. If the JPG already has a white rectangle behind the logo, that white is now part of the image. Saving it as PNG will keep that white rectangle; it cannot know which white pixels used to be transparent.
For future exports, keep a copy of the original transparent file and make a separate JPG only when you need a solid background. The Image Converter runs in your browser, and the images you open and convert stay on your device.
