iLoveConverter
Categories 11 categories
ImageJPGPNG

JPG and PNG: When to Convert Which Way

iLoveConverter Team 3 min read

On this page

JPG and PNG are the two most-converted image formats on the planet, and people convert them in both directions for completely different reasons. One direction is usually right; the other is usually a mistake. Here’s the decision map for both trips — and the trap to avoid when going backwards.

JPG → PNG: three real reasons

  1. You need transparency. JPG has no alpha channel; any “transparent JPG” you’ve seen was actually a PNG. Converting to PNG gives flat areas a real alpha channel (our converter fills formerly-flattened backgrounds with true transparency).
  2. You’re going to edit the image. JPG re-compresses on every save; PNG doesn’t. Converting to PNG before editing stops generational loss from compounding across your editing session.
  3. Sharp graphics need lossless storage. Screenshots, logos, line art and text carry ringing artifacts from JPG’s compression. PNG preserves what’s left pixel-perfect — including, to be honest, the artifacts the JPG already created (see below).

What JPG → PNG does not do: make the image look better. Lossless means “nothing more is lost”, not “detail is restored”. Expect the file to grow 2–4× — that’s the price of storing every pixel exactly.

PNG → JPG: one real reason

File size for sharing. A photographic PNG is often 5–10× the size of a quality-matched JPG. Converting to JPG at a quality slider around 85 typically shrinks the file by 70–90% with no visible change on photos — the right move before emailing, uploading to forms, or publishing.

The casualties to know about:

  • Transparency is flattened. JPG has no alpha; transparent areas get filled (our tool uses white unless you specify otherwise).
  • Sharp edges gain slight artifacts. On photos this is invisible; on screenshots with text, JPG is the wrong format — WebP handles graphics better if the destination supports it.
  • Generational loss is real. Each JPG re-save re-applies compression. Convert once from the PNG master; don’t keep re-saving the JPG.

The trap: converting backwards “for quality”

The single most common mistake in this pair is converting a JPG to PNG because PNG is lossless, so it must be better. The lossless container preserves the JPG’s artifacts along with everything else — a bigger file that can’t become sharper. (Our PNG guide covers when PNG genuinely wins.)

The rule that keeps you out of trouble: masters stay lossless (PNG), distribution copies go lossy (JPG/WebP). Convert down when publishing; never convert up expecting improvement.

Doing it locally

Both directions run in this site’s browser — JPG to PNG and PNG to JPG decode and re-encode via WebAssembly on your machine, in batches, with a quality slider where the lossy side needs one. Nothing uploads, which for personal photos is the whole point.

FAQ

Why did my PNG get bigger than the original JPG?

PNG stores every pixel losslessly, including the noise JPG’s compression created — growth is the expected, correct result. (Full story in our PNG-size explainer.)

Which format should a scanned document be?

PNG if it contains text and needs to stay sharp; JPG at quality 85+ if it’s photographic and size-limited. For multi-page documents, the PDF route keeps pages together.

Can I convert JPG to PNG and back to JPG without loss?

Round-tripping through PNG preserves the first JPG’s artifacts but the second JPG save adds a new lossy generation — the image degrades slightly. Avoid round-trips; keep one master.

Try it yourself — free, right in your browser

Everything mentioned in this guide runs locally on this site: no upload, no watermark, no sign-up.

Format deep-dives: JPG (.jpg.jpeg.jpe) , PNG (.png)