JPG to PNG
Turn a JPEG into a lossless PNG in this tab, with an optional cap on the width.
What this tool does
JPG to PNG asks the browser to decode your JPEG, draws it onto a canvas at its own pixel size, and encodes that canvas as PNG. PNG stores every pixel it is given without discarding anything, so what comes out matches what the decoder produced — including the blockiness and the ringing around hard edges that the JPEG already baked in. The point is not to repair the picture but to freeze it: once it is PNG, further crops, annotations and saves stop adding a fresh layer of loss each time.
Expect the file to grow. A photograph re-encoded losslessly is commonly three to five times the size of the JPEG it came from, because JPEG achieves its size by throwing detail away and PNG is not allowed to. Flat material — a chart, a screenshot, a logo on solid colour — fares far better, since PNG compresses runs of identical pixels well. The single setting on the page is the brake for that: Maximum width caps the output in pixels, 0 keeps the original dimensions, and the height follows the aspect ratio on its own. It only ever shrinks; a cap wider than the photo is ignored rather than enlarging anything, and a large reduction is done by halving repeatedly so the result stays sharp instead of aliased.
If you arrived looking for a transparent conversion, this is the wrong tool and it is worth saying plainly. A JPEG has no alpha channel, so there is no transparency to recover, and nothing here removes or keys out a background. The PNG that comes back is fully opaque, with a white backdrop still white. Knocking out a flat background colour is what Transparent Background does, and it writes PNG as well.
The work is done by your own processor in this browser tab, so the photo is not sent anywhere and the tool keeps working offline. Taking the canvas route has two consequences, and both are better known in advance. Nothing from the JPEG's metadata survives: camera make and model, exposure, GPS coordinates, capture date, the ICC colour profile and the orientation tag are all absent from the PNG, which holds pixels and nothing else — so a wide-gamut shot can shift on a wide-gamut screen, and a photo that leans on its orientation tag is worth checking once before you convert a batch. And the whole image has to be held in memory as a canvas, which every browser caps at some size. The tool does not test for that ceiling in advance: past it the encode usually stops with a message that PNG could not be written, though a browser can also hand back a blank picture instead, so look at the first result before trusting a run of very large scans.
How to use it
- Choose one JPEG, or several. The picker takes .jpg, .jpeg, .jfif and .jpe. Several files are worked through one after another, each as its own conversion.
- Cap the width, or leave the box at 0. Left at 0, the photo converts at its own pixel size. Any smaller figure caps the width and the height scales with it — useful when the lossless file would otherwise be unwieldy.
- Read the figures. The summary gives the size before and after with the percentage change, usually an increase, and the badges beside it carry the output dimensions and format. Convert several files at once and those figures describe the last one.
- Save the results. Each PNG keeps the source filename with the extension swapped, so holiday.jpg becomes holiday.png. Take them one at a time, or use Download all as ZIP for the set.
Processing & privacy
Runs on your device. Your file is processed directly in this browser.
Common use cases
Editing a photo without stacking further loss
Every re-save of a JPEG compresses it again. Convert once, then crop, annotate and export from the PNG without compounding the damage.
Feeding software that refuses JPEG
Icon pipelines, game engines and some import steps accept PNG only. Converting the file is quicker than arguing with the importer.
Screenshots and charts that were saved as JPEG
Type and thin rules pick up mottling from JPEG that PNG cannot undo, but the conversion stops it worsening with each subsequent save.
Preparing a master before several exports
When one picture will be scaled, layered and written out repeatedly, starting from a lossless copy keeps every later version equally clean.
Questions
Where does the conversion actually happen?
Why is the PNG larger than the JPG it came from?
Does converting to PNG improve the image?
Will the PNG have a transparent background?
Does the EXIF data come across?
What happens when I add a dozen JPEGs?
What about the other direction, or another format?
Related tools
- Image Compressor — Shrink JPG, PNG and WebP files with a quality you control.
- Resize Image — Change pixel dimensions with aspect-ratio locking.
- Convert Image — Convert between JPG, PNG, WebP, AVIF and GIF.
- PNG to JPG — Convert PNG files to smaller JPG images.
- HEIC Converter — Convert iPhone HEIC photos to JPG or PNG.
- Compress to Target Size — Compress an image until it fits an exact size budget.