PNG to JPG

Turn PNG images into smaller JPG files that open anywhere. Choose the quality and the colour that replaces transparent areas. Your pictures stay in your browser.

PNG to JPG

How to convert PNG to JPG

  1. Drop your PNG files on the box above, or click it to choose them. You can add up to 50.
  2. Leave Quality at 90, or lower it for a smaller file.
  3. If your PNG has transparent areas, set the background colour. White (#ffffff) is the default.
  4. Click Convert to JPG and read the note under each result.
  5. Download each file, or Download all as ZIP.

What this PNG to JPG converter does

Add PNG files, get a JPG copy of each. Two settings matter: Quality starts at 90 and runs from 10 to 100, and the background colour for transparent areas starts at #ffffff. Each file keeps its name with a .jpg ending, so logo.png comes out as logo.jpg, and your originals are not touched.

Only PNG files are accepted. We dropped a JPG on this page and got "this file type is not supported here." Going the other way is a different job, handled by JPG to PNG. For WebP, AVIF, GIF or BMP input, or for a format menu, use the image converter.

Nothing leaves your browser. We added a PNG and a logo in a test browser and logged all traffic: 20 requests, none carrying file data, and the outside hosts were Google's ad and analytics services and jsDelivr (the codecs). The picture codecs are not requested until you add a file; they load from jsDelivr, with no hash check. Only Chromium was tested.

Transparent areas: settle this first

JPG has no transparency, so every transparent pixel needs a colour. This page uses the one in the background box, white unless you change it. Our 600 by 600 logo has a transparent corner. Converted with the defaults, that corner pixel read back as 255, 255, 255. With #000000 it was 0, 0, 0. With #ff0000 it was 254, 0, 0, one step off because JPG rounds colours. A short code such as f00 worked too.

Soft edges blend with your colour. Our test disc is red at 50 percent opacity. On white its centre came out as 255, 127, 126, and on black as 128, 0, 0. Shadows and anti-aliased edges behave the same way, so pick the colour of whatever the JPG will sit on. If a JPG from another tool shows black where your PNG was clear, that tool filled with black. Set #ffffff here and the problem goes away.

A bad code such as #xyz stops the run with "The background colour must be a colour code like #ffffff."

Quality and size on a real file

Our test photo is an 800 by 600 PNG of 620,844 bytes. At quality 90 it became 50,464 bytes, 8 percent of the original. At 75 it was 12,783, and at 50 it was 8,470. The jump from 100 to 90 is the big one: 483,574 bytes against 50,464. Above 90 the extra bytes buy detail that is hard to see, so 90 is a sound default for a form or an email.

The last column of the table is the average pixel change from the original on a 0 to 255 scale: 1.5 at quality 90 and 4.3 at quality 10. Numbers like that say little about how a picture looks to you. Convert one file at 90, then at 75, and compare them on screen. If you need a size limit, such as under 200 KB, the compress image to size tool searches for the best quality that fits. The photo is synthetic, so real photos will land elsewhere.

When the JPG comes out bigger

PNG is good at flat colour, and JPG is not. Our 21,105 byte logo became 33,986 bytes at quality 90, 1.6 times the PNG. A 37,451 byte screenshot-like picture (flat colour and small text) became 57,549 bytes at 90 and 27,436 at 50. A 1,208 byte disc became 4,794. JPG can also leave faint speckle around sharp edges, which shows on small text.

When that happens the page adds a note suggesting a lower quality or keeping the PNG. For logos, icons and screenshots, keep the PNG, or try PNG to WebP, which keeps transparency. To shrink a PNG while staying a PNG, use the image compressor.

What is dropped

Camera details, location data and colour profiles are not copied. A PNG saved with an embedded sRGB profile came out with no profile, and the same size as the version without one (50,464 bytes). PNGs rarely carry location data, so the privacy gain is small here, but the dropped profile matters if your PNG used a wide-gamut one: colours can shift on some screens. We did not test Display P3 or other profiles.

If you archive originals, keep the PNG. The JPG is a lossy copy, and converting it back to PNG will not restore anything.

Batches, limits and what we did not test

You can add 50 files at once, each up to 100 MB, and a 51st is refused with "Only 50 files at a time." Fifty copies of the test photo (29.6 MB) became 2.41 MB, 92 percent smaller, in about 6.9 seconds, or 138 milliseconds each on our test machine. A fake file named .png fails with "this is not an image this tool can read." One setting applies to the whole batch.

We did not test real screenshots or camera PNGs, files near 100 MB, 16-bit PNGs, other browsers, or how a picture looks to a person. The samples are synthetic or made with Pillow, and timings come from a sandbox, not a laptop.

When to convert, and when not to

Convert when a form, email or portal wants a JPG or a smaller file, or when a PNG photo is bigger than it needs to be. Keep the PNG for logos, icons, screenshots, anything transparent and any copy you will edit again. Windows Paint can do one file at a time (File, Save as, JPEG picture), which is fine for a single picture and slow for a folder. For other directions, try JPG to PNG or WebP to JPG. All the converters are listed on the converters hub.

Measured results

Each row is one run in a Chromium test browser. Pixel difference is the average change per pixel from the source, on a 0 to 255 scale. A dash means the background colour changed, so the figure would not compare.
SourceSettingResult bytesPixel difference
Photo PNG, 620,844 bytesQuality 100483,5740.48
Photo PNGQuality 90 (default)50,4641.51
Photo PNGQuality 7512,7831.78
Photo PNGQuality 508,4702.05
Photo PNGQuality 103,0754.26
Logo PNG, 21,105 bytesQuality 90, white33,9860.55
Logo PNGQuality 90, black28,990-
Logo PNGQuality 90, red37,650-
Screenshot-like PNG, 37,451 bytesQuality 9057,5490.39
Screenshot-like PNGQuality 5027,4362.05
Disc PNG, 1,208 bytesQuality 90, white4,7940.52

Prefer desktop software?

Use a desktop image program for a whole folder, for renaming, or when you need to keep camera data or a colour profile. This page drops metadata and applies one setting to every file.

GramFile has download pages for IrfanView, XnView MP and FastStone Image Viewer.

Frequently asked questions

Are my files uploaded?

No. A request log of our test showed 20 requests, none with file data in it, and outside GramFile only Google's ad and analytics services and jsDelivr (the codecs). Codecs now come from jsDelivr.

Does converting PNG to JPG reduce quality?

Yes, a little, because JPG is lossy. Our photo at quality 90 changed by 1.5 out of 255 on average. Quality 100 gave 0.5, but the file was nearly ten times larger.

Why did my JPG come out bigger than the PNG?

Flat graphics suit PNG. Our logo grew from 21,105 to 33,986 bytes. Lower the quality or keep the PNG.

Why is my transparent background black in other tools?

JPG cannot be transparent, and some tools fill with black. Here the fill is white unless you set another colour code.

Is PNG to JPEG the same thing?

Yes. JPG and JPEG are the same format. The file you download ends in .jpg.

Does it keep EXIF and location data?

No. Camera details, location and colour profile are dropped. Our PNG with an sRGB profile came out with none.

Can I set a file size, like under 200 KB?

Not on this page. Lower the quality yourself, or use compress image to size, which finds the best quality that fits.

How many files at once?

Up to 50, each up to 100 MB, with one setting for all of them.