PNG to JPG Converter
Convert a PNG image to a JPG file entirely in your browser. Because JPEG cannot store transparency, you pick the background color that fills any transparent areas (white by default), so logos and screenshots come out clean instead of with a black box. Adjust the quality, see the before and after file size, and download — nothing is ever uploaded.
What is the PNG to JPG converter?
This is a free, browser-based tool that converts a PNG image into a JPG file. PNG is a lossless format that supports transparency, which makes it great for logos, icons, and screenshots — but those same qualities make PNG files large and, because of the transparency, awkward to use where a plain photo-style image is expected. Converting PNG to JPG solves both problems: it produces a smaller, universally-accepted JPEG, and it lets you choose the solid background color that replaces the transparent areas. Everything happens on your device, so the image is never uploaded.
How to use it
- Add your PNG — click to choose a file, drag and drop it onto the drop zone, or paste with Ctrl+V (Cmd+V on Mac).
- Pick the background color that should fill any transparent areas (white is selected by default).
- Drag the quality slider to balance file size against detail.
- Check the before/after size readout, then click Download to save your
.jpg.
Why transparency must become a background
The single most important thing about converting PNG to JPG is transparency. PNG stores an alpha channel, so a pixel can be fully visible, fully invisible, or anything in between. JPEG has no alpha channel at all — every JPEG pixel is opaque. That means transparency cannot survive the conversion; it has to be replaced by something.
When a tool ignores this, the browser fills transparent areas with black, and a clean logo on a
transparent background suddenly has an ugly black box around it. This tool does it properly: it
paints your chosen background color onto a Canvas first, then draws the PNG on top, flattening
the transparency onto a solid color. Then it calls the Canvas toBlob method with
image/jpeg and your chosen quality to produce the final file. Because you control
the background color, a logo meant for a white page comes out on white, and a graphic meant for
a dark theme can be flattened onto black or any custom color you pick.
The size and quality tradeoff
JPEG uses lossy compression that is extremely efficient for photographs and detailed images, so a heavy PNG often becomes a far smaller JPG. The quality slider controls how aggressively JPEG compresses: higher quality keeps more detail but produces a larger file; lower quality saves space at the cost of softer edges and some blockiness. The live before/after readout shows the exact size change so you can pick the smallest file that still looks right. As a rule of thumb, keep quality high for anything with text or sharp graphics, and feel free to lower it for ordinary photos where the difference is hard to notice.
Common use cases
- Shrinking oversized PNG screenshots so they email, upload, or attach within size limits.
- Preparing a transparent logo for a context that needs a plain image — some forums, marketplaces, print templates, and older apps reject transparency.
- Converting design exports to JPG for clients or platforms that only accept JPEG.
- Reducing the weight of image-heavy pages or documents where small file size matters more than perfect edges.
Privacy by design
Many online converters upload your file to their server first. This one does not. The PNG is decoded, flattened, and re-encoded in JavaScript on your device with the Canvas API, so it never leaves your browser. That means you can safely convert private screenshots, internal logos, signed documents, or client mockups without sending them to a third party. Close the tab and nothing remains.
It is part of a small image toolkit. To go the other way, use the JPG to PNG converter; to make any image smaller without changing format, try the Image Compressor; to change dimensions, use the Image Resizer; and to inline an image as a data URI, reach for Image to Base64.
Frequently asked questions
Why does my PNG need a background color when converting to JPG?
JPEG has no transparency channel, so every pixel must be opaque. If your PNG has transparent areas, they have to be filled with a solid color before encoding. This tool flattens the image onto the background color you choose (white by default), so you avoid the black areas that appear when transparency is dropped without a background.
Will converting to JPG reduce the file size?
Usually, yes. JPEG uses lossy compression that is very efficient for photos and detailed images, so a large PNG often becomes a much smaller JPG. The before/after size readout shows you the exact change, and the quality slider lets you trade a little detail for an even smaller file.
Is my image uploaded to a server?
No. The PNG is decoded, flattened, and re-encoded entirely in your browser using the Canvas API. Nothing is sent to a server, stored, or logged, so private screenshots, logos, and documents never leave your device.
Does JPG quality lose detail compared to the PNG?
JPEG is lossy, so some fine detail and sharp edges (especially text and flat-color graphics) can soften slightly. For photos the difference is hard to see at high quality. Keep quality near the top of the slider for the best result, or use a PNG when you need pixel-perfect graphics.