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

  1. Convert at a high quality setting, around 90, since sharp edges show JPG artefacts quickly.
  2. Check the result zoomed in on the edges and on any text.
  3. 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.

90

90 is a good balance of sharpness and file size.

Background for transparent areas

JPG can't store transparency, so transparent areas are filled with this colour.

Photo details (EXIF)

See what else your photos contain

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