Convert JPG to PNG
Convert JPG files to PNG. This page is also honest about something most converters leave out: PNG is lossless from the moment of conversion onward, but it cannot undo compression that has already happened. Knowing that in advance saves disappointment when the result looks identical and weighs four times more.
Use this without the search next time. Prathom Workbench puts Prathom's tools in your toolbar.
Add to Chrome — freeDrop your JPG file here, or click to browse
Up to 50 MB. Deleted automatically after 30 minutes.
What it does
- Lossless PNG output
- Batch conversion with ZIP download
- Optional resize during conversion
- No queue, no watermark, no account
- No request carries your image anywhere
How to use JPG to PNG
- 1
Add your JPG files
Drop one or several JPGs onto the box. Files that are secretly some other format are detected and converted anyway, with a note.
- 2
Optionally set a maximum width
Leave this at zero to keep the original dimensions, or set a number to shrink large photos during the same pass.
- 3
Convert
Each file is decoded and re-encoded as PNG. Expect the result to be considerably larger than the JPG you started with.
- 4
Save the results
Download files one by one or take the batch as a ZIP archive.
How it works
The JPG is decoded into a bitmap, drawn onto a canvas of the same dimensions, and encoded as PNG. There is no quality setting because PNG has none: the encoder is required to reproduce every pixel exactly, so the only variable is how well the compression algorithm happens to work on your particular image.
That compression is worth understanding, because it explains the wildly different results people get. PNG uses filtering followed by DEFLATE. The filter step predicts each pixel from its neighbors and stores the difference, which produces long runs of zeros wherever an area is flat or changes smoothly in one direction. DEFLATE then compresses those runs very efficiently.
On a diagram or a screenshot of an interface, most of the image is flat color, the differences are almost all zero, and the file shrinks dramatically. On a photograph, adjacent pixels differ slightly and unpredictably everywhere — sensor noise alone guarantees it — so there are few runs to exploit and the file stays large. Same algorithm, opposite outcomes, entirely because of the content.
If a maximum width is set, the image is scaled first, using progressive halving so the reduction stays clean. Scaling before encoding also reduces the PNG's size roughly in proportion to the pixel count, which is the only lever available for making a PNG smaller.
When you'd use this
Editing pipelines are the strongest case. If an image will be opened, altered, and saved several times, each JPEG save compounds the loss — the effect that makes a meme reposted twenty times look like it was photographed off a monitor. Converting to PNG once at the start stops that accumulation.
Software requirements are the second. Some design tools, game engines, embedded systems, and older document formats accept PNG only. In those cases the size increase is simply the cost of the requirement.
The third is misidentified content. Diagrams, charts, logos and UI captures that were exported as JPG by a tool that defaulted to it are being penalised twice: they are larger than they need to be and they have visible artifacts around every edge. Converting them to PNG will not remove the existing artifacts, but it stops the problem growing and often reduces the file size at the same time.
A note on what to expect
If you convert a photograph and the PNG is enormous, nothing has gone wrong. If you convert a diagram and the PNG is smaller, nothing has gone wrong either. The two results come from the same process meeting very different images, and a converter that produced consistently similar sizes for both would be doing something other than what it claimed.
Examples
A photograph converted for an editor that requires PNG
The twenty-fivefold size increase is normal and expected. PNG stores every pixel exactly, and a six-megapixel photograph genuinely contains that much information once you stop approximating it. This is the trade PNG makes and it is why photographs are distributed as JPEG in the first place.
A diagram exported as JPG by mistake
Here PNG is smaller, which surprises people. Flat colors and sharp lines compress extremely well under PNG's method and extremely badly under JPEG's. The JPEG's existing haloing around the lines is still baked in, but no further degradation will occur from here.
Frequently asked questions
Does converting to PNG improve the image quality?
No, and this is the most common misunderstanding about the conversion. PNG is lossless, which means it will not lose anything from this point forward — but the JPEG compression that already happened is permanent. Any blocking or haloing in the JPG is now part of the picture, and the PNG faithfully preserves those artifacts at a much larger file size.
Why is the PNG so much bigger than the JPG?
Because JPEG achieves its size by discarding information and PNG achieves its size by compressing without discarding anything. A photograph has huge amounts of subtle variation, which PNG must store and JPEG can approximate away. A tenfold to thirtyfold increase converting a photograph is completely normal, and is not a sign anything went wrong.
Then when is this conversion actually worth doing?
Three cases. When a tool or platform accepts only PNG. When you are about to edit the image repeatedly and want no further generation loss with each save. And when the image is not really a photograph — diagrams, charts, screenshots of interfaces and anything with flat color often come out smaller as PNG as well as sharper.
Will the PNG have a transparent background?
No. PNG supports transparency but a JPG has none to carry over, so every pixel including the background arrives fully opaque. Converting cannot identify a subject and cut it out — that is a different operation altogether, and any tool offering it is running background removal, not format conversion.
Is any metadata carried across?
No. The file is decoded to pixels and re-encoded, so EXIF data — camera model, exposure settings, timestamps, and GPS coordinates if the photo was taken on a phone with location on — does not survive. If you were converting specifically to strip location data from a photograph, this does achieve that.
Further reading
- We Re-Saved a JPEG Twenty Times and Nothing HappenedEveryone has heard that a JPEG gets worse every time you open and save it, and most people have seen the artwork made by re-saving an image five hundred times to prove it. So we measured it properly. Re-saving at the same quality, twenty times, changed the image by nothing at all — and then we found the conditions where it degrades badly.
- JPEG Does Not Just Look Worse on Text — It Is Bigger TooThe usual advice is "JPEG for photos, PNG for graphics", and it is given as a quality argument: JPEG smears the edges of text and flat color. That is true, and it buries the more useful half. On the same image, at the same settings, the JPEG is also the bigger file — three times bigger on a page of text. You are not trading size for quality. You are losing both.
- Choose an Image Format by Where It Is GoingThere is no best image format, which is why comparison tables never settle the question. There is only a next program that has to open the file, and that program has opinions. Work backwards from it and the choice usually makes itself.