PNG to JPG

Convert PNG to JPG. Free PNG to JPEG converter.

Your pictures are turned into JPG files in your browser. They are not uploaded.

PNG files. One picture or many at once. Drop them here, or paste copied files or a copied picture with Ctrl+V (⌘V on a Mac).

How the JPG is to be

These choices are remembered on this device and nowhere else. Your pictures never are.

Good to know

A JPG has no see-through parts and stores a picture by leaving out fine detail the eye hardly misses, more of it the lower the quality number. That suits photos, which come out several times smaller than as a PNG. Each card says how far the JPG is from the PNG, and the larger look lets you flip between the two and shows where they differ.

A drawing, a logo or a screenshot is another matter: a PNG stores flat colors and sharp edges in very little room, and the JPG of such a picture is often larger than the PNG, with faint smears around the edges. The card says so when the JPG comes out larger. Turn such a picture into a JPG only when a JPG is what is asked for.

The page reads the pixels out of the PNG itself and writes the JPG with an encoder of its own, so the same PNG gives the same JPG in every browser, unless your browser had to turn the picture or its colors first, which the card then says. Color is kept at full sharpness unless you choose otherwise, which keeps small colored writing clean. A PNG of 16 bits a color is rounded to the 8 bits a JPG has, and a PNG's color profile goes along when it changes what is shown.

A JPG can be read by most programs up to 65,500 pixels a side, so that is the largest the page makes. A moving PNG gives a JPG of its first picture. Turning a PNG into a JPG and back does not bring the PNG back: what the JPG left out stays out.

Rate this tool

How useful was this tool?

PNG to JPG

Convert PNG to JPG in your browser. Choose your pictures under Choose PNG pictures to turn into JPG, drop them on that box, or paste them. The hint under it says: “PNG files. One picture or many at once. Drop them here, or paste copied files or a copied picture with Ctrl+V (⌘V on a Mac).”

There is no convert button. Each picture is turned into a JPG as soon as it is in, with the choices under How the JPG is to be. While it works, the page says Turning the picture into a JPG…, or with several, for example Turning picture 3 of 12 into a JPG…. Each picture then gets a card. Click Save the JPG on it; the button names the file, such as photo.jpg. With two or more pictures, Save all as one ZIP saves them together. After a save the page says Saved.

Everything happens in your browser. As the page says: “Your pictures are turned into JPG files in your browser. They are not uploaded.” The tool has no server part: the page reads the PNG with its own code and writes the JPG with its own encoder.

Choosing, dropping and pasting PNG files

You can take one picture or up to 100 at once, through the file box, by dropping them, or by pasting with Ctrl+V anywhere on the page.

  • A picture copied as a picture (right-click, copy image) arrives as image.png and is saved as image.jpg.
  • PNG files copied in a file manager arrive under their own names, several at a time.
  • Pasting was tried as a real copy and paste in Chrome 158 on Linux, and with a picture on the clipboard in Firefox 158. When the clipboard holds a picture only as a JPG, Chrome 158 hands the page nothing, so nothing happens.

The page goes by what is in the file, not by its name. A PNG named .jpg, or with no ending, is taken, and its card says, for example, “The name of the file ends in .jpg, but the file is a PNG.” A JPG named .png is not encoded a second time: “This file is a JPG already, whatever its name says. There is nothing to turn.” A picture dragged over from another web page brings only its address, and the page says: “That was the address of a picture, not the picture itself. Save the picture to your device and choose the file.”

Your choices stay for your next visit: “These choices are remembered on this device and nowhere else. Your pictures never are.”

Converting PNG to JPG by a quality number

How it is made starts at By a quality number. The Quality slider runs from 1 to 100 and starts at 90. The line under it:

The number means what it means in most programs. A lower number gives a smaller file and a picture farther from the PNG; each card says how far.

Once your first picture is in, a second line under the slider says what other quality numbers would make of it. For the camera photo of the table below, with the slider at 90:

For camera-3mp.png, other quality numbers would give: 60: 251.9 KB, 70: 308.1 KB, 80: 432.6 KB, 95: 945.7 KB. The PNG itself is 3.7 MB.

