Skip to the content

Contact usFree tools · No signup · Files stay on your device

Image Tools

How to convert a transparent PNG to JPG with a white background

How to convert a transparent PNG to JPG with a white background

A transparent PNG is a picture with see-through parts: a logo with no box around it, a signature with no paper, a product with the background cut out. JPG cannot store transparency at all, so when a portal, a print shop or a chat app demands a JPG, the see-through parts must be replaced by a solid colour. Our free PNG to JPG converter does that in your browser and lets you choose the colour. White is the default.

Here is how to do it, what can go wrong at the edges, and when it is better to keep the PNG.

How to convert a transparent PNG to JPG with a white background

  1. Open PNG to JPG.
  2. Press Choose PNG images and pick your picture, or drop it on the page. You can add up to 50 at once.
  3. Under Convert to, leave Output format on JPG.
  4. Look at Background for transparency. It starts on white (#ffffff). Leave it alone for a white background.
  5. Leave Quality on 90% to start with. Raise it to 95% or more for a logo with fine lines.
  6. Press Convert image to JPG.
  7. Check the card. If your picture had see-through areas, it says "Transparent areas filled with #ffffff." Press Download.

The file keeps its name with a new ending: logo.png becomes logo.jpg. The size in pixels stays the same, and your original PNG is untouched.

Why JPG cannot be see-through

A PNG pixel has four values: red, green, blue and "alpha", which says how opaque it is. A JPG pixel has only the colours. When you save a transparent picture as JPG, the converter has to decide what colour to put where the alpha was.

Programs do this differently, and the surprise is usually unpleasant. Some fill with black, which turns a dark logo into a black rectangle. Others leave a white or grey background that you did not ask for. In our tool you choose: the colour in Background for transparency is painted behind the picture, and the picture is laid on top of it. Fully transparent pixels become exactly that colour. Half-transparent pixels become a mix.

Choosing the right colour

White is right for most jobs: documents, forms, e-commerce listings and anything printed on white paper. But the best colour is the one the picture will sit on.

  • White page or paper: keep #ffffff.
  • A coloured web page or slide: click the colour picker and choose the same colour as the page, so no box shows.
  • A dark theme: choose a dark colour. A logo with dark text on a transparent background will, however, become almost unreadable on dark, which is a problem with the logo, not the converter.

The picker is your browser's own colour control. In most browsers it lets you type a hex value, such as #f5f5f5 for a very light grey.

The things that go wrong at the edges

A light fringe around a cut-out

Cut-outs have soft edge pixels that are partly see-through. When they are blended with white they come out lighter than the object itself, so a thin pale outline can show, and it is most obvious if the picture is later placed on a dark page. Convert with the background colour of the final page and the outline blends in.

A shadow that turns grey

Drop shadows are made of semi-transparent black. On white they look like a normal soft shadow. On a dark background fill they nearly vanish. If you want the shadow to show, use a light background colour.

White on white

A white logo on a transparent background becomes invisible when filled with white. Use a coloured background, or keep the PNG and place it on a dark surface.

Small text and thin lines can pick up faint blotches when compressed as JPG, because JPG works in small blocks. Raise Quality to 95% or higher, or use a larger picture. Quality is shown in the slider label, for example "Quality: 95%".

How to tell if your PNG is really transparent

Many PNG files look like they have no background, but have a white one painted in. Others show a checkerboard in the preview that is actually part of the picture, which is a classic problem with images saved from search results.

The easiest test is to convert the file. If the PNG has see-through pixels, the result card shows "Transparent areas filled with #ffffff." If there is no such note, the picture was already solid, and the JPG is just a smaller version of it.

This check looks at a reduced copy of the picture, so a tiny see-through speck might not trigger the note. The fill is still applied to every pixel.

When you should not convert to JPG

If you only need a smaller file, you do not have to give up transparency:

  • Keep PNG for logos and icons that will be placed on other backgrounds. It stays sharp and transparent. If it is too big, try the Image Compressor.
  • Use WebP if your browser offers it. WebP can be transparent and is usually smaller than PNG. The PNG to JPG page lists WebP as an output format when your browser can create it, but not every upload form accepts it.
  • Make it JPG only when a form, a printer or an old program insists.

A Bangladeshi example

Imagine you run a small shop in Chattogram and have a logo as a transparent PNG. A marketplace listing form accepts only JPG product images, and a bright white background looks cleanest. Convert the logo at 95% quality with a white background and upload the JPG. If you also print the logo on a coloured flyer, keep the PNG so the flyer's colour shows through without a white box.

After converting

  • To change the pixel size of the picture, use Resize Image.
  • To bring the file under an upload limit, use the Image Compressor.
  • To go back to a PNG in the future, you can use the JPG to PNG Converter, but the background colour will stay in the picture. It will not become transparent again. Keep the original PNG file.

You can find every option on the page explained in PNG to JPG: the complete guide.

Quick checklist

  • Leave Background for transparency at #ffffff for white.
  • Match the colour to where the picture will be used.
  • Use 95% quality for logos and thin lines.
  • Look for the "Transparent areas filled with…" note on the result card.
  • Keep the PNG as your master copy.

Frequently asked questions

What happens to the transparent part of a PNG when I save it as JPG?
JPG has no transparency, so something has to fill those pixels. In our PNG to JPG tool they are filled with the colour in Background for transparency, white by default, instead of turning black.
How do I get a white background and not another colour?
Leave Background for transparency on its starting value, #ffffff. If you changed it by accident, set the picker back to white before you press Convert.
Can I use a colour other than white?
Yes. The Background for transparency picker accepts any colour. Choose the colour of the page or the document where the picture will be placed.
Why is there a light edge around my logo after converting?
The soft edge pixels of the logo were partly transparent and were blended with your background. If the logo will sit on a dark colour, convert with that dark colour as the background so the edge blends in.
Will the JPG still be transparent if I use a high quality?
No. No JPG can be transparent, whatever the quality. To keep transparency, keep the PNG or choose WebP if your browser offers it.
Is my logo uploaded when I convert it?
No. The conversion runs in your browser and the file stays on your device.
Found this useful? Share it

Tools in this guide

Main tool

PNG to JPG

Turn PNG images into smaller JPG files, up to 50 at a time.

Open tool

JPG to PNG Converter

Turn PNG into JPG, JPG into PNG, or either into WebP, for up to 50 images at once.

Open tool

Resize Image

Change the width and height of one photo or a whole batch, with presets for social media and passport photos.

Open tool

Image Compressor

Shrink JPG, PNG and WebP files for websites, email and forms — up to 50 at once.

Open tool

Back to all guides & blog