PNG to JPG

Published Updated

Convert PNG to JPG with your choice of quality and background — free and processed entirely in your browser.

About PNG to JPG

PNG to JPG conversion shrinks a image into a compact JPG that is easier to email, upload and share. This converter reads your PNG in the browser, paints it over the background color you choose, and saves the result as a JPG at the quality level you set. A photo saved as PNG usually drops to a fraction of its size, while a screenshot with large flat areas can grow instead (measured below).

The one real decision is the background. A PNG can contain transparent pixels, but a JPGcannot store transparency at all, so anything see-through has to become a solid color. White is the default because it suits most documents and web pages, and you can switch to black or pick any color to match your layout. A live preview shows your first image on the chosen background before you convert. The quality slider trades file size for fidelity. Around 85 to 92 looks clean for most photos, while 60 to 75 gives much smaller files with some softness around sharp edges and text. Screenshots, diagrams and logos are the least forgiving, because JPG compression is designed for photographs. For those, keep the PNG or try WebP with our PNG to WebP tool.

Batch conversion is built in. Add up to 50 PNG files, apply one background and quality setting to all of them, and download a single ZIP or each JPG on its own. Each file can be up to 40 MB and 10,000 pixels per side. Your files are processed in your browser and this page does not upload them; there is no sign-up and no watermark. Need a different format? Our Image Converter handles that, and JPG to PNG covers the reverse direction.

JPG size at each quality setting, browser by browser

We ran this page's converter on two generated PNGs: a 2000 x 1500 photo-like picture (3.82 MB as PNG) and a 1600 x 1000 screenshot-like picture with flat panels, thin rules and small dark text (11.1 KB). Each cell is the JPG size the result card showed.

Picture and qualityGoogle Chrome 156Chromium 153 (Playwright build, not Google Chrome)Firefox 155Playwright's WebKit build (not the Safari app)
Photo, 92 (the default)514.1 KB514.1 KB661.4 KB937.9 KB
Photo, 80208.4 KB208.4 KB244.8 KB661.2 KB
Photo, 6085.9 KB85.9 KB110.5 KB285.1 KB
Photo, 3040.3 KB40.3 KB65.1 KB74.4 KB
Screenshot, 92454.8 KB (40.8x larger)454.8 KB (40.8x larger)618.3 KB (55.5x larger)695.9 KB (62.5x larger)
Screenshot, 60273.5 KB (24.5x larger)273.5 KB (24.5x larger)319.9 KB (28.7x larger)464.7 KB (41.7x larger)
6000 x 4000 photo (28.60 MB PNG), 923.68 MB in 0.8 s3.68 MB in 0.4 s4.62 MB in 0.9 s6.97 MB in 0.9 s

The same number gives different files because each browser brings its own JPEG encoder; the HTML standard notes that implementations can interpret the quality value slightly differently. At 92 the WebKit build used quantization steps about half as large as the other engines (an average of 4.64 against 9.25 in the brightness table), so its files are the biggest. Firefox 155 kept full colour resolution (4:4:4) at 92 and halved it (4:2:0) at 80 and below; Chrome 156, Chromium 153 and the WebKit build halved it at every setting.

Screenshots go the other way. The flat PNG grew 24.5 to 62.5 times as a JPG, and the copy is far from exact: at 92 the largest pixel error was 39 to 78 levels on the 0 to 255 scale, against 14 to 18 for the photo. For screenshots, diagrams and logos keep the PNG, or try PNG to WebP.

What happens to transparency, colour profiles and 16-bit PNGs

A JPG has no transparency, so the tool paints the background colour first and draws the PNG on top. Without that step, the HTML standard has the browser composite the picture onto opaque black when it writes a JPG. Our test PNG had a transparent background and a blue square (30, 60, 200) at half opacity. The values below were read back from the JPG; the ranges cover the four engines.

