PNG to JPG Converter
Convert a PNG image to JPG in your browser. Drop a file, choose a quality level and a background colour (JPG has no transparency), then download. The file never leaves your device.
Why convert PNG to JPG?
PNG and JPG are the two formats every web user runs into daily, but they were designed for different jobs. PNG uses lossless compression and supports transparency, which makes it perfect for logos, icons, and screenshots. JPG uses lossy compression and ignores transparency, but that lossy compression cuts file size by 60β90% on photographs β at quality settings the human eye usually can't tell apart from the original. If your PNG is a photo, converting it to JPG is the single biggest performance win you can apply without changing anything else about your site.
A typical 1920Γ1080 PNG photograph weighs 3β5 MB. The same photograph as a JPG at quality 85 weighs 200β400 KB β roughly ten times smaller. On a 4G connection that's the difference between a page that loads in half a second and one that takes four. Google's Core Web Vitals β specifically Largest Contentful Paint (LCP) β punish slow image loads in ranking, so converting your hero PNGs to JPG is also a direct SEO improvement.
How this converter works
When you drop a PNG onto the tool, the browser decodes it into a hidden <canvas> element at its original resolution. Because JPG has no alpha channel, the canvas is first filled with your chosen background colour β every transparent pixel in the PNG is composited against that colour. The canvas is then re-encoded via canvas.toBlob('image/jpeg', quality), producing a fresh JPG you can download. Two important things happen here: the conversion is single-pass (no upload, no queue), and the encoder runs inside your browser, so the file is never visible to us or anyone else.
Most PNGs have a transparent or solid-coloured background, but some have semi-transparent edges (e.g. anti-aliased logos rendered over transparency). Those edges blend with your chosen background colour during conversion. Pick white for use on white pages, black for dark themes, or the actual page colour for the best edge blend.
Choosing the right quality setting
JPG quality is a number from 0 to 1 (or 0 to 100 in older tools). Higher = larger file + better visual fidelity. Below are practical anchors:
- 95β100 β visually identical to the original but only 30β50% smaller than the source PNG. Use for archival copies or when you'll edit the file again later.
- 80β90 β the sweet spot for hero images, product photos and most web use. Typically 80% smaller than the source PNG, with no artefacts most users will notice.
- 70β80 β great for thumbnails, gallery previews and below-the-fold images. Some blocking artefacts may appear in smooth gradients (skies, sunsets).
- 50β70 β noticeably worse but still usable for very small thumbnails or placeholder/blurhash backgrounds.
- Below 50 β almost always too aggressive; use only for tiny previews where artefacts won't be visible.
If you're unsure, start at 85, look at the result, and adjust by 5β10 points until you can't tell the difference. The before/after preview on this page lets you eyeball that directly.
PNG vs. JPG β at a glance
| Property | PNG | JPG |
|---|---|---|
| Compression | Lossless | Lossy |
| Transparency | Yes (8-bit alpha) | No |
| Best for | Logos, text, screenshots, icons | Photographs, large gradient images |
| Typical photo size (1080p) | 3β5 MB | 200β400 KB at quality 85 |
| Re-saving artefacts | None | Builds up with each save |
| Supported browsers | All | All |
When you should NOT convert PNG to JPG
- Anything with transparency β logos that need to sit over arbitrary backgrounds, UI icons, watermarks, cut-out subjects. JPG will replace your transparent pixels with the background colour and there's no way back.
- Screenshots of text or UI β JPG's lossy compression introduces ringing around sharp edges, which is exactly what text is. PNG-to-JPG of a screenshot almost always looks worse, even if the file is smaller. Use the PNG Compressor or PNG to WebP tools instead.
- Source files you'll edit later β every JPG save loses quality. Keep your master copy as PNG and export JPG copies only for final use.
- Images with sharp colour transitions β pixel art, charts, diagrams. JPG blurs these; PNG or WebP-lossless preserves them.
Tips for the best result
- If your image has soft, photographic edges (e.g. a portrait against a faded background), set the JPG background to a colour close to the original background β the edge blend will look more natural.
- Combine PNG-to-JPG with PNG Resizer when your source is much larger than the display size. A 4000-pixel-wide photo shrunk to 1600 pixels then saved as JPG is roughly 1/15th the file size of the original PNG.
- For dark websites, set the background to
#0f172aor your actual page colour rather than white β semi-transparent edges then blend cleanly. - If the result looks blotchy at quality 85, your source is probably already a re-saved JPG β re-saving compounds artefacts. Track down the original PNG if you can.
FAQs
Does this PNG to JPG converter upload my image?
No. The conversion happens entirely inside your browser using the HTML5 Canvas API. You can verify this in your browser's Developer Tools Network tab β no network request is made when you click Convert.
Why does my JPG have a white box where my PNG was transparent?
JPG doesn't support transparency. The converter has to flatten transparent pixels against a solid colour. Change the background colour picker if white isn't right for your page.
Is there a quality loss converting PNG to JPG?
Yes β JPG uses lossy compression. The visible loss depends on the quality setting; at 85+ it's usually invisible on photographs but obvious on text and sharp lines.
Can I convert multiple PNGs at once?
Not yet β one file at a time. Batch conversion is on the roadmap.
What's the maximum file size?
Soft limit of 50 MB. Real limit is your browser's memory β most desktops handle larger files but mobile devices may struggle past ~20 MB.
Will EXIF data be preserved?
No. The Canvas API drops all metadata when re-encoding, which is actually a privacy plus: GPS, camera serial number and other EXIF fields are stripped automatically.
Why is my JPG bigger than my PNG?
Either your source was a PNG of a logo or screenshot (PNG compresses these better than JPG can) or your quality is set to 95+. Try the PNG Compressor instead.