Convert an image

Between JPG, PNG, WebP and AVIF — with only the formats this browser can genuinely produce on the list.

Your file never leaves this device. There is no upload step — the work happens in this browser tab.

Drop the image inAnything the browser can decode works as input, including HEIC on Apple devices and AVIF nearly everywhere.
Choose the output formatThe list only shows formats this browser can actually encode — capability is tested rather than assumed.
DownloadThe readout shows the new size, so the trade you are making is visible before you make it.

Which format, in one paragraph each

JPG is for photographs. It discards detail to get small, which suits continuous tone and ruins hard edges. It cannot store transparency; anything transparent becomes white.

PNG is lossless. Every pixel survives exactly, transparency is supported, and files are large for photographic content — often ten times a JPG of the same picture. Right for screenshots, logos, diagrams and anything with text.

WebP does both jobs: lossy like JPG but smaller at the same quality, with transparency. Supported everywhere that matters now. It is the sensible default for the web if you do not need to hand the file to someone who will open it in older desktop software.

AVIF is smaller again, often dramatically, and slower to encode. Browser support for viewing is broad; support for writing is not, which is why it may not appear in the list here.

Why the list changes between browsers

This tool asks the browser to encode a two-pixel test image in each format and checks what actually comes back. Safari, for instance, cannot write AVIF, so on Safari AVIF is absent from the menu rather than present and silently producing a PNG with the wrong file extension.

That failure mode is more common than it should be, and it is nasty: you get a file that looks converted, is named as though it were converted, and is not. Testing capability rather than sniffing the browser avoids it entirely.

What conversion cannot undo

Converting a JPG to a PNG does not restore the detail JPEG discarded. The result is a lossless copy of a lossy image — larger, and no better. Going the other way loses more each time, so a picture converted back and forth repeatedly degrades visibly. Convert from the best original you have, once.

Transparency is lost the moment you convert to JPG, replaced with white. If a logo needs a transparent background, PNG and WebP are the only options here.

Everything here happens in this browser tab. The image is decoded, redrawn and re-encoded by the Canvas API on your own device, and the result is assembled in memory and handed to you as a download. Nothing is uploaded, which you can confirm in about fifteen seconds with the network panel open.

Questions

What people ask about converting

Why is AVIF missing from the list?

Because this browser cannot write it. The tool encodes a test image in each format and only offers the ones that genuinely come back correct — better than handing you a file that claims to be an AVIF and is not.

Does converting to PNG improve a JPG?

No. PNG will preserve exactly what is there, including the detail JPEG already discarded. You get a larger file of identical quality.

What happens to transparency when I convert to JPG?

It becomes white, because JPG has no alpha channel. Use PNG or WebP if the transparent background matters.

Is WebP safe to use now?

For the web, yes — every current browser displays it. Some older desktop applications still do not open it, so JPG or PNG remains safer for a file someone will download and edit elsewhere.

Can I convert HEIC photos from my iPhone?

If your browser can decode HEIC — Safari on Apple devices can — then yes, and converting to JPG or WebP makes them openable everywhere.