Image Format Converter

Convert images between PNG, JPG and WebP — drag in one or many files, pick the output format, and download. Everything runs in your browser; nothing is uploaded.

Drag images here or click to browse

PNG · JPG · WebP · GIF · BMP · AVIF — convert one or many at once

How image format conversion works

When you add an image, the browser decodes it into raw pixels with createImageBitmap(). The tool draws those pixels onto an HTML canvas at full resolution, then calls canvas.toBlob() with your chosen MIME type — image/png, image/jpeg or image/webp — to re-encode them in the new format. The browser’s own image codecs do the encoding, so the output is standards-compliant and the file never leaves your tab.

  • To PNG — lossless: the exact pixels are preserved, including transparency.
  • To JPG — lossy: pixels are re-compressed at your quality setting, and any transparency is flattened onto the background colour you pick (white by default).
  • To WebP — lossy at quality < 100, with transparency kept. Usually the smallest file of the three at a matching quality.

PNG vs JPG vs WebP — which should you choose?

FormatCompressionTransparencyAnimationBest for
PNG Lossless Yes No (APNG rare) Logos, icons, screenshots, line art, anything needing transparency or pixel-perfect text.
JPG / JPEG Lossy No No Photographs and complex images where a small quality trade-off for a much smaller file is fine. Required by most exam / government upload forms.
WebP Lossy or lossless Yes Yes Modern websites — typically 25–35% smaller than JPG/PNG at the same quality, with transparency support. Backed by all current browsers.

Rule of thumb: WebP for your own website (smallest), PNG when you need transparency or crisp text, and JPG for photographs and anywhere a form demands it.

Common conversions

  • PNG to JPG — shrink a large screenshot or export for an upload form that only accepts JPEG. Remember the background colour replaces any transparency.
  • WebP to PNG — turn a downloaded WebP into a universally-supported PNG for older software or editors that can’t open WebP.
  • WebP to JPG — convert a modern web image into a JPEG for email, messaging or a legacy CMS.
  • JPG to WebP — re-encode photos to WebP to cut page weight and improve Core Web Vitals on your site.
  • JPG to PNG — get a lossless copy to edit without compounding JPEG artefacts (it won’t recover detail the JPG already lost).

Tips for the best results

  • Need a smaller file, not a new format? Use the Image Compressor or Compress to Target Size to hit an exact KB limit.
  • Need different dimensions? Convert here, then resize — or resize first if you’re also changing pixel size.
  • iPhone HEIC photos? Use the dedicated HEIC to JPG converter — HEIC needs a special decoder that this tool doesn’t bundle.
  • Quality 80–90 for JPG/WebP photos is visually identical to 100 but far smaller. Drop lower only when you must hit a tight size budget.
  • Keep transparency? Convert to PNG or WebP, never JPG.

Frequently asked questions

Are my images uploaded to a server?
No. Every image is decoded, redrawn and re-encoded entirely inside your browser using the built-in Canvas API — the files never leave your device and are never transmitted anywhere. That makes this safe for private photos, ID documents, screenshots and confidential design assets you would not want to upload to a stranger’s server.
What happens to transparency when I convert a PNG or WebP to JPG?
JPEG has no alpha channel, so it cannot store transparency. When you convert a transparent PNG or WebP to JPG, the see-through areas are filled with a solid background colour first — white by default, but you can change it with the background-colour picker. If you need to keep transparency, convert to PNG or WebP instead, both of which support an alpha channel.
Does converting between formats lose quality?
Converting to PNG is always lossless — no detail is lost. Converting to JPG or WebP re-encodes the pixels with lossy compression, so there is some loss, controlled by the quality slider (80–90 is visually identical to the original for most photos). Converting a JPG to PNG will not restore detail that the original JPG already discarded — it just stops further loss and gives you a lossless copy.
Can I convert several images at once?
Yes. Drag in or select multiple files and they are all converted to the chosen format in one go. Each result has its own Download button, and the “Download all” button saves every converted image in sequence. Everything is processed locally, so a large batch is limited only by your device’s memory, not by an upload.
Why is my WebP file smaller than the JPG or PNG?
WebP uses more modern compression than JPEG (lossy) and PNG (lossless), so at the same visual quality it is usually 25–35% smaller. That is why it is the recommended format for websites. The trade-off is that some older software (and a few upload forms) still expect JPG or PNG, so check what the destination accepts before choosing WebP.
Does it remove EXIF and GPS metadata?
Yes. Re-encoding through the canvas produces a clean image with no EXIF block, so the camera model, capture date and GPS location embedded by your phone are stripped automatically. This is a privacy benefit when sharing photos online. Keep your original file if you need to preserve that metadata.

Related tools

Explore more tools

Browse all 45 tools →