Esc
↑ ↓ to moveEnter to openEsc to close

Convert and compress tool

JPG to WebP converter

Lighter pictures for a website, shop or app. Re-encode a JPG photo as WebP on your device, then compare the two file sizes.

Your image

Processed on your device
Canvas support is required.

Live preview

Try the demo

WebP is set as the output at quality 88. If the WebP comes out bigger than the JPG, lower the quality a few points.

Choose your crop

Drag on the preview for a custom crop. The shaded edges will be removed. Need more room instead? Uncrop the photo.

PNG and WebP keep transparency.

Continue with this photo Christmas frameNew Year frame Uncrop a photoResizeCompressAdd text Open a photo first, then pick the next step. Your edit carries over and stays on this device.

Three steps

How to convert JPG to WebP

  1. Pick the JPG photo you want to make lighter.
  2. Keep WebP as the format. Lower the quality a few points if the file must shrink.
  3. Save the WebP and compare its size with the JPG in the note under the button.

Compare a lighter export without a promise.

WebP is a useful alternative to JPG for web images when the destination supports it. This page selects WebP output with an adjustable quality setting. The result may be smaller, but dimensions and image content are just as important as the file extension.

Start at a moderate-to-high quality and check faces, gradients, lettering and textured areas. A very low setting can add visible artifacts. The final file-size message lets you compare the actual WebP output with the original JPG instead of relying on an assumed reduction.

The conversion does not reconstruct detail lost to the JPG source. It also does not create transparency in an opaque photograph. If you only need fewer pixels, resize first; if the destination requires JPG, export that format instead.

Why websites switch photos to WebP

Google's own Search guidance points out that images are often the largest contributor to a page's size. Lossy WebP helps because it packs photos more tightly: in Google's comparison, WebP files came out 25 to 34 percent lighter than JPEG at matching quality. On a page with many photos, that adds up.

Format is only part of the saving. A phone photo is often several thousand pixels wide, while a blog column may show it far smaller. Google's web.dev advice is to resize images to the size they are displayed at, so choose the 1080 or 1920 px preset in Resize before you convert.

Every current major browser displays WebP, including Safari 14 and later on iPhone and iPad, and on Macs running macOS Big Sur or newer. Google Search indexes WebP images too, so switching formats does not hide your pictures from image search.

Choosing a quality that actually saves space

This page starts at 88 percent. You can often go a little lower, so try values between 75 and 85 percent and check faces, skies and fine texture at full size before you decide. The slider only affects the WebP, never your original JPG, so you can export several versions and keep the smallest one that still looks right.

Two settings tend to backfire. At 100 percent, Chrome, Edge and Firefox switch to lossless WebP, which carefully preserves the JPG's existing compression noise and usually ends up bigger than the JPG. A quality far above the JPG's own also inflates the file: Google's WebP FAQ gives the example of a JPEG saved at quality 80 growing when converted to WebP at 95.

You cannot see a JPG's original quality setting, so let the result guide you. When the WebP comes out bigger than your original JPG, the download message says so; lower the quality a few points and save again.

When to keep the JPG

WebP is not always the right swap. Stay with JPG when:

  • The destination asks for JPG, as official photo uploads often do.
  • You are on Safari, or any browser on an iPhone or iPad. Safari cannot encode WebP from a web page, so you would receive a PNG, which is usually larger than the JPG for a photo.
  • You need the camera details. The editor draws a fresh image, so EXIF data such as the date taken, camera model and location are not copied into the WebP.
  • The file is going to someone who may open it in older software without WebP support.

Use both on your own site

For your own pages you do not have to pick one. Put the WebP and the JPG in a picture element: browsers that understand WebP load it, and the rest fall back to the JPG. If a page must stay on JPG, compress image can still trim it, and the formats guide explains which format suits which job.

Questions

Will every JPG become smaller as WebP?

Most do, but not all. A JPG that is already heavily compressed, or a WebP quality set higher than the JPG's own, can produce a bigger file. The download message compares the result with your upload, so you can lower the quality and try again.

Does WebP add transparent areas to a JPG?

No. A JPG has no transparent pixels, so the WebP stays fully opaque. To make a cutout, clear a plain backdrop in the Background tab first; WebP will then keep the transparent areas you create.

Can I change the quality?

Yes. The slider runs from 20 to 100 percent and starts at 88 on this page. Lower values make smaller files with more visible artifacts. Avoid 100 percent for photos, because Chrome, Edge and Firefox then write lossless WebP, which is usually larger.

Is WebP better than JPG for SEO?

Google Search indexes WebP images just as it indexes JPG, so switching does not hurt image search. The gain is speed: Google notes that images are often the largest part of a page's size, and lighter files load sooner.

Does converting JPG to WebP keep EXIF data?

No. The editor draws your photo and encodes a brand new file, so EXIF details such as the camera model, date taken and GPS location are not carried over. That can help privacy, but keep the original JPG if you need the information.

Do WebP images work on iPhone?

Yes. iPhone and iPad have displayed WebP since iOS 14. Creating WebP in a browser is a different matter: Safari cannot encode it from a web page, so on an iPhone or iPad this page usually gives you a PNG. Use a computer with Chrome, Edge or Firefox.

Can I turn the WebP back into a JPG later?

Yes, with WebP to JPG, but every lossy save drops a little more detail. Keep your original JPG and make new WebP copies from it, rather than converting the same picture back and forth.

Sources: Google Search Central: Image SEO best practices, Google for Developers: An image format for the Web (WebP), Google for Developers: WebP frequently asked questions, web.dev: Serve images with correct dimensions, Chromium source: image_encoder.cc (WebP quality 1.0 selects lossless), Firefox source: nsWebPEncoder.cpp (quality 100 selects lossless), MDN: HTMLCanvasElement toBlob() (unsupported types fall back to PNG), MDN browser compatibility data: HTMLCanvasElement (toBlob image/webp not supported in Safari), MDN: The picture element, MDN: Image file type and format guide, Can I use: WebP image format

See all tools

Guides for this