Which image formats preserve transparent pixels
PNG is the dependable working format for logos, screenshots, diagrams, and cut-outs. WebP can keep alpha with a smaller delivery file when the destination supports it.
Why JPG flattens a transparent background
JPG cannot represent transparent pixels. The browser composites them onto the background colour you choose, so a white matte is not the same as preserving a cut-out.
How to check transparent edges after conversion
Open the output over a contrasting background or at full size. Halos, clipped shadows, and an unwanted white rectangle usually mean the destination or output format was chosen without checking alpha.
Do this next
How to convert an image without losing transparency
-
Confirm that the source really has alpha
View the image over a contrasting background; a white-looking area may already be baked into the source.
-
Choose an alpha-capable output
Select PNG for a dependable working copy or WebP when the destination accepts WebP and smaller delivery matters.
-
Flatten only on purpose
If JPG is required, choose a matte colour that fits the destination instead of expecting transparent pixels to remain.
-
Inspect soft edges
Check hair, shadows, antialiasing, and semi-transparent pixels over both light and dark backgrounds.
Troubleshooting
Common transparency conversion mistakes
- Exporting a cut-out as JPG
- Use PNG or WebP, or choose a background colour and accept that the result is no longer transparent.
- Confusing a white background with transparency
- Test the file over a dark or checkerboard background before delivery.
- Ignoring the receiving app
- Confirm that the app preserves alpha; some forms display or flatten it even when the file supports it.
Quick checklist
- Choose PNG or WebP for transparency.
- Pick a matte colour for JPG.
- Inspect soft edges and shadows.
- Test the file in the receiving application.
Questions people ask before exporting
How to Convert an Image Without Losing Transparency FAQ
Can JPG keep a transparent background?
No. JPG cannot represent alpha, so transparent areas must be flattened onto a colour.
Is PNG or WebP better for a transparent image?
PNG is a dependable compatibility choice; WebP may be smaller when the destination supports WebP.
Why does a transparent edge have a white halo?
The source or export may have been composited against white, or the edge pixels may be unsuitable for the destination background.
Read the primary documentation
Official sources for this image decision
Put the answer into practice
Try Convert Image
Use the decision above with a copy of your own image. The tool runs in this browser and leaves the original file unchanged.
Open Convert Image