Skip to content

image guide

How to Convert JPG to PNG — When You Need It and How to Do It

JPG to PNG is the most requested conversion that often does not make sense: you are taking a lossy file and saving it losslessly, which always increases file size without recovering lost detail. But there are legitimate reasons to do it — and this guide covers both the 'why would you?' and the 'how do I do it right?'

Updated September 22, 2026 · 19 questions answered

Key takeaways

  • JPG to PNG is a format change, not a quality upgrade: artefacts already baked into the JPEG are preserved, not repaired.
  • Do it before editing (a PNG survives repeated saves), for transparency work, or when a platform demands PNG.
  • Expect 3-10× larger files — lossless always costs bytes on photographic content.
  • Batch it locally: 20 files in one browser pass with no upload and no install.
  • For web delivery afterwards, lossless WebP is the smaller sibling holding the same pixels.

When You Actually Need JPG → PNG

Before editing: any edit in Photoshop/GIMP followed by re-save as JPEG compounds generation loss. Converting the JPEG to PNG first, editing the PNG, and only exporting JPEG at the very end avoids one generation of loss.

For transparency work: if you need to erase or mask the background of a JPEG (which cannot store alpha), converting to PNG first gives you a canvas where you can add an alpha channel.

For screenshots and text overlays: adding text to a JPEG in an image editor then saving as JPEG introduces ringing artefacts around the text. Convert to PNG, add text, save as PNG.

For upload compatibility: some platforms only accept PNG. Converting is unavoidable.

For archival or distribution: if the PNG will be opened by unknown software on unknown devices, PNG's universal decoder support guarantees it opens everywhere.

The File Size Reality

A 4 MB JPEG (quality 85) converts to a 15-25 MB PNG. The PNG preserves the JPEG's pixels exactly (no additional loss), but PNG's lossless encoder cannot achieve anything close to JPEG's file size on photographic content.

This is not a bug or a converter problem — it is fundamental to how the formats work. JPEG discards information to achieve small size. PNG stores everything faithfully, which means more bytes.

If file size matters after conversion: compress the PNG with Zopfli (5-15% reduction, still large), or convert the PNG to lossless WebP (25% smaller than PNG, still lossless) which is the best of both worlds.

How to Convert

The simplest method is a browser-based converter: drop the JPG, get a PNG. Collabs Tool handles up to 20 files in batch, processes locally (no upload), and preserves all pixel data.

For one files on any OS: right-click → Open with → Paint (Windows), Preview (Mac) → Export as PNG.

For large batch workflows: ImageMagick (magick input.jpg output.png) or Python PIL (Image.open('x.jpg').save('x.png')).

Does JPG to PNG Lose Quality?

No — the PNG captures exactly what the JPEG decoder produces. However, the JPEG has already lost quality (it is lossy), so you are faithfully preserving a degraded image. The PNG conversion does not add or subtract quality; it stores whatever the JPEG contains.

If you convert back (PNG → JPEG), you introduce a SECOND generation of loss. This is why the workflow should always be: JPEG → PNG (for editing) → final format (whatever you need for delivery).

Frequently asked questions

The questions people ask most about jpg to png converter: when and how to convert (free, no upload), answered directly.

How do I convert JPG to PNG?

Drag your JPG file onto a browser-based converter like Collabs Tool — it outputs PNG instantly with no upload. Or open in Preview (Mac) / Paint (Windows) and export as PNG.

Does JPG to PNG increase quality?

No. The PNG preserves the JPEG's existing quality exactly — it cannot recover data that JPEG's lossy compression discarded. The pixels are identical; only the file format changes.

Why is my PNG so much larger than the JPG?

PNG is lossless and uses different compression. A 500 KB JPEG may become a 3-8 MB PNG because PNG stores all pixel data without discarding information. This is expected behaviour.

Should I convert JPG to PNG for editing?

Yes — editing a PNG avoids the re-compression loss of opening, editing, and re-saving a JPEG. After editing, save in your final delivery format (JPEG for photos, WebP for web).

