Convert PNG images to JPG right in your browser. Pick a background color to fill transparent areas, adjust the quality slider, and compare before/after file size — all client-side.
Drag and drop a PNG image here, or click below to browse.
PNG (Portable Network Graphics) is a lossless format, meaning every pixel of your original image is preserved exactly with no information discarded — ideal for screenshots, logos, diagrams, and any graphic with sharp edges, flat colors, or transparency. This losslessness comes at a cost: PNG files for photographic, detail-rich content are often substantially larger than an equivalent-quality JPG, since PNG's compression can't exploit the kind of perceptual redundancy that lossy compression targets.
JPG (or JPEG) uses lossy compression specifically tuned for photographic content, discarding the color and detail information human vision is least sensitive to in exchange for dramatically smaller files. It has no support for transparency at all — every pixel is fully opaque — which is precisely why converting a PNG with transparent areas to JPG requires deciding what color those transparent pixels become, since JPG simply has no mechanism to represent 'no color here.'
A PNG's alpha channel stores, per pixel, how transparent or opaque that pixel is — a value of fully transparent means 'show whatever is behind this pixel,' which only makes sense in a context (a web page, a design tool's canvas) that actually has something behind the image to show through. JPG's pixel format has no equivalent concept; every pixel is simply a solid RGB color with no transparency information at all. When converting, those transparent (or partially transparent) pixels have to become an actual, specific color, and the correct choice entirely depends on where the final JPG will be used.
White is the safest default for images destined for typical web pages and documents, since white is by far the most common background color online. If your PNG will be placed on a colored background — a specific brand color, a dark theme's background — matching that exact color for the fill prevents an obvious visible seam or mismatched edge around what used to be a transparent area. This tool's color picker lets you choose and preview that fill color directly, rather than guessing and re-exporting repeatedly.
This tool draws your PNG onto an in-memory HTML canvas that's first filled entirely with your chosen background color, then draws your PNG on top of that fill using the browser's standard alpha compositing — meaning any fully-transparent pixels in your PNG let the background color fill show through completely, partially-transparent pixels blend proportionally between the background color and the PNG's own pixel color, and fully-opaque pixels display exactly as they did in the original, unaffected by the background fill underneath. Once composited, the canvas is exported as a JPG at your chosen quality using the browser's built-in JPEG encoder.
This compositing step happens before any lossy compression is applied, so the background color becomes a genuine, permanent part of the image's pixel data — there's no way to later 'remove' that background fill from the resulting JPG, since as far as the JPG format and any application opening it is concerned, those pixels are just an ordinary part of the image now, indistinguishable from pixels that were always opaque in the source.
Converting makes the most sense for photographic or photo-like content that happens to be saved as PNG — a photo exported from an editing tool that defaulted to PNG, or a screenshot of a photo-heavy page — where JPG's lossy compression will produce a meaningfully smaller file with little to no perceptible quality loss at a sensible quality setting. It's also useful whenever a destination system specifically requires or strongly prefers JPG (some upload forms, certain print workflows, older systems with format restrictions).
It's worth reconsidering conversion for PNGs that are genuinely graphics rather than photos — logos, icons, screenshots of text or UI, diagrams with flat colors and sharp edges — since JPG's lossy compression tends to introduce visible artifacts (blurring around sharp edges, subtle color banding) on exactly this kind of content, sometimes while barely reducing file size compared to an already-efficient PNG. And obviously, skip conversion entirely for any PNG whose transparency needs to be preserved for its intended use, like a logo meant to sit on top of varying background colors — converting that to JPG permanently bakes in a single background color, which defeats the purpose of having transparency in the first place.
PNG to JPG Converter is one direction of image format conversion. These related image tools cover the reverse conversion and other common image preparation tasks.