With a screenshot first, it reads “For screenshot.png, other quality numbers would give: 60: 86.7 KB, 70: 100.4 KB, 80: 121.1 KB, 95: 207.5 KB. The PNG itself is 94.7 KB.” So the line tells you before you move the slider that its JPG is larger than the PNG from quality 70 on.

  • The numbers are the four nearest of 50, 60, 70, 80, 90 and 95, leaving out the one the slider is on. With the slider at 75 they are 60, 70, 80 and 90.
  • The sizes are those the page then really makes: at 60, the camera photo's JPG is 251.9 KB.
  • The line ends with the PNG's own size, so each figure can be set against it at a glance.
  • The line is about the first picture on the page and names it. It comes a moment after that picture's card, and follows your other choices: color detail, the progressive kind and the background.
  • It is given for a first picture of up to 8 megapixels. It is not given with To a file size, nor while the first picture is made no larger than its PNG with its own button (see below).

The steps written into the JPG are those of the Independent JPEG Group's scale at that number, the scale most programs use. In testing they matched the tables Pillow writes at the same number, for every test file. On eleven test files the page's JPG came out 0.5% to 16% smaller than Pillow's at the same number, and at most 0.03 of 255 farther from the picture on average.

The page writes the JPG with its own encoder, not the browser's. In testing, 35 of 38 test files came out byte for byte the same in Chromium 147, Chrome 158 and Firefox 158. The other three were PNG files whose colors the browser had to turn into sRGB first.

How far the JPG is from the PNG is the card's own line: “Read back and set against the PNG: a color value is off by 0.8 of 255 on average, by 24 at most.” Each red, green and blue value runs from 0 to 255, and 0 would be an exact copy. Here is what the numbers do to a real camera photo saved as a PNG (2,048 × 1,536 pixels, 3.7 MB) and to a screenshot of a page with colored writing (960 × 600 pixels, 94.7 KB), both with color at full sharpness:

Quality Camera photo: the JPG Off by (average / at most) Screenshot: the JPG Off by (average / at most)
50 211.4 KB, 94% smaller 2.4 / 60 76.5 KB, 19% smaller 3.5 / 124
60 251.9 KB, 93% smaller 2.2 / 58 86.7 KB, 8.4% smaller 2.6 / 109
70 308.1 KB, 92% smaller 1.9 / 50 100.4 KB, 6.1% larger 2.1 / 108
75 360.6 KB, 90% smaller 1.8 / 37 108.5 KB, 15% larger 1.9 / 94
80 432.6 KB, 88% smaller 1.6 / 37 121.1 KB, 28% larger 1.6 / 103
85 521.5 KB, 86% smaller 1.4 / 30 138.1 KB, 46% larger 1.3 / 59
90 735.1 KB, 80% smaller 0.8 / 24 163.5 KB, 73% larger 0.9 / 45
95 945.7 KB, 74% smaller 0.5 / 16 207.5 KB, 2.2 times the size 0.5 / 25
100 1.9 MB, 47% smaller 0.1 / 4 319.8 KB, 3.4 times the size 0.1 / 5

Other real photos saved as PNG gave much the same at quality 90: a phone photo of 3,264 × 2,448 pixels (8.5 MB) became “The JPG: 1.6 MB, 81% smaller than the PNG. Quality 90.”, one of 4,032 × 3,024 pixels (14.0 MB) “The JPG: 2.5 MB, 82% smaller than the PNG. Quality 90.”, and one of 48 megapixels (47.5 MB) “The JPG: 7.9 MB, 83% smaller than the PNG. Quality 90.”

Why a JPG can come out larger than the PNG

Because a PNG stores flat colors and sharp edges in less room than a JPG can. That is why the screenshot above grows from quality 70 on. Whenever a JPG made by a quality number is larger, the card adds:

This JPG takes more room than the PNG. A PNG stores flat colors and sharp edges, as drawings and screenshots have them, in less room than a JPG can. If a smaller file is what you are after, keep the PNG.

