PNG to JPG
This PNG to JPG converter turns PNG images into JPG files in your browser. JPG cannot be transparent, so see-through areas are filled with a colour you choose (white by default), and photos usually come out much smaller.
Processed on your device. Nothing is uploaded.
Drop PNG files here, or choose them from your device
You can drag, paste (Ctrl+V) or choose several at once. Free limit: 20 pictures per batch. Files stay on your device.
How to use PNG to JPG
- Choose your PNG files, or drop them on the box.
- Pick a quality. 90 is a good start.
- Check the background colour. It fills any see-through areas. White is the usual choice; use black or another colour if the picture will sit on a dark page.
- Press Convert to JPG. Each file shows its new size.
- Download each JPG, or all of them as one ZIP.
Why convert PNG to JPG
PNG and JPG solve different problems. A PNG keeps every pixel exactly and can be transparent. A JPG gives up exactness to be much smaller on photographs. People convert PNG to JPG for three reasons:
- A form or a website asks for JPG. Many job, admission and visa portals accept only JPG, or limit the file size.
- A screenshot or an export is too large. Phone screenshots of photos and artwork exported as PNG can be several times the size of the same picture as a JPG.
- The picture is a photograph. PNG is the wrong tool for photographs, because it cannot take advantage of their smooth tones.
What you gain and what you lose
| PNG | JPG | |
|---|---|---|
| Transparency | Yes | No: replaced by a colour you choose |
| Fine detail | Exact | Slightly changed, depending on quality |
| Photos | Large files | Much smaller files |
| Text, lines, flat colour | Sharp, often small | Can show faint smudges, can be larger |
| Editing again and again | No loss each time | Loses a little each time it is saved again |
A JPG made from a PNG cannot be turned back into the original PNG: the detail that JPG drops is gone. Keep the PNG if you may need it.
How the conversion works
The browser opens the PNG and gives the page its pixels as red, green, blue and an alpha number from 0 (fully see-through) to 255 (solid). For every pixel that is not solid, the colour is mixed with your background: result = colour × alpha ÷ 255 + background × (255 − alpha) ÷ 255. A pixel with alpha 128 on a white background is about half its own colour and half white. The pixels are then encoded with MozJPEG at your quality, as a progressive JPG with optimised tables.
The new file has no camera or location data, and no colour profile, so it is shown in the standard sRGB colours. To shrink it further, use Compress Image, and to change its pixel size, use Resize Image. To go the other way, see JPG to PNG.
Frequently asked questions
What happens to the transparent parts of my PNG?
JPG cannot be transparent, so each see-through pixel has to become a colour. This page fills them with the background colour you choose, white at the start. A half-see-through pixel, such as the soft edge of a shadow, is blended with that colour in the right proportion, so edges stay smooth.
Will the picture look worse as a JPG?
A little, in a way that depends on the picture. JPG is lossy: it drops fine detail to save space. At the default quality of 90 a photo looks almost the same. Sharp text, thin lines and flat colours show faint smudges around the edges at lower qualities. If the picture is a screenshot or a logo, keep the PNG or raise the quality.
Will the JPG be smaller than the PNG?
For photos, nearly always, and often by a large amount. For screenshots, charts and logos with flat colours, PNG is sometimes smaller than JPG, because PNG packs flat areas very well. The page shows the size of each new file next to the old one, so you can see it.
Which quality should I pick?
90 is a safe choice. Go to 80 or lower when the file must be small, for example for an upload form with a size limit, and look at the result. Go to 95 when the picture will be edited again. Above 95 the file grows quickly with little visible gain.
Does the converter keep the PNG’s metadata?
No. Text notes, Exif and time-stamp blocks in the PNG are not copied into the JPG. The picture’s pixels are what is saved.
Can I convert an animated PNG?
Only the first frame is converted, because a JPG has no animation.
Are my files uploaded?
No. Your browser reads the PNG, and the JPG is made on your device. You can convert up to 20 files at once, and a batch downloads as one ZIP file.
Related tools
Sources and review
- W3C: Portable Network Graphics (PNG) Specification
- Library of Congress: JPEG File Interchange Format (JFIF)
- MozJPEG (Mozilla), the JPEG encoder
- jSquash (Apache-2.0): the MozJPEG, WebP, PNG, OxiPNG and resize codecs used here
- fflate (MIT), used to make the ZIP file
Last reviewed: .