Skip to content

JPG to WebP

Convert JPG photographs to WebP to cut page weight, in batches if you like. No account, no sign-up, and nothing is kept once the result reaches you.

Files

Drop images here

PNG, JPEG, WebP, GIF, BMP, AVIF, TIFF, SVG, ICO — mix as many formats as you like. Files are converted on our server and deleted the moment the result is sent back; nothing is stored and nothing is looked at.

Convert to

WebP is lossy — quality trades detail for size. Transparency is kept.

Converting JPG to WebP is the one case where you are compressing something that has already been compressed. The detail JPEG discarded is gone before this tool sees the file, so the honest goal is a smaller download rather than a better picture. On typical photographs WebP reaches the same perceived quality at a noticeably lower size, which is why it is the usual choice for images served to browsers.

How it is calculated

canvas.toBlob(callback, "image/webp", quality)

The JPEG is decoded to pixels and re-encoded as WebP at the quality you pick. Because this is a second lossy pass, a very low quality setting shows artefacts sooner than it would on an untouched original.

Source: MDN HTMLCanvasElement.toBlob() — quality is a number between 0 and 1 for lossy formats

Questions people ask

Does converting twice make the image worse?
Slightly, yes. Both JPEG and WebP are lossy, so re-encoding adds a second round of approximation on top of the first. At quality 80 and above the difference is hard to see, but repeatedly converting the same file back and forth will visibly degrade it.
How much smaller will the file be?
It depends on the picture, and this tool shows you the actual before and after size rather than promising a number. Photographs with smooth gradients tend to gain the most; images that were already heavily compressed gain the least.
Does the EXIF data survive?
No. The image is decoded to raw pixels and re-encoded, which drops camera metadata, GPS coordinates and orientation tags. That is a privacy benefit when publishing, but keep the original if you rely on that information.
Can I convert several files at once?
Yes. Drop in as many images as you like and every one of them comes out as WebP. They may be different formats — PNG, JPEG, WebP, GIF, BMP, AVIF, TIFF, SVG, ICO can sit in the same list — because each file is converted on its own. Download them one by one, or take the whole batch as a single .zip.
What if I want PNG or JPEG or GIF or AVIF or TIFF instead of WebP?
Pick it under "Convert to". This page opens on WebP because that is the conversion it is named after, but PNG and JPEG and GIF and AVIF and TIFF are one click away, and the options underneath follow whichever you choose — quality appears for the formats that are lossy, a background colour for the ones that cannot store transparency.

Sources

The documents this page reads its numbers out of, linked so you can check them yourself.

  1. MDN HTMLCanvasElement.toBlob() — quality is a number between 0 and 1 for lossy formats
  2. MDN image file type guide — JPEG is lossy, WebP is lossless or lossy

Found a problem, or want more?

A number that disagrees with its source is a defect, not a rounding preference.

What did you enter, what did the tool show, and what did you expect instead? If you have a source that disagrees with ours, a link to it is the most useful thing you can send.

Copies the page and tool details so you can paste them wherever you report it.

Related tools

File Arsenal

Converters for images, documents and video. Files are converted on our server, held only in memory for the seconds the work takes, and never written to disk or kept afterwards.

Sources: MDN image format guides and W3C specifications. Conversion runs on our own server with libvips — no third party ever receives your file.