Free converter · Lossy re-encode
Convert HEIC to WebP
Short answer
Drop your HEIC file into the converter below and download the WebP file. It runs in your browser with libheif compiled to WebAssembly; nothing is uploaded. The file is re-encoded to A lossy WebP at 92% quality; transparency is kept.
Nothing is uploaded: the photos are decoded and saved in your browser. The converted file does not carry the original's metadata, such as the date or location.
HEIC decoded in your browser and saved as WebP at 100%, 92% or 80% quality. · Lossy re-encode · Browser-side with libheif (WebAssembly) - nothing uploaded.
Key takeaways
- At the same quality setting (92%), the WebP was 2% to 20% smaller than the JPEG of the same picture.
- It also scored lower: SSIM 0.966 to 0.972, against 0.984 to 0.989 for the JPEG. The two scales are not the same, so compare results, not quality numbers.
- WebP is lossy here, so this is a second lossy step after HEIC. Use it for websites; for sharing with people, JPG opens everywhere.
- Your photos never leave the device, and several files can be converted at once.
Measured: HEIC to WebP
Measured in headless Chromium with the converter's own code: libheif 1.23 compiled to WebAssembly decodes the file, then the browser's canvas encoder saves it, as in the converter on this page. We had no phone files we could publish, so the HEIC files were made from three public domain NASA scans (a 3840 × 3877 photo, a 2122 × 2644 portrait and a 3827 × 1588 document scan) with libheif's HEVC encoder at three quality settings. A real iPhone file is encoded differently, so its size will differ. SSIM compares each result with an independent decode of the same HEIC file (1.0 would be identical).
| Test file | HEIC | WebP 92% | SSIM | JPEG 92% | SSIM |
|---|---|---|---|---|---|
| Portrait | 1.17 MB | 689 KB | 0.968 | 860 KB | 0.987 |
| Document scan | 1.71 MB | 1.04 MB | 0.972 | 1.28 MB | 0.984 |
| Photo | 4.35 MB | 3.53 MB | 0.966 | 3.58 MB | 0.989 |
A quality number means different things in different encoders, so matching 92% does not mean matching quality. The SSIM column shows what was actually kept.
Measured: how long decoding takes
Measured in headless Chromium with the converter's own code: libheif 1.23 compiled to WebAssembly decodes the file, then the browser's canvas encoder saves it, as in the converter on this page. We had no phone files we could publish, so the HEIC files were made from three public domain NASA scans (a 3840 × 3877 photo, a 2122 × 2644 portrait and a 3827 × 1588 document scan) with libheif's HEVC encoder at three quality settings. A real iPhone file is encoded differently, so its size will differ. SSIM compares each result with an independent decode of the same HEIC file (1.0 would be identical).
| Test file | Pixels | HEIC size | First decode | Second decode |
|---|---|---|---|---|
| Portrait, HEIC quality 50 | 2122 × 2644 (5.6 MP) | 437 KB | 0.5 s | 0.3 s |
| Portrait, HEIC quality 75 | 2122 × 2644 (5.6 MP) | 1.17 MB | 0.6 s | 0.4 s |
| Portrait, HEIC quality 90 | 2122 × 2644 (5.6 MP) | 2.29 MB | 0.8 s | 0.6 s |
| Document scan, HEIC quality 50 | 3827 × 1588 (6.1 MP) | 649 KB | 0.5 s | 0.3 s |
| Document scan, HEIC quality 75 | 3827 × 1588 (6.1 MP) | 1.71 MB | 0.6 s | 0.5 s |
| Document scan, HEIC quality 90 | 3827 × 1588 (6.1 MP) | 2.81 MB | 0.8 s | 0.6 s |
| Photo, HEIC quality 50 | 3840 × 3877 (14.9 MP) | 1.75 MB | 1.1 s | 0.9 s |
| Photo, HEIC quality 75 | 3840 × 3877 (14.9 MP) | 4.35 MB | 1.4 s | 1.2 s |
| Photo, HEIC quality 90 | 3840 × 3877 (14.9 MP) | 7.80 MB | 1.8 s | 1.6 s |
Decoding took 0.5 s to 1.8 s for 5.6 MP to 14.9 MP pictures. A phone photo of 12 megapixels sits inside that range. Your device will differ, and phones are usually slower than a desktop.
Measured: is the decoded picture right?
The decoder was checked against a second, independent decode of the same files (the Python package pillow-heif, which also uses libheif). Every pixel of every color channel was compared.
| Test file | Largest difference | Average difference |
|---|---|---|
| Portrait, HEIC quality 50 | 12 | 0.361 |
| Portrait, HEIC quality 75 | 4 | 0.007 |
| Portrait, HEIC quality 90 | 2 | under 0.001 |
| Document scan, HEIC quality 50 | 13 | 0.290 |
| Document scan, HEIC quality 75 | 5 | 0.001 |
| Document scan, HEIC quality 90 | 2 | under 0.001 |
| Photo, HEIC quality 50 | 12 | 0.285 |
| Photo, HEIC quality 75 | 3 | 0.003 |
| Photo, HEIC quality 90 | 2 | under 0.001 |
The largest single-pixel difference was 13 out of 255 and the average was under 0.4. Differences like this come from how two builds round the final conversion from the HEVC color format to RGB. Lossless PNG output of the 75 quality files scored SSIM 0.9999 or better against the reference.
HEIC vs WebP
| HEIC | WebP | |
|---|---|---|
| Full name | High Efficiency Image Container (HEIF with HEVC) | WebP (Google) |
| What is inside | Photos compressed with the HEVC (H.265) codec | Lossy or lossless compressed pixels |
| Compression | Lossy | Lossy or lossless |
| Transparency | Transparency supported | Transparency supported |
| Best for | iPhone and iPad photos: Apple says it compresses better than JPEG at the same visual quality | Smaller images on websites; social platforms mostly document JPEG and PNG instead |
What you get
A lossy WebP at 92% quality; transparency is kept. HEIC decoded in your browser and saved as WebP at 100%, 92% or 80% quality.
When WebP is the right choice
- You are putting photos on your own website and want smaller files.
- You need transparency and a smaller file than PNG.
- The destination states that it accepts WebP.
Free tools:HEIC to JPGJPG to WebPCompress an image to a target size
Make the iPhone save a compatible format
Apple's support page says iPhones from the iPhone 7 on, and several iPad models, can capture photos in HEIF, and that the more compatible older formats are available: in Settings, Camera, Formats, choose Most Compatible, and new photos are saved as JPEG.
The same page says that when you import photos from an iPhone or iPad over USB into Photos, Image Capture or a PC, the media might be converted to JPEG, and that Settings, Photos, Keep Originals turns that conversion off. It also says AirDrop, Messages or email can send a more compatible format when the receiving device does not support the newer one.
Questions people ask
Is this HEIC to WebP converter free and private?
Yes. It is free, needs no account and runs entirely in your browser, so the file never leaves your device.
Will converting HEIC to WebP reduce quality?
A little, because WebP is lossy or lossless and the file is re-encoded. For uploads, the platform re-encodes again anyway.
Is WebP smaller than HEIC?
Not necessarily. Our 92% WebP files were 0.59× to 0.81× the size of the HEIC, depending on how the HEIC was compressed.
Do all apps open WebP?
Browsers do. Some older editors and messaging apps do not, so JPG is the safer choice for sharing.
Is my HEIC photo uploaded?
No. The file is read and decoded in your browser by a WebAssembly build of libheif, and the result is saved by the browser. Nothing is sent to a server.
Can I convert several HEIC photos at once?
Yes. Choose several files and each gets its own WebP download. They are converted one after another, so a large batch takes as long as the sum of its parts.
Does the converted file keep the date and location?
No. The converter writes only the picture, so the date, location and camera details stored in the HEIC are not copied. That is useful before sharing a photo, and a loss if you sort photos by date.
Why do my colors look slightly different?
iPhone photos can use a wider color space than the web default. This converter does not convert color profiles, so very saturated colors may look a little flatter than on the phone.
Why can't I open HEIC in my browser or on Windows?
MDN's guide to the image types browsers generally support does not list HEIC. Apple's devices open it natively; on other systems you convert it or install an extension.
More converters
Sources and how we checked
- MDN: Media container formats
- MDN: Web audio codec guide
- MDN: Image file type and format guide
- FFmpeg documentation: stream copy
- Apple Support: Using HEIF or HEVC media on Apple devices (read 2026-10-09)
- libheif (strukturag) README: HEIF and AVIF decoder and encoder (read 2026-10-09)
- MDN: Image file type and format guide (read 2026-10-09)
- Wikimedia Commons: NASA public domain photographs used to make the test files (read 2026-10-09)
Reviewed October 8, 2026. What the converter writes was measured with ffprobe on the same FFmpeg build your browser downloads; format descriptions follow MDN's media guides.