App-Kit
Imageswebphow-to

How to convert WebP to JPG: 4 ways, measured

Written by Dmitry Chernenko
Oct 31, 2026 · 6 min read · Guide
000

To convert WebP to JPG, open the file in Preview on a Mac or in Paint on Windows and save it as JPEG. For a folder, one sips or ffmpeg command does it; inside a service, one API call. In our test a 4000×3000 photo took 0.2–0.4 s. Note that the JPG is bigger, and transparency and animation are lost.

What WebP is and why apps reject it

WebP is an image format from Google built on the VP8 video codec. It supports lossy and lossless compression, transparency and animation. Nearly every browser shows it: per caniuse, 96.7% of users.

Sites and CDNs serve WebP instead of JPG so pages load faster. That is why "Save image as" often puts a .webp on your disk. Then you need the file in an old editor, an office document, a marketplace upload form or a print service, and it gets rejected.

Don't trust the extension: the contents define the format, not the name. Check the file with file photo.jpg on macOS or Linux. For WebP it prints "RIFF (little-endian) data, Web/P image" — we checked this on three test files.

Way 1 — Preview on a Mac or Paint on Windows

For one file, the built-in apps are enough. On macOS 11 Big Sur and later, Preview opens WebP:

  • Open the .webp file in Preview
  • Choose File → Export
  • Set Format to JPEG and pick the quality with the slider
  • Click Save, and a .jpg appears next to the original

On Windows 10 and 11, Photos and Paint open WebP through the WebP Image Extensions package. It is usually there already; if not, get it from the Microsoft Store. In Paint, choose File → Save as → JPEG picture.

Several files in Preview: open them together, select the thumbnails in the sidebar and choose File → Export Selected Images.

Way 2 — one terminal command

The command line beats any window on speed and fits into scripts. Every Mac ships with sips. ffmpeg takes one command: brew install ffmpeg on a Mac, sudo apt install ffmpeg on Debian and Ubuntu, winget install Gyan.FFmpeg on Windows.

bashwebp → jpg
# macOS, nothing to install
sips -s format jpeg -s formatOptions 85 photo.webp --out photo.jpg

# ffmpeg
ffmpeg -i photo.webp -q:v 3 photo.jpg

We timed both tools and our API on the same file: a 4000×3000 photo saved as WebP at quality 80 with cwebp, the reference Google encoder. The WebP weighs 1.52 MB. The machine was a Mac with an M1 Max, best of three runs:

MethodTimeJPG sizeTransparent areas
sips, quality 850.20 s3.60 MBWhite
ffmpeg 9.0, -q:v 30.36 s1.84 MBHidden pixel color
App-Kit API, quality 85server side2.03 MBHidden pixel color

The same "quality 85" gave 3.60 MB in sips and 2.03 MB from the API: each tool has its own quality scale. Compare the output files, not the number in the setting. Our API also returns a progressive JPEG, which renders on a page in passes.

Way 3 — batch-convert a folder

For hundreds of files, wrap the command in a loop. The first option runs on any Mac as is. The second runs wherever ffmpeg does, including a Linux server and Docker.

bashbatch
# macOS: every WebP in the folder → JPG
for f in *.webp; do
  sips -s format jpeg -s formatOptions 85 "$f" --out "${f%.webp}.jpg"
done

# ffmpeg: the same on Linux and in Docker
for f in *.webp; do
  ffmpeg -loglevel error -i "$f" -frames:v 1 -q:v 3 "${f%.webp}.jpg"
done
JPG has no transparency. In our test sips filled transparent areas with white, while ffmpeg and our API exposed the color of the hidden pixels, so a background you never saw showed up. Need transparency? Save as PNG.

Animated WebP

A JPG holds one frame. From a 12-frame animated test WebP, sips silently kept the first frame. ffmpeg 9.0 failed without the -frames:v 1 flag and kept the first frame with it. For the whole animation, pick GIF or MP4, not JPG.

Way 4 — the App-Kit API

If the conversion runs inside a service or an AI assistant, you do not need ffmpeg. The image_convert tool in the App-Kit MCP server takes a WebP by URL or upload and returns JPEG, PNG, GIF, BMP or TIFF. You set quality from 1 to 100 and can downscale the long side in the same call.

The server plugs into Claude, Cursor and other MCP clients with the address from the setup guide. In our run the 4000×3000 photo came back as a 2.03 MB JPEG. The free tier covers a few conversions a day, and quota_status shows what is left.

Which way to pick

JobWayWhy
One or two filesPreview or PaintNothing to install
A folder on a MacA loop with sipsBuilt into macOS, 0.2 s per photo
A server, script or CIffmpegRuns on Linux and in Docker
A service or AI assistantApp-Kit APIOne call, nothing to install
You need transparencyPNG instead of JPGJPG cannot store it
0.20 s
sips on a 4000×3000 photo
+138%
sips JPG vs the source WebP
+21%
ffmpeg JPG vs the source WebP
96.7%
of browsers show WebP

The bigger file is the price of compatibility. At 1600×1200, the size that actually ships to a page, the WebP was 324 KB and the sips JPG was 722 KB. So convert only the copies a JPG-only app needs, and keep WebP on your site.

The reverse job: WebP for your site

If you run a site, JPG is only a fallback. Our converter takes JPG, PNG and HEIC and saves WebP or AVIF, and the compressor cuts weight without changing the format. The mini version below turns a JPG, PNG or GIF into WebP.

embedded tool · same engine as /tools/image-converter
Convert to WEBPOpen the full tool →

Drop your image here

or click to browse

JPG · PNG · WebP · GIF · up to 100 MB · 1 file

FAQ

Does WebP to JPG lose quality?

Yes, a little: JPG runs a new lossy pass. At quality 85 and up, the eye usually sees no change. If the file will be edited again, save a PNG copy.

Why is the JPG bigger than the WebP?

WebP compresses better than JPG. In our test a 1.52 MB WebP became a 3.60 MB JPG in sips and 1.84 MB in ffmpeg. The result depends on the tool and its quality scale.

How do I save WebP as PNG and keep transparency?

Ask for PNG output: dwebp photo.webp -o photo.png from the libwebp package, or sips -s format png. Transparency stays. The cost is size: our 4000×3000 photo took 15.09 MB as PNG versus 1.52 MB as WebP.

Can I download an image from a site as JPG right away?

The server picks the format from the browser's Accept header, so the save button will not help. It is simpler to save the WebP and convert it with one of the ways above. That takes seconds.

Can I open WebP without converting it?

Yes. Drag the file into Chrome, Firefox or Safari and the browser shows it right away. You only need to convert for apps and services that reject WebP.

Next: formats and sources

Dmitry Chernenko
Senior Full-Stack Engineer · App-Kit

Ships App-Kit tools end to end — from the widget UI to the processing core. Writes about practical image workflows.

Join the discussion

Comments are coming to the App-Kit blog soon. Got a correction or a question?

Send feedback

Read also