How to convert PNG to JPG
- Choose a PNG file, drop it onto the page or paste it from the clipboard. WebP, GIF and BMP files work as well: anything your browser can open is saved as a JPG.
- Set the JPEG quality. The default of 90 keeps photos virtually indistinguishable from the original; 80–85 gives a smaller file.
- Choose a background color if your PNG has transparent areas. White is the default.
- Click Convert to JPG, compare the two file sizes, and click Download JPG. The new file keeps the original name with a
.jpgextension.
Why convert a PNG to JPG?
PNG stores every pixel exactly, which is ideal for screenshots, logos and diagrams but wasteful for photographs. The random texture in a photo is hard to compress without loss, so a photo saved as PNG is often several times larger than a good-quality JPG of the same picture. Typical situations where converting pays off:
- Photos that ended up as PNG because they came from a screenshot tool, a design app or an AI image generator.
- Upload forms, older software and printing services that accept only JPG or JPEG files.
- Images you want to email or message without sending several megabytes per picture.
- Web pages where a heavy PNG photo slows down loading.
How the conversion works
The converter first fills a canvas of the same size as your image with the background color you picked, then draws the PNG on top of it and encodes the result as JPEG at your chosen quality using the browser’s canvas.toBlob() function. Filling the background first matters: JPEG has no alpha channel, and without a fill, transparent pixels usually come out black. Semi-transparent pixels, such as the soft anti-aliased edge of a logo or a drop shadow, are blended with the background color. For the cleanest result, choose the color the image will sit on, for example the background color of your website or document.
The dimensions do not change. Metadata stored in the PNG, such as text chunks or an embedded color profile, is not copied to the JPG, and nothing is uploaded at any point.
When you should keep the PNG
- Logos and icons that need transparency. A JPG always has a solid background. If the image must sit on different backgrounds, keep it as PNG, or use Compress Image to make a WebP, which keeps transparency and is usually much smaller.
- Screenshots, diagrams and text. JPEG compression creates faint halos and smudges around sharp edges and small lettering. Flat-color graphics are often smaller as PNG anyway. Convert, compare the sizes shown under the preview, and keep whichever works better.
- Master copies you will edit again. Every JPEG save loses a little more detail. Keep the PNG as your working file and export a JPG only for sharing.
Picking a JPEG quality
For photographs, 80–90 is the usual sweet spot: files are much smaller than PNG and the loss is hard to see. Values below 70 start to show blocky patches in smooth areas such as skies and skin. If you must convert a graphic with text to JPG, use 90–95 to keep the edges clean. Look at the preview at full size before you download; the percentage shown under the JPG tells you how much you saved.
Limitations
- One file at a time.
- Animated PNG (APNG) and animated GIF files keep only their first frame.
- The background is a single solid color; gradients or patterns are not supported.
- Very large images can exceed the canvas memory of some mobile browsers.
Frequently asked questions
Why did the transparent background turn white?
JPG cannot store transparency, so transparent pixels have to be replaced by a solid color. The converter uses the background color you choose, white by default. Keep the PNG, or convert to WebP, if you need transparency.
Is converting PNG to JPG lossless?
No. JPEG is a lossy format. At quality 90 the difference is very hard to see in photos, but sharp text and thin lines can show slight blurring or halos.
Will the JPG always be smaller than the PNG?
For photos it is usually much smaller. For simple graphics with a few flat colors, a PNG can be smaller than the JPG. The tool shows both sizes, so you can keep whichever file is better.
Can I convert WebP, GIF or BMP to JPG here?
Yes. Any image your browser can open is converted to JPG. Animated files keep only their first frame.
Does the conversion change the resolution?
No. The JPG has exactly the same width and height in pixels as the original image.
Is my image uploaded anywhere?
No. The conversion runs in your browser with the Canvas API and the file never leaves your device.
Related tools
JPG to PNG
Save a JPG as a lossless PNG so that further edits do not add new compression damage.
Compress Image
Reduce JPG, PNG or WebP file size by re-encoding at the quality you choose, with a before-and-after comparison.
Resize Image
Change width and height in pixels or by percentage, with an aspect-ratio lock and smooth downscaling.
Related guides
- JPG vs PNG vs WebP: How to Choose the Right Image Format – How each format stores pixels, where each one wins, what transparency and browser support mean in practice, and a five-question checklist for picking the right format.