Convert PNG to JPG in your browser
This tool converts PNG images to JPG/JPEG entirely in your browser, with a quality slider and a background colour for transparent areas. It’s ideal for shrinking large PNG screenshots and exports, or meeting a JPG-only upload requirement — all without uploading your files.
How it works
Each PNG is decoded and drawn onto an HTML <canvas>. Because JPG has no alpha
channel, the canvas is first filled with your chosen background colour (white
by default), then the image is drawn on top, so transparent pixels become solid.
The canvas is re-encoded with canvas.toBlob("image/jpeg", quality) at the
quality you set. Each result shows the original and new file size.
Example
A 2.1 MB screenshot.png at 90% quality typically becomes a ~280 KB
screenshot.jpg — roughly −87% — visually indistinguishable at normal
viewing size. A transparent logo.png exported at the same settings lands on a
white box unless you change the background colour first.
| Quality | Look | Relative size |
|---|---|---|
| 100% | Near-identical | Largest JPG |
| 90% (default) | Imperceptible loss | Much smaller than PNG |
| 70% | Mild softening on edges/text | Smallest |
Everything happens locally — your images are never uploaded, stored, or seen by anyone.