Background choiceTransparent areaHalf-transparent blue square
White (the default)255, 255, 255142, 156, 227 to 143, 157, 228
Black0, 0, 015, 29, 100 to 16, 30, 101
Hex #33669951, 103, 15341, 81, 176 to 42, 82, 177
  • A palette PNG with one transparent colour (a tRNS chunk, common for logos) also got the chosen background: white in all four engines.
  • A PNG tagged with the Display P3 colour profile and holding 200, 100, 50 came out as 215, 93, 30 in Chrome 156 and Chromium 153 and 214, 93, 30 in the WebKit build, which converted it to sRGB. Firefox 155 wrote 200, 100, 50 unchanged. Chrome and Chromium also embed a colour profile in the JPG; the Firefox and WebKit files carry none.
  • A 16-bit greyscale PNG became an ordinary 8-bit colour JPG with its full range intact: black 0, middle grey 128, white 255.
  • A PNG 10,001 pixels wide is refused with the message "This image is 10001 x 10 px. Images can be up to 10,000 px per side."

How to Convert PNG to JPG

  1. Step 1

    Add your PNG files

    Drag and drop one or more .png images, or choose them from your device.

  2. Step 2

    Set quality and background

    Choose a JPG quality and the color that fills any transparent areas, with a live preview.

  3. Step 3

    Download your JPGs

    Save each JPG on its own, or download all of them together as one ZIP.

Frequently Asked Questions

Is my PNG uploaded anywhere?

No. The PNG is decoded and saved as a JPG inside your browser, and this page does not upload it; no request carries the picture.

What happens to transparent areas in my PNG?

A JPG cannot store transparency, so transparent pixels are filled with the background color you pick. White is the default, and the preview shows exactly how it will look.

What JPG quality should I choose?

Use 90 to 95 for photos you will print or edit again, 80 to 90 for general web use, and 60 to 75 when a small file matters most. Images with fine text need higher values.

Will the JPG look worse than the PNG?

Slightly, yes, because JPG is a lossy format. At high quality the difference is hard to see in photos, but sharp text and thin lines can show faint fuzz around the edges.

Can I convert several PNG files at once?

Yes. Add up to 50 files, apply one quality and background setting to all of them, and download each JPG separately or all of them in one ZIP.

Is there a size limit?

Each file can be up to 40 MB and 10,000 pixels on its longest side. These limits keep conversion fast and stop your browser tab from running out of memory.

Why is my JPG bigger than the PNG?

The PNG was probably a screenshot or a flat graphic, which PNG stores very compactly. In our test an 11.1 KB screenshot-like PNG became 454.8 KB to 695.9 KB as a JPG at the default quality of 92, depending on the browser, while a 3.82 MB photo-like PNG shrank to 514.1 KB to 937.9 KB. Keep screenshots as PNG.

Why does the same quality give a different file size in another browser?

Each browser has its own JPEG encoder. At quality 92 the 2000 x 1500 test photo came out at 514.1 KB in Chrome 156 and Chromium 153, 661.4 KB in Firefox 155 and 937.9 KB in the WebKit build, which uses finer steps at the same number.

Does the JPG keep my PNG's colour profile?

Not as a Display P3 profile. Chrome 156, Chromium 153 and the WebKit build convert the colours to sRGB (200, 100, 50 in P3 became 215, 93, 30 or 214, 93, 30), and Chrome and Chromium tag the JPG with a profile. Firefox 155 keeps the original numbers and writes no profile, so the JPG holds the P3 numbers as if they were sRGB.

How long does a large PNG take?

A 6000 x 4000 photo-like PNG of 28.60 MB took 0.4 to 0.9 seconds from the click to the result. Each file can be up to 40 MB and 10,000 pixels per side, and a batch holds up to 50 files.

Related guide

JPG, PNG, WebP, HEIC and SVG: which image format to use. The guide explains the background-fill step and why screenshots and logos suit JPG least.

Related Tools