Tips・Publishing your work

How to convert images to WebP

You've heard WebP is lighter—but how do you actually convert to it? Free, sign-up-free methods, split into "one image done carefully" and "dozens at once." Includes what the built-in Windows and Mac apps can do.

Converting to WebP takes a few dozen seconds with a free web tool. No install, no sign-up. Here’s how to choose.

What you want to doWhat to use
Finish one or a few images carefullySquoosh—decide while comparing quality side by side
Convert dozens at onceBulk Resize Photos—no limit on the number of files
Do one quickly on WindowsPaint—the built-in app can save it
Images going into WordPressA plugin—converts automatically on upload
TipsHow to choose an image format (JPG, PNG, WebP, SVG)Which format should you pick in the first place? Choosing between JPG, PNG, WebP and SVG

Squoosh—converting one image carefully

An image conversion tool published by Google. Its biggest strength is that you can compare the original and the converted version side by side, so you can see with your own eyes how far you can push the quality down. Images are processed entirely on your computer and never uploaded anywhere.

The Squoosh editing screen. A divider down the middle shows the original on the left and the converted image on the right, with WebP selected as the format in the right-hand panel
Set the format to WebP in the right-hand panel and it converts on the spot. In this example a 62.3kB image became 14.2kB (77% smaller).

Squoosh

Four steps.

  1. Drag and drop the image onto the page
  2. Choose WebP in the Compress menu on the right
  3. Move Quality and compare the two sides to decide (around 75 is a good target)
  4. Save with the blue download button at the bottom right

Bulk Resize Photos—converting dozens at a time

For batch conversion this is the clear winner. There’s no limit on the number of files, and conversion happens entirely on your computer (which is faster, since nothing is uploaded). No sign-up either.

The Bulk Resize Photos settings screen, with WEBP chosen in the image format menu and quality set to 75%
Choose WEBP under image format and press start. The converted files download together as a ZIP.

Bulk Resize Photos

  1. Use “Choose Images” and select all the images you want to convert
  2. Choose WEBP under image format
  3. If you’re not changing dimensions, set the percentage to 100 (lower it here if you also want to scale down)
  4. Leave quality around 75 and press start—a ZIP downloads

The name says “resize,” but being able to scale down and convert format in one pass is this tool’s strength. File names stay the same with only the extension changing to .webp, so updating your references afterwards is straightforward.

Can the built-in apps convert? (Windows and Mac)

If software already on your computer can do it, that’s the easiest route. Support breaks down like this.

SoftwareSaving as WebP
Paint on Windows 11Yes—choose WebP as the file type under “Save as”
Preview on MacNo—it opens WebP but can’t export it
PhotoshopYes—supported natively from the 2022 versions onward
GIMP (free software)Yes—specify .webp under “Export As”

Only Mac can’t convert with a built-in app, so the web tools above are the quick answer there.

Don’t forget these after converting

Update the src in your HTML

The extension changes, so update whatever loads it. Forget this and the images stop displaying.

<img src="images/photo.jpg" alt="A photo of Shima">   <!-- before conversion -->
<img src="images/photo.webp" alt="A photo of Shima">  <!-- after conversion -->

The same goes for images set as background-image in CSS. Searching for the converted file names and replacing them all at once is the reliable approach.

Keep the originals

WebP’s default is lossy compression that discards information, so quality drops every time you convert again. Keep the original JPGs and PNGs in a separate folder and convert only the copies you publish—that’s the safe workflow.

Fallback images are no longer necessary

You’ll see guides saying “prepare a JPG as well for browsers that don’t support WebP,” but every major browser supports WebP now. On a personal site, you don’t need to bother preparing two files with a picture element.

WordPress can automate this

WordPress has plugins that automatically convert uploaded images to WebP (EWWW Image Optimizer is a standard choice). They can also convert the images already in your media library in bulk, so the more articles you have, the bigger the payoff.

TipsMaking WordPress faster (in order of impact)What to do when WordPress feels slow, ordered by impact

Don’t stop at converting—scale down too

Even as WebP, a 4000px-wide phone photo is still heavy. Scale down to about twice the width you display it at before converting and the file size drops dramatically.

TipsMake images lighter to speed up your pageHow to scale down and compress, and what file sizes to aim for

Summary

  1. Squoosh for one image, Bulk Resize Photos for many—both free, no sign-up, nothing uploaded
  2. Start quality at around 75. For transparent illustrations, try Lossless too and take whichever is lighter
  3. After converting, update your src references and keep the originals—always as a pair

FAQ

Does converting to WebP reduce image quality?
At the default (lossy) setting it drops slightly, but at a quality of around 75 it looks essentially identical. Squoosh lets you compare the original and the converted version side by side, so you can decide with your own eyes. When you want quality preserved exactly, choose Lossless.
Does transparency survive when I convert a transparent image to WebP?
Yes. WebP handles transparency just like PNG. If your tool has an option like "keep transparency," check that it's enabled.
I want to convert photos taken on an iPhone (HEIC) to WebP.
Browsers often can't read HEIC, so web-based converters may fail to open them. The reliable route is to set Settings → Camera → Formats to "Most Compatible" so you shoot JPG, or to export to JPG first and convert from there.
I converted to WebP but the file size barely dropped.
If the original was an already-compressed JPG, there's little room left to gain. What does help is reducing the image's pixel dimensions. A 4000px-wide phone photo stays heavy if it's still 4000px wide after conversion.
Should I convert logos and icons to WebP too?
Logos and icons are best left as SVG. SVG's whole appeal is that it doesn't degrade when scaled up, and converting to WebP throws that away. Converting photos, illustrations and screenshots is enough.
Can I delete the original JPG or PNG after converting?
Keep them. WebP's default is lossy compression that discards information, so you can't get back to the original quality from it. Store originals in a separate folder and convert only the copies you publish.