Skip to content
WGX

Image Converter

Turn a JPG, PNG, WebP, AVIF or GIF into a JPG, PNG or WebP.

Choose a picture

JPEG, PNG, WebP, AVIF or GIF. The file is read by your browser and never uploaded.

Convert to

ConvertedExample

WebP

choose a picture to convert

Choose a picture to get started.

The conversion is easy; the cost is what nobody tells you

Changing an image's format takes a second. What is worth knowing is what you give up, and it differs for every pairing — so this page says it before you download the file rather than after you have overwritten your only copy.

What it reads, and what it writes

This reads JPEG, PNG, WebP, AVIF and GIF — five formats a browser can already open. It writes only three: JPEG, PNG and WebP. An AVIF or a GIF goes in; a JPEG, PNG or WebP comes out. A GIF converts from its first frame only — the result is one still picture, and the animation is not kept, which the page says as soon as you choose one.

What each conversion costs

  • PNG to JPEG — much smaller for photographs. Transparency becomes white and cannot be brought back. Poor for screenshots, logos and anything with text or flat color, where JPEG smears the edges.
  • JPEG to PNG — almost always much larger, and it recovers nothing. PNG stores the JPEG's artefacts as faithfully as its detail. People do this hoping to improve a photo; it cannot.
  • Anything to WebP — usually the right answer. Roughly a quarter to a third smaller than JPEG at the same apparent quality, and transparency survives.
  • WebP to JPEG — for the places that still refuse WebP. Larger, and transparency is lost.
  • A format to itself — a re-encode, not a copy. A lossy format loses a little more every time it is encoded, so do it only if you mean to change the quality.

Lossy and lossless, briefly

JPEG and WebP are lossy: they throw detail away to get smaller, and the choice is permanent. PNG is lossless: it never discards anything, which is why it is right for logos and screenshots and wrong for photographs.

The consequence that catches people out: moving from lossy to lossless preserves what you have, it does not restore what was lost. A JPEG converted to PNG is a perfect copy of an imperfect picture.

When the format is not the problem

This one changes only the format. If the file is too big to send, the Image Compressor is the tool. If you need particular dimensions, that is the Image Resizer. Keeping them separate means each asks one question rather than three.

Nothing is uploaded

Your browser does all of it: decode, redraw, encode. Nothing is sent anywhere, and the test suite for this page records every network request made while a file is processed and fails if one of them could carry it.

Questions

How do I convert a PNG to a JPG?

Choose the file and pick JPEG. The converted file appears straight away, and if the PNG has any transparency it will become white, permanently — the page says so before you download it.

Why is my JPG bigger after converting it to PNG?

Because PNG is lossless and has to store the JPEG’s compression artefacts as faithfully as its detail. Nothing is recovered by the conversion; you get the same picture in a container several times the size. If you need transparency or a lossless copy, start from a lossless original.

Which format should I choose?

WebP for almost everything on the web: smaller than JPEG at the same apparent quality, and it keeps transparency. JPEG when something old has to accept it — some upload forms, printers and desktop software still refuse WebP. PNG for flat color, screenshots, logos and anything that must stay lossless.

Does converting change the size of my image?

Not the dimensions — this tool never changes them. The file size usually changes, sometimes a great deal. To change the dimensions, use the Image Resizer.

Can I convert a JPEG back to its original quality?

No. Detail a lossy format discards is gone, and no conversion recovers it. Converting a JPEG to PNG preserves what is left perfectly, which is not the same as restoring what was lost.

Is my file uploaded?

No. Your browser decodes it, redraws it and encodes it again on your own machine. The test suite for this page fails if any request the converter makes could carry the file.

Can I convert an AVIF to JPG or PNG?

Yes. AVIF is one of the formats this reads, alongside JPEG, PNG, WebP and GIF — it just is not one of the three this can write, so the target stays JPEG, PNG or WebP.

Can I convert an animated GIF?

You can choose one, but only its first frame is converted — the result is a single still picture, and the animation is not kept. The page says so as soon as you choose a GIF, before you pick a target.

  • Image Editor

    Crop, resize, turn, fix the light and add text to a picture in one place, with every step undoable — without uploading it.

  • Image Compressor

    Make a photo smaller without uploading it anywhere.

  • JPG to PDF

    Put photos and pictures into one PDF, a page each, in the order you choose, without uploading them.