Feedback

JPG to WebP

Converts JPG photos to WebP, one by one or a whole folder at once. If you want, it creates several widths and a picture element with JPG as the fallback.

Drop images or folders here

or

Images are processed in your browser and never uploaded. Metadata (including GPS) is removed unless you choose “Keep metadata”.

Output format

With nothing selected, each file keeps its format. Several formats produce a picture element. Only a few browsers show JPEG XL by default so far (Safari 17 and later). It only appears in the markup as an extra source.

Size, multiple formats and markup
Size
Markup for your site

Replace alt="" with a fitting alternative text.

Before After

From the Solo plan

Once the images are replaced, daily measurement in a plan shows the effect: lab and field data per URL over time, with an email on drops and optionally on improvements.

WebP as an alternative to JPG

At similar quality WebP usually compresses photos more compactly than JPG, and all current browsers show it. With a picture element older browsers still get the JPG and everyone else the smaller WebP.

Images for websites: sizes, formats and srcset

An image should only be as wide as it is displayed. The responsive series creates widths from 480 to 1,920 pixels, and the browser picks the right one through srcset and sizes. The picture element lists AVIF first, then WebP, with JPG or PNG in the img element as the fallback.

width and height on the img element reserve the space before the image loads and so prevent layout shifts (CLS). For the largest image in the visible area, usually the LCP element, the "LCP image" option sets fetchpriority="high" and leaves out loading="lazy".

Processing in your browser

All images are processed on your device, nothing is uploaded. Metadata such as camera data and GPS coordinates is removed unless you choose “Keep metadata”, and the orientation is applied to the pixels first. The limit is your device's memory and processor; images over 50 megapixels are skipped.

After a run the compressor can send anonymous numbers: format, size, pixel dimensions, savings and duration, never file names or images. The switch below the drop zone turns this off; with Global Privacy Control active it is off from the start.

Other formats

FAQ

Is WebP smaller than JPG?

For photos usually yes, depending on the subject. The list shows the size before and after for every image.

Which WebP quality should I choose?

"Balanced" uses quality 75 with method 4. For photos with fine detail, check the before and after view.

How do I add WebP with a JPG fallback?

With a picture element: WebP as the source, JPG in the img. The compressor writes this markup with width and height.

Are my images uploaded?

No. Processing runs entirely in your browser. At most anonymous numbers (format, size, savings) go to PerfDelta, and you can turn that off.

How many images can I compress at once?

There is no fixed limit. Your device's memory and processor set the limit.

More free tools

All free tools →

Third-party licenses

Encoding uses jSquash (Apache-2.0) with mozjpeg, libwebp, libavif, libjxl and oxipng, plus UPNG.js and fflate (MIT). Full license texts: THIRD_PARTY_LICENSES.txt

A free account saves your tests and shows how your values change from one test to the next. Daily monitoring with field data and alerts starts with the Solo plan.