Can I add transparency to a JPG by converting to PNG?

The conversion gives you a PNG with an alpha channel — but the entire image starts fully opaque. You then need an image editor to remove or mask the background to create actual transparency.

Is it safe to convert JPG to PNG online?

Only with tools that process locally in your browser. Upload-based converters send your file to their servers. Browser-based tools like Collabs Tool never transmit your image.

Can I convert JPG to PNG in batch?

Yes. Up to 20 files simultaneously with Collabs Tool (browser-based, no install). For hundreds, use ImageMagick with a shell loop.

What is the difference between JPG and JPEG?

None — same format, same file headers, same MIME type. Early Windows limited extensions to three characters, so .jpg won the naming war while .jpeg survived elsewhere. Any converter that opens .jpg handles .jpeg identically.

Does converting JPG to PNG remove the compression artefacts?

No. Mosquito noise, blocky gradients and ringing around edges are baked into the pixel values a JPEG stores; a PNG preserves those pixels exactly, artefacts and all. Removing them is the job of AI 'JPEG cleanup' tools, which reconstruct what the original probably looked like — an inference, not a recovery.

Can I turn a JPG into a PNG with a transparent background?

The format switch itself gives you an opaque PNG — JPEG stores no alpha. Layer the two operations: convert to PNG, then remove the background with a colour-key tool (flat studio backgrounds) or an AI background remover (complex scenes). The result is a genuine PNG-32 with real transparency.

Should I convert JPG to PNG before editing in Photoshop or Canva?

Yes, if you will save more than once. Every JPEG re-save is another lossy generation, and the artefacts compound. Convert once to PNG, edit losslessly, and export a single final JPEG or WebP for delivery. Professionals call this working on a 'lossless sandwich'.

How do I change a JPG to a PNG in Windows Paint?

Right-click the JPG, Open with, Paint, then File, Save as, PNG image. Paint handles one file at a time; for batches use IrfanView's batch convert, PowerToys Image Resizer, or a browser tool that accepts 20 files in a drop.

Can I convert JPG to PNG on an iPhone?

Yes, with no app: open a browser-based converter in Safari and pick the photo. Note the reverse is the more common iPhone job — the camera default since 2017 is HEIC, not JPG, so iPhone users more often need the HEIC to JPG converter.

Which is better for printing, JPG or PNG?

For graphics with text or line art, PNG — lossless compression keeps edges crisp. For photographs, maximum-quality JPG works identically at print resolution and produces saner file sizes. Professional labs usually ask for PDF, TIFF or high-quality JPG; check their spec before converting anything.

Is PNG better than JPG for logos?

Decisively. Logos are flat-colour artwork with sharp edges — exactly what JPEG's lossy algorithm smudges and rings — and JPEG cannot store transparency at all. PNG keeps the edges and the alpha. Better still is the SVG vector original whenever the destination accepts it.

Why did a website reject my JPG but accept the PNG?

Usually a mismatch between the file extension and its actual magic bytes (some upload forms trust the extension, others read the header), or a size cap the JPG exceeded. Sites almost never blacklist JPEG deliberately — re-saving through a converter normalises the header and clears the rejection.

Can JPG to PNG ever recover lost quality?

No converter can recover data a lossy format discarded — the information is physically gone from the file. The PNG will look exactly like the JPG at 100% zoom, artefacts faithfully preserved. Treat the output as an editing and compatibility container, never as an upgrade.

What is the best batch method for hundreds of JPGs?

Browser tools cap at 20 per pass by design. For whole folders, ImageMagick is the standard answer — `magick mogrify -format png *.jpg` converts every file in place. It is free, offline, scriptable, and limited only by your patience for the install.

Do RAW camera files convert to PNG the same way?

No — RAW (.CR3, .NEF, .ARW) is unprocessed sensor data, not finished pixels, so it needs developing before conversion. The professional chain is RAW to PNG or TIFF for editing; going RAW to JPG to PNG bakes the camera engine's choices in before you ever open an editor.