How do you turn a PNG into a JPG?
Pick a PNG and get a JPG, with a colour of your choice under transparent areas. It stays on your device.
What you enter stays on your device while you use this tool. Opening a shared link sends the settings in its address to HowToolbox to prepare the page.
You can also paste an image. Files stay on your device.
New file type
The image is converted on your device and is never uploaded. One image at a time, up to 16,384 pixels a side.
Pick a PNG and get a JPG, with a colour of your choice under transparent areas. It stays on your device.
How to use
- Choose the PNG, or drop it on the box.
- Leave the type on JPEG. Pick the colour that fills transparent areas, and set the quality: 85 to 90 suits most pictures.
- Check the preview, compare the file size shown and download the JPG.
PNG and JPEG compared with the other image types
| Type | Extension | Media type | Transparency | Quality setting |
|---|---|---|---|---|
| PNG | .png | image/png | ✓ | – |
| JPEG | .jpg | image/jpeg | – | ✓ |
| WebP | .webp | image/webp | ✓ | ✓ |
| AVIF | .avif | image/avif | ✓ | ✓ |
The first two rows are the types of this conversion. A quality setting means the type is lossy; WebP can also be lossless, but the tool writes it lossy.
How it works
A PNG stores every pixel exactly and can mark pixels as transparent. A JPG gives up both: it drops fine detail the eye hardly notices, which is why a photo is often several times smaller as a JPG, and it has no transparency at all. Converting a PNG therefore does two things: it fills any see-through area with a solid colour, white unless you choose black or gray, and it re-encodes the picture with a quality setting.
The conversion pays off for photos and scans, and for uploads that accept only JPG. It does not suit screenshots, logos or text, where the lossy step leaves faint blotches around sharp edges and the PNG may even be the smaller file. If the picture needs its transparent background later, keep the PNG.
The table compares the two types, and the example shows the uncompressed size a screenshot-sized picture starts from before either type compresses it.
Worked example
How much room does a 1,920 × 1,080 PNG screenshot start from?
- The picture has 1,920 × 1,080 = 2,073,600 pixels.
- Stored uncompressed with transparency, each pixel takes 4 bytes.
- 2,073,600 × 4 bytes = 8.3 MB before any compression.
8.3 MB uncompressed. PNG shrinks this without loss; JPG shrinks it further by dropping detail.
Frequently asked questions
Is a JPG smaller than a PNG?
For photos, usually much smaller. For flat graphics with few colours or sharp text, a PNG can be smaller and cleaner.
What quality should I pick for a PNG screenshot?
Try 90 and compare the preview with the original around text and edges. Lower values save space but show blotches next to sharp lines first.
Can I turn the JPG back into a PNG with transparency?
No. The transparent areas are replaced by a solid colour when the JPG is made. Keep the original PNG if you need them.
Why is my JPG background white?
A JPG cannot be see-through, so transparent areas of the PNG are filled with a solid colour, white unless you pick black or gray.




