JPG to WebP
Shrink JPG photos for your website by converting them to WebP, with the quality and size you choose, all on your device.
Drop JPG images here
Or any JPG, PNG, WebP, AVIF, SVG or HEIC, as many as you like. They become WebP files.
Your images are converted on this device and never uploaded. Location and other EXIF data are removed.
How this works: Method, 7 sources, Checked against 1 worked example,
How this works
Method
Each image is decoded by the browser itself (HEIC only where it opens HEIC, as Safari 17 and later does; the site ships no HEIC decoder, as HEVC is patented), turned upright, resized if asked and drawn on a canvas in a background worker, then written as JPG, PNG or WebP (libwebp where the browser can’t). The new file has no EXIF unless you keep it, GPS removed unless you keep all. SVGs are drawn through an image element, which runs no scripts and loads nothing they link to; JFIF files, already JPEGs, are copied byte for byte into a .jpg.
Sources
- Google for Developers: An image format for the Web (WebP)
- CIPA DC-008, Exif 3.0 (Exchangeable image file format)
- ISO/IEC 23008-12, Image File Format (HEIF) (Edition 2, 2022)
- AV1 Image File Format (AVIF), Alliance for Open Media (1.1.0, 2022)
- RFC 9649: WebP Image Format (2024)
- W3C: Portable Network Graphics (PNG) Specification (Third Edition, 2025)
- ITU-T T.81 | ISO/IEC 10918-1: JPEG (digital compression of continuous-tone still images) (1992)
How it’s tested
One worked example for this page is checked by automated tests before every release: given the inputs, the tool must show the expected answer.
Privacy
On your device. Nothing you enter or open leaves this browser. About privacy labels
Changes
- Added SVG to PNG (any size, transparent or coloured background, nothing the SVG links to is loaded) and JFIF to JPG (renamed without re-encoding).
- Browsers that can’t open HEIC say so before any file is chosen, with the quickest ways for the device and a QR code to carry on in Safari on an iPhone.
- HEIC now opens only where the browser reads it (Safari 17+), with tips elsewhere; the bundled HEIC decoder was removed because HEVC is covered by patents.
- First version: HEIC, WebP, AVIF, PNG, JPG, GIF and BMP to JPG, PNG or WebP, in batches with a ZIP, metadata removed by default, and nine conversion pages.
Getting smaller photos for the web
A JPG to WebP conversion recompresses a photo that was already compressed, so the gain depends on how the JPG was saved. A large JPG straight from a camera usually shrinks a lot; a JPG that was already squeezed hard may shrink only a little, and at high quality the WebP can even come out larger. Each row shows the result, so you can see.
Resizing often saves more than the format. A 4,000-pixel-wide phone photo shown in an 800-pixel column carries more than twenty times the pixels it needs. Fit the longest side to about twice the width it is shown at, for sharp screens, and then convert.
Phone photos stored sideways are turned upright first, using their EXIF orientation, and the GPS position and other EXIF data are removed by default, which is what you want for photos on a public website.
In Safari, which can’t write WebP from a canvas, the page loads a small WebP encoder the first time you convert.
Good to know
- Lossy WebP images are 25–34% smaller than comparable JPEGs at equal SSIM quality, in Google’s study. Source: Google for Developers: An image format for the Web (WebP)
- The Exif GPS block can hold latitude, longitude, altitude and a timestamp, which the converter leaves out by default. Source: CIPA DC-008, Exif 3.0 (Exchangeable image file format)
Open-source code inside, loaded only when needed: JPEGs are encoded with MozJPEG, PNGs packed with OxiPNG and WebP written with libwebp where the browser can’t. Pictures, HEIC included, are decoded by the browser itself. Licences and source
How to convert JPG to WebP3 steps, all on your device
- Drop the JPGs. Add the photos for your page: product shots, blog images, a gallery.
- Pick quality and size. Quality 80 to 90 suits most photos. Under More options, fit the longest side to the width your site shows, such as 1,600 pixels.
- Download the WebPs. Compare the sizes in the list, then save them one by one or as a ZIP.
Frequently Asked Questions
How much smaller is WebP than JPG?
Google measured 25 to 34 percent smaller at the same visual quality. Your results depend on the photo and how the JPG was saved; the list shows each file’s size before and after.
Should I keep the original JPGs?
Yes. Converting a lossy file to another lossy format loses a little detail, so keep the originals and convert again from them if you need another size or quality.
Is location data removed?
Yes, by default. The WebP is written from the pixels with no EXIF, so there is no GPS position, camera model or capture time in it.