A drawing of few colors (512 × 512 pixels, 3,672 bytes as a PNG) gave “The JPG: 17.8 KB, 4.9 times the size of the PNG. Quality 90.” The page's own advice, under Good to know:

A drawing, a logo or a screenshot is another matter: a PNG stores flat colors and sharp edges in very little room, and the JPG of such a picture is often larger than the PNG, with faint smears around the edges. The card says so when the JPG comes out larger. Turn such a picture into a JPG only when a JPG is what is asked for.

Making a JPG no larger than its PNG

A card whose JPG came out larger has a third button, Make this JPG no larger than the PNG. It makes that one picture again at the highest quality whose JPG fits the PNG's own size. The test screenshot went from “The JPG: 163.5 KB, 73% larger than the PNG. Quality 90.” to:

The JPG: 94.03 KB, 0.7% smaller than the PNG. Quality 66, the highest the page found that fits the PNG's own size, 94.7 KB (94,028 bytes). Read back and set against the PNG: a color value is off by 2.3 of 255 on average, by 112 at most.

The note about the larger JPG goes. The smaller file costs detail: off by 2.3 and 112, against 0.9 and 45 at quality 90.

  • The button then reads Back to quality 90 (the slider's number) and makes the JPG at that number again.
  • Only that one picture changes. A photo on the same page stays at Quality 90.
  • If you move the slider afterwards, the picture stays no larger than its PNG, and the way back names the new number.
  • The button is there only with By a quality number, and cannot be clicked while pictures are being made.

Some pictures have no JPG smaller than their PNG. The drawing of 3,672 bytes, after the button:

The JPG: 5,205 bytes, 42% larger than the PNG. Quality 10, the lowest the page goes: it does not fit the PNG's own size, 3,672 bytes.

Even at the lowest quality the JPG of this picture is larger than its PNG. If a smaller file is what you are after, keep the PNG.

That JPG at quality 10 is off by 5.3 of 255 on average and 227 at most. If you need a JPG of such a picture all the same, Back to quality 90 gives the finer one, and To a file size finds the best JPG within a size of your own (see the next section).

PNG to JPG at a file size: under 100 KB, 1 MB or a share of the PNG

Choose To a file size, type a number under No larger than, and pick KB, MB or % of the PNG's own size. The number starts at 200 KB. The line under it:

For each picture the page looks for the highest quality, from 10 to 95, whose file is no larger than this, and takes quality 100 when even that fits. A file does not always grow with the quality number, so now and then a slightly higher quality would have fitted as well. A size above a PNG's own counts as that PNG's own size, unless no quality reaches it. A KB is 1,000 bytes.

In this mode the card gives the size to a hundredth and the exact bytes:

Picture No larger than The card says
Camera photo (3.7 MB) 500 KB “The JPG: 484.60 KB, 87% smaller than the PNG. Quality 84, the highest the page found that fits 500 KB (484,602 bytes).”
Camera photo 200 KB “The JPG: 199.48 KB, 95% smaller than the PNG. Quality 45, the highest the page found that fits 200 KB (199,475 bytes).”
Camera photo 100 KB “The JPG: 95.83 KB, 97% smaller than the PNG. Quality 14, the highest the page found that fits 100 KB (95,830 bytes).”
Camera photo 10 % of the PNG's own size “The JPG: 367.26 KB, 90% smaller than the PNG. Quality 76, the highest the page found that fits 10% of the PNG, 368.3 KB (367,259 bytes).”
Phone photo, 8 megapixels (8.5 MB) 1 MB “The JPG: 973.77 KB, 89% smaller than the PNG. Quality 77, the highest the page found that fits 1 MB (973,774 bytes).”
Screenshot (94.7 KB) 50 KB “The JPG: 49.61 KB, 48% smaller than the PNG. Quality 24, the highest the page found that fits 50 KB (49,610 bytes).”

A small size costs detail, and the card shows how much: the camera photo at 100 KB was off by 4.3 of 255 on average and 102 at most, against 0.8 and 24 at quality 90.

When nothing fits: quality 10 is as low as the page goes. The 8-megapixel phone photo asked for 100 KB gave “The JPG: 211.10 KB, 98% smaller than the PNG. Quality 10, the lowest the page goes: it does not fit 100 KB.” with the note:

Even at the lowest quality this picture takes more room than you asked for. Make it smaller in pixels first with the Image Resizer, then turn it into a JPG.

The JPG at quality 10 is still made, so you can save it if it will do. A photo of 4,032 × 3,024 pixels did not fit 100 KB either (191.41 KB at quality 10).

When the PNG is under your size already, the size counts as the PNG's own, so the JPG comes out no larger than the PNG wherever a quality reaches that size. The screenshot asked for 200 KB gave “The JPG: 94.03 KB, 0.7% smaller than the PNG. Quality 66, the highest the page found that fits the PNG's own size, 94.7 KB (94,028 bytes).” with the note “You asked for no more than 200 KB, and this PNG is under that already. So the page looked for the highest quality whose JPG is no larger than the PNG itself.”

Where no quality reaches the PNG's own size, the size you typed counts after all. That happens with a drawing of few colors, whose PNG is tiny. The test drawing (512 × 512 pixels, 3,672 bytes) gave:

No larger than The card says Off by (average / at most)
50 KB “The JPG: 34.78 KB, 9.5 times the size of the PNG. Quality 100, the highest there is: with 34,785 bytes it has room to spare in 50 KB.” 0.3 / 4
20 KB “The JPG: 19.53 KB, 5.3 times the size of the PNG. Quality 92, the highest the page found that fits 20 KB (19,526 bytes).” 0.5 / 33
6 KB “The JPG: 5,994 bytes, 63% larger than the PNG. Quality 17, the highest the page found that fits 6 KB (5,994 bytes).” 2.6 / 236

Each of these cards says why the JPG is larger than the PNG, here for 50 KB:

No quality makes a JPG of this picture as small as the PNG itself (3,672 bytes), so the page went by the 50 KB you asked for. If a smaller file is what you are after, keep the PNG.

Asked for 4 KB, less than even quality 10 needs, the drawing gave “The JPG: 5,205 bytes, 42% larger than the PNG. Quality 10, the lowest the page goes: it does not fit 4 KB.”, off by 5.3 and 227, with the Image Resizer note quoted above.

When even quality 100 fits, the card says so, for example: “Quality 100, the highest there is: with 394,101 bytes it has room to spare in the PNG's own size, 530.3 KB.”

The page tries up to nine qualities for each picture. In a test of 1,200 searches (20 pictures, 60 sizes each) it found the highest quality that fits 1,199 times; once, a quality two steps higher would have fitted too. A size it cannot use is refused under the field, with “Type a size above nought.” or, for a share, “Type a share from 1 to 100.”

Transparent PNG to JPG: white, black or your own color

A JPG cannot be see-through, so something has to go behind those parts. What goes behind see-through parts offers White (the start), Black and A color of your own, which shows a color box that starts at a blue, #1F6FEB. The line under it:

A JPG cannot be see-through. What is see-through in the PNG shows this color in the JPG, and what is partly see-through is mixed with it.

The card says how much of the picture was see-through. A logo of 600 × 300 pixels (18.4 KB) on white:

The JPG: 14.4 KB, 22% smaller than the PNG. Quality 90. 70% of this picture was see-through and 6.1% partly so. In the JPG those parts show white. Read back and set against the PNG laid on white: a color value is off by 0.3 of 255 on average, by 36 at most.

On black the same logo gave 13.7 KB, and on the color #0C8F4D 12.6 KB, with “In the JPG those parts show the color #0C8F4D.”

Partly see-through pixels, such as the soft edge of a logo, are mixed with the background by exact sums. In testing, every mixed value matched the exact result, also for PNG files of 16 bits. A color hidden under fully see-through pixels, which some programs leave there, does not show: only the background does.

Choose the color the JPG will sit on. A logo laid on white keeps a white box around it when you place the JPG on a colored page.

Color detail: full or half sharpness

Color detail decides how finely color is stored, apart from light and dark.

  • At full sharpness (the start): “Every pixel keeps its own color. That keeps small colored writing and thin colored lines clean.”
  • At half sharpness, as cameras and phones store it (a smaller file): “Each square of four pixels shares one color; light and dark stay sharp. A photo comes out smaller and hardly farther from the PNG. Small colored writing and thin colored lines come out farther off: the card says by how much.”

Measured at quality 90:

Picture At full sharpness At half sharpness
Camera photo, 3 megapixels 735.1 KB, off by 0.8 on average, 24 at most 592.2 KB, off by 1.3 on average, 58 at most
Phone photo, 8 megapixels 1.6 MB, off by 0.8 on average, 12 at most 1.4 MB, off by 0.9 on average, 13 at most
Screenshot with colored writing 163.5 KB, off by 0.9 on average, 45 at most 118.3 KB, off by 2.4 on average, 166 at most

Full sharpness is the start because many PNG files are screenshots and drawings, and there halved color smears colored writing: 166 of 255 at most on the test screenshot, against 45. No rule was found that tells reliably from a picture which choice is better, so the page leaves it to you and starts with the one that does not smear.

If your PNG was once a JPG, half sharpness can land closer. In one test, a 12-megapixel photo that had been a JPG at quality 90 with halved color came back, at half sharpness, as “The JPG: 2.3 MB, 84% smaller than the PNG. Quality 90.”, off by less than 0.1 of 255 on average, closer than at full sharpness (0.2).

Colors and color profiles

Colors decides what happens when a PNG says how its colors are meant.

The PNG's own, with its color profile where it has one that matters is the start:

The numbers in the JPG are the PNG's own. A color profile that changes what is shown goes along; one that changes nothing is left out.

  • A PNG in Adobe RGB or ProPhoto keeps its numbers and its profile, byte for byte. The card says, for example, “The JPG carries the PNG's color profile (Compatible with Adobe RGB (1998), 3,196 bytes) beside the same numbers, so it shows the same colors in programs that read profiles.” In Chromium 147, Chrome 158 and Firefox 158 the JPG showed the same colors as the PNG.
  • A PNG with the ordinary sRGB profile loses it, since it changes nothing: “The PNG's color profile (sRGB built-in) changes nothing in what your browser shows of this picture, so it is left out: a JPG without a profile shows the same colors, in 588 bytes less.” The page finds this out by setting what your browser shows of the PNG against the file's own numbers.
  • A PNG that describes its colors another way, with a gamma or corner colors of its own that a JPG has no place for, is taken as the browser shows it: “This PNG says how its colors are meant in a way a JPG cannot repeat, so your browser turned them into the ordinary kind (sRGB) for the JPG.”

Turned into the ordinary kind (sRGB), without a profile is for programs that ignore profiles:

For a program that ignores color profiles. A PNG in wider colors (Display P3, Adobe RGB) loses the colors sRGB cannot hold. A PNG without a profile comes out the same either way.

The card then says “The colors were turned into the ordinary kind (sRGB), as you chose. The PNG's color profile (Compatible with Adobe RGB (1998)) is not in the JPG, and colors that sRGB cannot hold were brought inside it.” In testing at quality 100, in Chromium 147 and Firefox 158, the result was within 0.4 of 255 on average and 4 at most of what littlecms makes of the same PNG in sRGB.

Progressive JPG

Tick Write a progressive JPG: a little smaller, and it shows in passes while it loads (off at the start). The pixels stay the same; the file is written in passes. The camera photo at quality 90 was 735.1 KB as an ordinary JPG and 699.3 KB progressive (4.9% smaller), and the 12-megapixel photo 3.6% smaller. Writing it takes longer: 2.9 to 3.0 seconds against 1.9 for that photo in Chrome 158.

Camera details (EXIF)

A PNG can hold camera details too; some phones and editors write them. They are left out unless you tick Keep camera details (EXIF: date, camera, place) in the JPG, where the PNG holds any. That shows a second tick: Leave the place where the photo was taken out of them. The card says what happened:

  • Left out: “Camera details in the PNG, such as the date and the camera, are not in the JPG.”, or “Camera details in the PNG, the place the photo was taken among them, are not in the JPG.”
  • Kept: “The PNG's camera details are in the JPG too (11.3 KB), the place the photo was taken among them.” The file grows by their size: 49.0 KB without them, 60.2 KB with them, for the test picture.
  • Kept without the place: “The PNG's camera details are in the JPG too (11.3 KB), without the place the photo was taken: the list that held the place was emptied.” Checked with Pillow: the camera maker and the date are there, the place list is empty.

A PNG whose camera details carry a mark that tells programs to turn it comes out upright, as it is shown: “This PNG carries a mark that tells programs to turn it. The JPG holds the picture the way it is shown.” A JPG holds at most 65,527 bytes of camera details. Larger ones stay out, and the card says so.

What the card tells you

Each card shows the file's name, a small picture of the JPG, and these lines:

  • What the PNG is, such as PNG, 480 × 320 pixels, 849.1 KB, 16 bits a color value. Dots an inch are added when they are not 72 (PNG, 300 × 200 pixels, 52.1 KB, 300 dots an inch), and a moving PNG says moving (3 pictures).
  • The JPG against the PNG: smaller, larger (up to twice the size), so many times the size, or the same size. A share above 99% keeps a decimal, so it never reads 100: “The JPG: 2,033 bytes, 99.8% smaller than the PNG. Quality 90.”
  • How far the JPG is from the PNG. Every JPG is read back by the browser's JPG reader and set against the pixels that went in. In testing, Pillow reading the saved JPG and ImageMagick reading the PNG gave the same figures, within 0.06 on average and 2 at most.

Notes follow where they apply:

  • A gray PNG gives a gray JPG: “A gray picture: the JPG stores one number for each pixel in place of three.” A gray PNG of 37.9 KB came out at 14.0 KB. A color PNG whose pixels are all gray is written gray too. A gray PNG with see-through parts stays gray on white or black, and becomes a color JPG on a colored background.
  • 16 bits: “This PNG has 16 bits for each color value and a JPG has 8, so each value was rounded to the nearest of 256 steps.”
  • A moving PNG: “This PNG moves. A JPG holds one picture, so the first picture was taken.”
  • Dots an inch go into the JPG (checked with Pillow at 300, and at 144 × 72).
  • Text notes, such as a title or an author, do not: “Text notes in the PNG (321 bytes) are not in the JPG.”

Looking at the JPG beside the PNG

Look at it larger, beside the PNG opens the JPG under the card, with This is the JPG. above it. Show the PNG, or a click on the picture, puts the PNG in its place (This is the PNG.):

Click the picture, or the button, to change between the JPG and the PNG it was made from, laid on the background you chose. They stand in the same place, so what changed shows as you flip. The second button draws where the two differ.

Show it offers Fitted to the page, At its own size, At twice its size and At four times its size, with sharp pixels when enlarged. Show where they differ draws the differences (This is where the two differ.) with a line under the picture, here for the test screenshot at quality 90: “Black where the JPG is the same as the PNG, lighter the farther off it is, white from 32 of 255 on. 39% of the picture differs at all.” Pillow and numpy counted the same pixels on the saved files.

Many PNG files at once

The page takes up to 100 pictures at a time and works on two at once, each in a helper beside the page, so the page stays usable. A change to any choice makes every JPG again; a picture made no larger than its PNG with its own button stays so.

With two or more pictures, a bar above the cards adds them up, for example “Pictures: 6. The PNG files together: 696.3 KB. The JPG files: 338.8 KB, 51% smaller.” Save all as one ZIP saves png-to-jpg.zip, with the JPG files stored as they are. photo.png becomes photo.jpg, and two pictures that would share a name become photo.jpg and photo (2).jpg. Files the page cannot turn get a card of their own with the reason, and the bar counts them: “Files left out: 9.”

Example

A real camera photo saved as a PNG, 2,048 × 1,536 pixels, with the choices as they start (quality 90, white, color at full sharpness). The card reads:

PNG, 2,048 × 1,536 pixels, 3.7 MB The JPG: 735.1 KB, 80% smaller than the PNG. Quality 90. Read back and set against the PNG: a color value is off by 0.8 of 255 on average, by 24 at most.

Under the slider: “For camera-3mp.png, other quality numbers would give: 60: 251.9 KB, 70: 308.1 KB, 80: 432.6 KB, 95: 945.7 KB. The PNG itself is 3.7 MB.”

A screenshot with the same choices shows the other side:

PNG, 960 × 600 pixels, 94.7 KB The JPG: 163.5 KB, 73% larger than the PNG. Quality 90. Read back and set against the PNG: a color value is off by 0.9 of 255 on average, by 45 at most.

Its card also carries the note “This JPG takes more room than the PNG.”, with the rest of that note quoted above, and the button Make this JPG no larger than the PNG. One click gives “The JPG: 94.03 KB, 0.7% smaller than the PNG. Quality 66, the highest the page found that fits the PNG's own size, 94.7 KB (94,028 bytes).”

How long it takes

Measured on the live page in Chrome 158, on a Linux desktop computer with 32 cores, from choosing the files to every JPG being ready. Ranges cover six runs; the 100-megapixel and 16-bit rows are single runs.

Pictures Choice Ready after
A screenshot, 960 × 600 (94.7 KB) quality 90 0.11 s
A camera photo, 3 megapixels (3.7 MB) quality 90 0.55 to 0.57 s
A phone photo, 8 megapixels (8.5 MB) quality 90 1.3 s
A photo of 12 megapixels (14.0 MB) quality 90 1.9 s
The same quality 90, half sharpness 1.6 s
The same quality 90, progressive 2.9 to 3.0 s
The same to 500 KB 5.0 to 5.1 s
A photo of 48 megapixels (47.5 MB) quality 90 6.8 to 7.0 s
100 megapixels (69.0 MB) quality 90 13.7 s
100 megapixels to 2,000 KB 38 s
A 16-bit PNG of 10,000 × 10,000 (616.1 MB) quality 90 13.2 s
20 PNG files of many kinds (5.7 MB together) quality 90 0.77 to 0.81 s
100 small PNG files quality 90 0.55 to 0.61 s

In Firefox 158 on the same computer, the 8-megapixel photo took 1.6 s, the 12-megapixel photo 2.2 s (6.2 s to 500 KB) and the 48-megapixel photo 7.9 s. A file size takes two to three times as long as a quality number, because the page makes up to nine JPG files to find the quality.

Limits

  • 65,500 pixels a side. The JPG format counts up to 65,535, but the reader most programs share stops at 65,500: in testing, Pillow and ImageMagick both refused a JPG 65,535 pixels wide. So the page makes none larger:

Most programs read a JPG only up to 65,500 pixels a side, and this picture is 65,535 × 4. Make it smaller first with the Image Resizer.

  • 100 megapixels. A PNG of 11,546 × 8,660 pixels (100.0 megapixels) went through. One of 11,600 × 8,720 is refused at once:

This picture is too large for the page to turn into a JPG: 11,600 × 8,720 pixels, 101 megapixels. The page takes up to 100.

  • No limit on the file size as such. A 16-bit PNG file of 616 MB became a JPG in 13.2 seconds in Chrome 158, on a computer with 62 GB of memory. Over 40 megapixels the working line adds “A picture of over 40 megapixels is among them. That can take ten seconds or more.”
  • 100 pictures at once. With more, the page says, for example, “You chose 101 files. The first 100 were taken.”
  • 4 GB in one ZIP. Beyond that: “Together these JPG files are over 4 GB, more than one ZIP of this kind holds. Save them one by one.”
  • No JPG without loss. Quality 100 is the finest there is (off by 0.1 of 255 on average and 4 at most for the camera photo), not an exact copy. Turning the JPG back into a PNG does not bring back what it left out, so keep the PNG if you may need it again.

Files that are not PNG, or are damaged

The page looks at the first bytes of each file, not at its name, and gives each file it cannot turn a card with the reason:

  • “This file is a WebP picture, not a PNG. WebP to JPG turns those into JPG.” Use WebP to JPG. The same message names HEIC to JPG, SVG to JPG and TIFF to JPG for those files.
  • A GIF, an AVIF or a BMP is named without a tool, as in “This file is a GIF picture, not a PNG.” A PDF gets “This file is a PDF, not a PNG.”
  • Anything else: “This file is not a PNG: it does not begin the way a PNG file does.” An empty file: “This file is empty.”
  • A damaged PNG, whose picture cannot be unpacked, gives no JPG: “This PNG is damaged: its picture cannot be unpacked.”
  • A PNG cut short, by a download that broke off for example, still gives a JPG of what can be read:

This PNG ends too soon: it was cut short, perhaps by a download that broke off. The JPG holds what your browser could still read of it, and the rest shows the background.

In testing, a photo cut at 40% of its file gave a JPG of the photo down to row 328 of 800 and white below, in Chromium 147, Chrome 158 and Firefox 158.

Which tool for which job

  • Keep the see-through parts: PNG to WebP. A WebP can be see-through, and that tool leaves those parts as they are.
  • Make a screenshot or drawing smaller and keep it a PNG: Image Compressor. It makes JPG, PNG and WebP files smaller, also without any loss.
  • Make a picture smaller in pixels first: Image Resizer, when even quality 10 does not reach the file size you need.
  • Go the other way: JPG to PNG turns a JPG into a PNG pixel for pixel and can make a plain background see-through.
  • Turn a JPG you already have into WebP: JPG to WebP.

FAQ

How do I convert PNG to JPG without losing quality?

Not entirely: a JPG always leaves out some detail, and the format has no lossless kind that programs read. The closest is quality 100, where a camera photo came out off by 0.1 of 255 on average and 4 at most. Each card says how far your JPG is from the PNG, so you can check before you save.

Why is my JPG bigger than the PNG?

Because a PNG stores flat colors and sharp edges, as in screenshots, drawings and logos, in less room than a JPG can. The card warns when it happens, and its button Make this JPG no larger than the PNG looks for the highest quality that fits: a test screenshot of 94.7 KB went from 163.5 KB at quality 90 to 94.03 KB at quality 66. Where no quality is as small as the PNG, as for a small drawing, keep the PNG, or choose To a file size to hold the JPG to a size of your own.

What happens to a transparent background when I convert PNG to JPG?

It is filled with white, unless you choose Black or A color of your own, because a JPG cannot be see-through. Partly see-through pixels, such as soft edges, are mixed with that color, and the card says how much of the picture was see-through.

How do I convert a PNG to a JPG under 100 KB?

Choose To a file size, type 100 and pick KB: the page finds the highest quality whose JPG fits. A 3-megapixel camera photo of 3.7 MB came out at 95.83 KB, at quality 14. Larger photos may not fit even at quality 10 (an 8-megapixel photo stayed at 211.10 KB), so make them smaller in pixels first with the Image Resizer.

What quality should I use for PNG to JPG?

Quality 90, where the page starts, made a camera photo 80% smaller and off by 0.8 of 255 on average. Once your picture is in, the line under the slider gives its sizes at the nearest other numbers, such as 60: 251.9 KB and 95: 945.7 KB for that photo, so you can choose by your own file. For a screenshot or a drawing, the line and the card show whether its JPG comes out larger than the PNG.

Can I convert many PNG files to JPG at once?

Yes, up to 100 at a time. Choose, drop or paste them together, and Save all as one ZIP gives you png-to-jpg.zip with every JPG in it. A bar shows the size of all the PNG files and all the JPG files together.

Is JPG the same as JPEG?

Yes. JPG and JPEG are two names, and two file endings, for the same picture format. This tool names its files with .jpg.

Are my PNG files uploaded?

No. The pictures are turned into JPG files in your browser and never leave your device. The page reads the PNG and writes the JPG with its own code; the tool has no server part.

Does the JPG keep the photo's EXIF data?

Only if you tick Keep camera details (EXIF: date, camera, place) in the JPG, where the PNG holds any; they are left out at the start. A second tick leaves out the place the photo was taken, and the card says what became of them.

Note: All processing is done client-side. We do not store or see your data.

Related Tools

Contact

Missing something?

Feel free to request missing tools or give some feedback using our contact form.

Contact Us