JPG to PNG
Convert JPG to PNG, one file or many at once. Useful before editing, because every later save is lossless — though it cannot restore what JPEG discarded.
Files
Drop images here
PNG, JPEG, WebP, GIF, BMP, AVIF, TIFF, SVG, ICO — mix as many formats as you like. Files are converted on our server and deleted the moment the result is sent back; nothing is stored and nothing is looked at.
Convert to
PNG is lossless. Transparency is kept.
The honest use for this conversion is editing. JPEG loses a little detail every time it is saved, so a picture that will go through several rounds of cropping and retouching is better kept as PNG in the meantime. What it will not do is repair anything: the artefacts baked into the JPEG are pixels now, and PNG will preserve them faithfully along with everything else.
How it is calculated
canvas.toBlob(callback, "image/png")
The JPEG is decoded once and written out losslessly. Because PNG has no quality parameter, there is nothing to tune — the output is exactly the pixels the decoder produced.
Source: MDN image file type guide — PNG is image/png with extension .png, lossless, supports alpha
Questions people ask
- Does this restore quality lost by JPEG?
- No, and any tool claiming otherwise is guessing. JPEG compression is lossy and irreversible; converting to PNG simply stops further loss from happening.
- Why is the PNG so much larger?
- Because it stores every pixel exactly, including the compression artefacts. Photographs are the worst case for PNG: files several times the JPEG size are normal.
- Will it give my photo a transparent background?
- No. PNG supports transparency, but a JPEG has no transparent pixels to carry over, so the result is fully opaque. Removing a background is a separate editing job.
- Can I convert several files at once?
- Yes. Drop in as many images as you like and every one of them comes out as PNG. They may be different formats — PNG, JPEG, WebP, GIF, BMP, AVIF, TIFF, SVG, ICO can sit in the same list — because each file is converted on its own. Download them one by one, or take the whole batch as a single .zip.
- What if I want JPEG or WebP or GIF or AVIF or TIFF instead of PNG?
- Pick it under "Convert to". This page opens on PNG because that is the conversion it is named after, but JPEG and WebP and GIF and AVIF and TIFF are one click away, and the options underneath follow whichever you choose — quality appears for the formats that are lossy, a background colour for the ones that cannot store transparency.
Found a problem, or want more?
A number that disagrees with its source is a defect, not a rounding preference.
What did you enter, what did the tool show, and what did you expect instead? If you have a source that disagrees with ours, a link to it is the most useful thing you can send.
Copies the page and tool details so you can paste them wherever you report it.
Related tools
PNG to JPG
Convert PNG images to JPG, one file or a whole batch. The work runs on our server with libvips and nothing is kept once the result reaches you.
WebP to PNG
Convert WebP images to PNG for software that will not open WebP. Keeps transparency, takes a whole batch at once and keeps no copy of your file.