Image Format Converter

Convert images to JPG, PNG or WebP online: PNG to JPG, JPG to PNG, WebP, GIF, AVIF and HEIC input. Batch convert with quality control and ZIP download.

Runs in your browser. Files never leave your device.
Choose images to convertPNG, JPG, WebP, GIF, BMP, AVIF (HEIC where your browser supports it)
Step-by-step guideHow to Convert WebP to PNG Without Changing Image Dimensions

About the Image Format Converter

Convert images between JPG, PNG and WebP. Maybe an upload form only takes JPEG and you have a PNG, or you want a PNG working copy of a JPG before editing, or a WebP for a website. GIF, BMP and AVIF pictures convert too, as do HEIC iPhone photos in browsers that can open them.

Add as many images as you like, up to 50 MB each, pick the format and press Convert once for the whole list. Each file keeps its pixel size, the list shows the old and new file size side by side, and several results download together as one ZIP.

How the image converter works

Each image is opened by your browser's own decoder, the same one it uses to show pictures on web pages. The decoded pixels are drawn onto a canvas of exactly the same width and height, and the canvas is then saved again in the format you chose. Nothing is resized or cropped along the way. For PNG output from a picture with see-through parts, such as a logo or a cut-out, the pixels are read through WebGL instead and the PNG is written directly, because a canvas rounds the colour of semi-transparent pixels; in our tests every pixel then matched Google's own WebP decoder exactly.

JPG and WebP are lossy formats, so they take a quality setting from 40% to 100% (92% by default). Higher numbers keep more fine detail and give bigger files; around 80-90% is usually hard to tell apart from the original. PNG is lossless, so it has no quality setting: every pixel is stored exactly, which makes PNG the right choice for screenshots, logos and text, and a heavy choice for photos.

JPG has no way to store transparency, so for JPG output the canvas is filled with white first, so transparent parts of a PNG or WebP become white instead of black. Converting to PNG or WebP keeps transparency as it was.

decode original  →  canvas (same width × height)
  → JPG:  fill white, then encode at quality q (40-100%)
  → WebP: encode at quality q, transparency kept
  → PNG:  encode lossless, transparency kept
new name = original name + .jpg / .png / .webp

If the browser can't write the format you picked, you get a message saying so instead of a file with the wrong extension. That happens most often with WebP output in some versions of Safari; choose JPG or PNG there, or use another browser.

Assumptions and limits

  • Output formats are JPG, PNG and WebP. Browsers can't create GIF, BMP or TIFF files, so GIF and BMP are accepted as input only.
  • An animated GIF or WebP is saved as a still image of its first frame.
  • HEIC and HEIF photos only open where the browser itself can read them (Safari on recent iPhones and Macs). Elsewhere you'll see a message; on iPhone, Settings › Camera › Formats › Most Compatible makes the camera save JPG.
  • Metadata such as EXIF dates, camera details and GPS location isn't copied into the new file, because only the pixels are re-saved.
  • Converting a JPG to PNG doesn't bring back detail the JPG already lost; it only stops further loss from now on.
  • Each image can be up to 50 MB. Phones limit how big a canvas can be, so a very high-resolution picture may fail to convert there while it works on a computer.

Worked examples

PNG to JPG for an upload form

A 2000 × 2000 product photo exported from an editor as PNG can weigh several megabytes, because PNG stores every pixel exactly. Choose JPG at 85% and the converted photo is usually a fraction of that, often small enough for forms with a 1 MB or 2 MB limit. If the PNG had a transparent background or shadow, that area becomes white.

JPG to PNG before editing

Each time a photo is saved as JPG it picks up a little more blur. Convert it to PNG once, edit the PNG as often as you like, and go back to JPG only at the end. Expect the PNG to be several times bigger than the JPG: a 3 MB phone photo can easily become 10 MB or more as PNG.

A batch of product photos to WebP

Add 30 JPG product shots, choose WebP at 80% and convert. The progress bar counts through the files one by one, and the list shows each file's new size and how much smaller it is. Download all gives you converted-images.zip with the same names ending in .webp.

red-shoe.jpg   → red-shoe.webp   (new size and % smaller shown in the list)
logo-dark.png → logo-dark.webp  (transparent background kept)
all files     → converted-images.zip

What happens in each conversion

Both directions for the common pairs. Sizes depend on the picture, so these are tendencies, not guarantees.

From → ToTransparencyQualityFile size tends to
PNG → JPGBecomes whiteLossy, set by the sliderShrink a lot for photos, less for flat graphics
JPG → PNGNone to keepLossless from here onGrow, often several times
JPG → WebPNone to keepLossy, set by the sliderUsually shrink at a similar setting
WebP → JPGBecomes whiteLossy, set by the sliderOften grow
PNG → WebPKeptLossy, set by the sliderShrink a lot
WebP → PNGKeptLossless from here onGrow
GIF → PNGKept (first frame only)LosslessSimilar or larger
HEIC → JPGNone to keepLossy, set by the sliderGrow (opens in Safari only)
AVIF → JPG or PNGWhite (JPG) or kept (PNG)Depends on targetGrow

How to use the Image Format Converter

  1. Add your images. Drop or choose one or more pictures in PNG, JPG, WebP, GIF, BMP or AVIF (HEIC where your browser opens it); use Add images to put more in the list.
  2. Pick JPG, PNG or WebP. Use the Convert to tabs, and for JPG or WebP move the Quality slider if you want a smaller file or more detail.
  3. Convert and download. Press Convert, check the new sizes in the list, then download each file or all of them as a ZIP.

Frequently asked questions

How do I convert PNG to JPG without a black background?

Choose JPG as the target. This converter paints a white background behind the image before saving, so any transparent areas of the PNG come out white. If you need to keep the transparency itself, convert to WebP or keep the file as PNG, because JPG has no way to store it.

Does converting JPG to PNG improve the quality?

No. The PNG is an exact copy of the pixels the JPG already had, including any blur or blocky edges from earlier compression. What PNG does give you is that further edits and saves don't lose anything more, which is why it's useful as a working copy.

What quality should I use for JPG or WebP?

80-90% for photos you'll share or upload. The file shrinks noticeably and the picture looks the same at normal viewing size. Use 92-100% for prints or images you'll edit again, and drop to 60-70% only when a strict file size limit matters more than fine detail.

Can I convert an image to GIF here?

Not at the moment. Web browsers can read GIF files but can't write them, so the converter offers JPG, PNG and WebP as outputs. You can still convert a GIF into one of those three; an animated GIF becomes a still picture of its first frame.

How do I convert HEIC photos from my iPhone to JPG?

Open this page in Safari on an iPhone, iPad or Mac, add the HEIC photos and convert them to JPG. Chrome, Edge and Firefox can't decode HEIC here, so use HEIC to JPG in those browsers, which converts it on your device. To avoid HEIC in future, set the iPhone camera format to Most Compatible.

Are my images uploaded when I change the format?

No. Your browser does the conversion on your own phone or computer and creates the new files there. Once the page has loaded, a large batch depends on your device's speed rather than your internet connection.

This tool runs entirely in your browser. What you enter or upload stays on your device and is never sent to our servers.