Convert image format — WebP, PNG, JPG

Convert a batch of images from one format to another without uploading anything. The format list is generated from what your own browser can actually encode, so nothing offered here can fail silently. Everything runs on your device.

Drop images here or click to choose files  ·  JPG, PNG, WebP, GIF, BMP, AVIF, SVG
No images selected yet.
Your files stay on your device. Conversion uses the browser's own encoder, so nothing is uploaded and no copy is kept. Note that re-encoding always drops EXIF metadata — including GPS coordinates from phone photos — which is usually what you want for anything published online.

Which format should you convert to?

FormatBest forWatch out for
JPEGPhotographs, anywhere that must accept the fileNo transparency. Every save loses a little quality
WebPAnything going on a web page — typically 25–35% smaller than JPEGSome older upload forms and desktop applications reject it
PNGScreenshots, diagrams, logos, anything with text or flat colour, anything needing transparencyVery large for photographs, because it is lossless

The single most useful rule: is it a photograph, or is it text and flat colour? Photographs belong in JPEG or WebP. Screenshots, charts and logos belong in PNG. Getting this one decision right matters more than any quality setting, because JPEG applied to text produces ringing around every letter, and PNG applied to a photograph produces a file many times larger than it needs to be.

The transparency trap

JPEG has no transparency channel. That is not a limitation you can work around by choosing different settings — the format simply has nowhere to record that a pixel is see-through. When a PNG with a transparent background is converted to JPEG, those areas have to become some colour.

Most tools decide for you, and the usual answer is black, which is why people converting a logo end up with a black rectangle behind it. This tool asks instead: when you select JPEG as the output and the source has transparent areas, a background colour picker appears and a warning tells you it is being applied.

Two ways to avoid the problem entirely:

Why the format list here may be shorter than you expect

Not every browser can encode every format. WebP encoding in particular arrived at different times across browsers, and a few still cannot write it even though they can display it. Offering a format the browser cannot actually produce would mean a button that fails after you have clicked it, which is worse than not offering it at all.

So the list is built at page load by asking the browser to encode a single test pixel and checking what comes back. If WebP is missing from the list, your browser cannot write it — try Chrome, Edge or Firefox for that conversion.

Converting an animated GIF

Browsers expose an animated GIF to a canvas as its first frame only. Converting an animated GIF to another format here will produce a still image of the first frame, and the animation is lost. That is a limitation of the canvas API rather than of this tool, and no browser-based converter avoids it. For animation, use a desktop tool such as FFmpeg or ImageMagick.

Quality settings, briefly

Quality only applies to the lossy formats — JPEG and WebP. PNG is lossless, so there is nothing to adjust; the only lever is pixel dimensions.

Common mistakes

  1. Converting a PNG screenshot to JPEG to save space. It will be smaller, and it will also be blurry around every character. Use WebP instead if size is the concern — it handles flat colour and text far better than JPEG.
  2. Converting to PNG to "improve quality". Converting from a lossy format to a lossless one does not recover anything. The damage from the original JPEG compression is already in the pixels; PNG just stores it faithfully in a much bigger file.
  3. Converting repeatedly. Each JPEG or WebP pass costs quality. Always convert from the original file, not from a copy you converted earlier.
  4. Assuming WebP is universally accepted. Web support is now excellent, but upload forms, email clients and older desktop software are a different story. If a system rejects your file, converting to JPEG is the first thing to try.
  5. Expecting EXIF to survive. Re-encoding through a canvas drops metadata including the camera model, exposure settings and GPS location. Keep the original if you need those.

Questions

Are my files uploaded anywhere?

No. The conversion happens in your browser using the canvas API, and the file never leaves your device. Disconnect your network after the page loads and it still works — that is the test.

Can I convert HEIC files from an iPhone?

Only if your browser can decode them. Safari on macOS and iOS usually can; Chrome and Edge generally cannot. If a HEIC file does not load here, convert it to JPEG first using your phone's export options or a desktop tool.

Why is my converted file bigger than the original?

Most often because the output format is less efficient than the input. Converting a WebP to PNG, or a well-compressed JPEG to PNG, will grow the file substantially. It can also happen if you convert from a low-quality original at a high quality setting — the encoder cannot recover detail, but it will faithfully store the existing pixels, including the noise.

Does converting remove the transparency?

Only if the target format cannot store it. Choose PNG or WebP to keep transparency; choose JPEG and the transparent areas are filled with the background colour you pick. The tool warns you when this is about to happen.

Can I convert several files at once?

Yes — drop in a batch and they are all converted with the same settings. Download them individually, or use the zip button to get them all in one file. Keeping the settings identical across a batch is usually what you want anyway, since images destined for the same place should agree.

Related