Convert a transparent PNG to JPG
Transparent logos and cut-out photos turn black, or get a rough fringe, when converted carelessly. The cause is one missing choice: what colour should fill the transparent areas?
What happens to transparent pixels
A PNG can have an extra channel, called alpha, that says how see-through each pixel is. JPG has no alpha channel. During conversion, each transparent pixel must be blended with a solid colour, and the result is a flat picture.
Choose the background on purpose
- White: the safe default for documents, forms, print and light websites.
- Black: for dark designs, or to see the shape of a white logo.
- Another colour: if the logo will sit on a coloured banner or slide, use that exact colour, so the edge blends in.
In the tool, the option “Background for transparent areas” does this. The default is white.
Avoiding a fringe around the edges
Smooth edges are made of partly transparent pixels. If you convert onto white and then place the JPG on a dark background, you see a thin pale ring. Fix this by converting onto the same colour you will use afterwards. For something that will go on several backgrounds, keep the PNG.
Make it look good at the end
- Convert at a high quality setting, around 90, since sharp edges show JPG artefacts quickly.
- Check the result zoomed in on the edges and on any text.
- If you will shrink it, resize first and then convert, so the edge isn’t softened twice.
When not to convert
If the image is a logo or icon used on a website, a PNG or SVG is almost always the better answer. Convert to JPG only when a system demands it, such as a form, a print service or an old email client. The reasons behind the choice are explained in PNG or JPG.
Convert PNG to JPG with a background
Drop your PNG photos here
or
You can also paste an image with Ctrl+V.
Converted on this device. Nothing is uploaded.
Frequently asked questions
Why does my transparent PNG turn black?
JPG has no transparency, so the converter has to fill those pixels with something. Some tools use black by default. Choose white or another colour instead.
Can I keep the transparency in a JPG?
No. If you need a transparent background, keep the file as PNG, or use WebP, which supports it.
What causes the white fringe around my logo?
Soft edges are partly transparent. When blended with a background colour that differs from the one the logo was designed for, a fringe appears. Match the background to where the image will be used.
Does the background colour change the picture itself?
Only the transparent areas. Everything else is copied as it is.
Learn more
- How to reduce an image's file size without ruining itA form says "max 200 KB" and your photo is 4 MB? What makes images big, the right order of steps, and the sizes that work for common uploads.
- Why does the form reject my photo?A form says your photo is too large or the wrong type even though it looks fine. The usual causes, from KB versus KiB to HEIC, pixel limits and file names.
- How to get a photo under 100 KBApplication forms and ID portals often cap photos at 100 KB. What size in pixels works, how quality and dimensions trade off, and how to get there in one step.
- PNG or JPG: which should you use?PNG and JPG are not interchangeable. Where each one wins on quality, file size and transparency, and how to choose for photos, screenshots, logos and forms.