Free images tool

Turn a PNG or WebP into a JPG, with the background color you choose

For forms, marketplaces, email systems and older software that accept only JPEG. Your browser paints a background, draws your image over it and encodes a JPG at the quality you set; the source file is neither changed nor uploaded.

Background color picker for transparencyJPEG quality slider, 45 to 100Accepts PNG and WebP input
PNG to JPG

Choose a PNG or WebP, pick the color that fills transparent areas and the JPG quality, then convert. The JPG appears in a download card below.

Runs on your device
Choose a file or drop it herePNG or WebP

What the PNG to JPG does

JPEG cannot store transparency, so converting a PNG with a clear background means deciding what goes behind it. This tool shows a color picker, set to white by default, and fills the whole canvas with that color before drawing your image on top. A logo on a transparent background therefore arrives as a logo on white, or on whatever brand or page color you chose.

The quality slider runs from 45 to 100 and starts at 90. The value is handed to the browser's JPEG encoder as a number between 0 and 1. Higher values keep more detail and produce larger files; lower values shrink the file and introduce the blockiness and ringing JPEG is known for, first around text and sharp edges.

The converter accepts PNG and WebP files, keeps the exact pixel width and height, and names the download after the source with a .jpg extension. A message reports the size before and after, which is useful because flat graphics are sometimes smaller as PNG than as JPG.

How to use it

Choose a PNG or WebP

Select the file from your device. The picker is limited to image/png and image/webp for this tool.

Set the background and quality

Pick the color that should replace transparent pixels and move the quality slider between 45 and 100. The default of 90 suits most uses.

Convert and download

Press Convert. The browser fills the canvas, draws the image and encodes the JPEG; a download card shows the file with the same name and a .jpg extension, and Download saves it.

Choosing the background color

White is the safe choice for documents, marketplaces and most websites with light pages. If the JPG will sit on a dark page or a colored banner, match that color exactly so the rectangle around a logo does not show. The picker accepts any color; type a hex value such as #0f172a into the browser's color dialog when you need a precise match.

Semi-transparent pixels, for example the soft edge of a drop shadow or anti-aliased text, are blended with the background color rather than cut off. Choosing a color close to the final page color keeps those edges looking natural instead of leaving a pale fringe.

Picking a JPEG quality

At 90 to 100 the file is large and the picture is close to the source; at the low end of the slider the file is much smaller and compression becomes visible in flat gradients and around lettering. Photographs tolerate lower values better than screenshots or diagrams, because JPEG was designed around continuous-tone images.

Quality 100 still goes through lossy JPEG encoding and is not identical to the PNG. If you need an exact copy, stay with PNG; if you need a small file and can accept WebP, the PNG to WebP converter usually gives a smaller result at a similar look and keeps transparency as well.

Graphics versus photographs: when JPG is the wrong choice

PNG stores flat areas, hard edges and limited palettes very efficiently. A screenshot, icon or chart converted to JPG often grows in size and gains halo artifacts around text at the same time. Convert such images only when a system refuses PNG, and keep the quality high.

Photographs and scanned images are where JPG wins. A photo exported as PNG is usually far larger than the same photo as JPEG at quality 90, with no visible difference at normal viewing size. Compare the two sizes in the message after conversion and keep whichever file suits the destination.

Limits to know before you rely on it

  • Transparency is lost; every transparent or semi-transparent pixel is blended with the chosen background color.
  • Even at quality 100 the JPEG is lossy and not pixel-identical to the PNG.
  • Flat graphics, icons and screenshots can come out larger as JPG than they were as PNG.
  • An animated WebP produces a single JPG of the first frame the browser decodes.
  • EXIF and other metadata are not carried into the JPG.
  • Very large images can exceed browser memory and fail with a short error instead of a file.

Questions people ask about the PNG to JPG

Can the JPG keep a transparent background?

No. The JPEG format has no alpha channel, so transparency has to become a solid color. Pick that color before converting; it fills the whole canvas behind the image. If you need transparency, keep the PNG or convert to WebP instead.

What quality setting should I use?

Leave the default of 90 for photos and product shots; it keeps detail without the largest files. Move toward 100 for images with text or thin lines, and only go below 75 when a file-size limit forces you and you have checked the result at full size.

Does the conversion change the width or height?

No. The canvas is created at the image's natural width and height and the image is drawn at that exact size. Use the Image Resizer first if you also need smaller dimensions.

Why is the JPG bigger than my PNG?

Your PNG probably contains flat color, text or a small palette, all of which PNG compresses extremely well. JPEG spends bits describing the sharp edges in such images and cannot match it. For photographs the relationship reverses and the JPG is usually much smaller.

Can I convert a WebP to JPG with this tool?

Yes. The picker accepts image/webp alongside image/png, and the same background fill and quality slider apply. Transparent WebP areas are filled with the chosen color; for an animated WebP only the first frame is converted.

Does my image get uploaded?

No. The file is opened with a temporary browser URL, drawn on an in-page canvas and encoded by the browser with HTMLCanvasElement.toBlob. The site never receives the image and stores nothing.

Sources and further reading