PNG to JPG Converter

Flatten a PNG onto a solid background colour and save it as a JPG, right in your browser.

Drop a PNG here or browse

Transparency is flattened onto the colour you choose, then saved as JPG. The file never leaves your device.

PNG is lossless and can hold transparency; JPG is lossy and always opaque. Converting from one to the other therefore does two things at once: it composites your image over a solid background colour you choose, then re-encodes it as a JPEG at the quality you set. Both steps happen on an HTML canvas in your own browser, so the picture is never uploaded.

Transparency has to go somewhere

A JPG has no alpha channel, so every transparent or semi-transparent pixel must be painted onto a solid colour before it can be saved. This converter composites your PNG over the matte colour you pick with the background swatch — white by default. Choose a colour that matches wherever the image will end up: the classic mistake is leaving the matte at a value that clashes with the page and getting a visible rectangle or a dark halo around a cut-out. Soft, semi-transparent edges blend toward the matte colour, so a logo made for a white page will fringe oddly if you flatten it onto black.

Quality, and when JPG is the wrong choice

The quality slider (10–100, default 90) trades file size against fidelity. JPG is built for photographs, where it is dramatically smaller than PNG at near-identical quality. It is a poor fit for screenshots, logos, icons, text and line art: JPG compresses in 8×8 blocks and smears sharp edges into visible ringing, the halo often called “mosquito noise”. For flat-colour graphics the JPG can end up both larger and worse-looking than the PNG you started with, so those are better left as PNG.

Converting is a one-way trip

Flattening is permanent. Once the transparency is composited onto the matte colour and the file is written as JPG, the alpha channel is gone and cannot be pulled back out of the JPG, and the lossy encode cannot be undone either. If there is any chance you will need the transparency or the original detail again, keep the source PNG and treat the JPG as a disposable export.

Frequently Asked Questions

Why did the transparent area turn a solid colour?

Because JPG cannot store transparency. Transparent pixels are filled with the matte colour before encoding — white by default here. Use the background colour swatch to set it to whatever matches where the image will be placed.

What JPEG quality should I choose?

90 is a safe default. Around 80–90 keeps photos crisp while cutting the file size noticeably. Below roughly 70 you start to see blocky artefacts in smooth gradients and along edges.

Should I convert a screenshot, logo or icon to JPG?

Usually no. JPG blurs the sharp edges and text in graphics and can even produce a larger file than the PNG for flat-colour art. PNG is the better format for screenshots, logos and line art.

Can I recover the transparency later?

No. Once the image is flattened onto the matte colour and saved as JPG, the alpha channel is gone for good. Keep the original PNG if you may need transparency again.