When trying to convert iPhone HEIC photos into WebP for websites or blogs on a Mac, creators quickly hit an unexpected wall: macOS built-in tools cannot export WebP, and Google's cwebp CLI throws an error because it cannot read HEIC. Here are the three fastest and most reliable ways to batch-convert HEIC to WebP on macOS, completely offline.
Why is HEIC to WebP conversion tricky on Mac?
Since iOS 11, iPhones have captured photos in HEIC (High Efficiency Image Container) by default to save storage space. Meanwhile, WebP has become the de facto standard for web performance and Core Web Vitals.
However, converting between the two on macOS encounters a double limitation:
macOS built-in sips: Can read HEIC, but cannot write WebP.
Google official cwebp: Can encode WebP, but cannot decode HEIC.
Finder Quick Action ("Convert Image"): Only outputs JPEG or PNG; WebP is omitted.
Consequently, users must either use an application that integrates both codecs or run a multi-step conversion script.
RecommendedMethod 1: Direct batch conversion with a GUI app
The smoothest approach is WebP Converter., which accepts HEIC input natively and writes WebP files in a single pass.
1
Drag and drop HEIC photos
Select photos or an entire folder in Finder and drop them into the app window.
2
Adjust quality & metadata
Choose lossy quality (around 80 for photos) and toggle GPS stripping or resizing if required.
3
Click Start
Hardware-accelerated encoding processes your library on Apple Silicon in seconds.
Encode
WebP
80
JPG
75
PNG
—
Resize
Max 1920px
Max width
1920px
Max height
auto
Strip metadata
EXIF · GPS · camera
GPS35°41'22"N · 139°41'30"E
CameraCanon EOS R5 · RF 50mm F1.2 L
Date taken2024:08:14 18:22:07
ICC profileDisplay P3 · kept
Output
4032 × 3024
Before · HEIC
3.2MB
→
After · WebP
KB928
29% of original
An interactive Before/After split slider allows you to visually verify image sharpness and color accuracy before exporting. Since all decoding and encoding happens locally on your Mac, your personal camera roll remains completely private.
Method 2: Two-step shell script using sips + cwebp
If you prefer a terminal-based workflow via Homebrew, you can bridge the codec gap by using macOS's built-in sips to create a temporary JPEG, then passing it to cwebp.
First, install the WebP package via Homebrew:
brew install webp
Then execute this shell loop in the directory containing your HEIC files:
mkdir -p webp_out
for f in *.heic *.HEIC; do
[ -f "$f" ] || continue# Transcode to high-quality temporary JPEG via sips
sips -s format jpeg -s formatOptions 95 "$f" --out "/tmp/${f%.*}.jpg" > /dev/null
# Compress to WebP via cwebp
cwebp -q 80 "/tmp/${f%.*}.jpg" -o "webp_out/${f%.*}.webp"
rm "/tmp/${f%.*}.jpg"done
While effective for automated headless scripts, this approach introduces intermediate disk I/O and cannot provide visual comparison prior to export.
Method 3: Built-in macOS Shortcuts app
On macOS Monterey or later, the built-in Shortcuts application can also orchestrate an image conversion flow:
Open the Shortcuts app and create a new Shortcut.
Add the "Get Selected Files" or "Select Photos" action.
Add the "Convert Image" action and set the target format to "WebP".
Add the "Save File" action to pick an output destination.
While free and pre-installed, Shortcuts lacks granular compression quality sliders, EXIF control, and side-by-side visual inspection. For serious web optimization, a dedicated utility is much faster.
Recommended WebP quality settings for iPhone photos
Outdoor landscapes and general snapshots: Quality 75–80 (Lossy) is the sweet spot. It delivers ~50% file size reduction with imperceptible difference to the human eye.
Portraits & subtle gradients: Quality 82–88 prevents posterization in skin tones and smooth shadows.
Screenshots with text: If capturing text or vector graphics, switch to Lossless mode to keep edges perfectly crisp.
Frequently Asked Questions (FAQ)
QWhy can't macOS built-in tools or cwebp alone convert HEIC directly to WebP?
A
macOS's built-in sips command can read HEIC files but lacks the ability to write WebP. Conversely, Google's official cwebp utility outputs WebP efficiently but cannot decode Apple's HEIC container. As a result, you either need a specialized native app or a two-step shell pipeline.
QHow much file size do I save by converting HEIC to WebP?
A
In real-world testing on an iPhone 15 Pro, a 12 MP HEIC capture of 2.4 MB compressed to approximately 1.1 MB (a 54% reduction) as WebP at quality 80, while preserving visual clarity for blogs and web portfolios.
QCan I strip GPS location data during the conversion?
A
Yes. Apps like WebP Converter. and Image Tool+ allow you to toggle EXIF/GPS preservation with a single checkbox, safely removing private location coordinates before publishing online.
QShould I switch my iPhone camera to shoot JPEG instead of HEIC?
A
Changing Settings > Camera > Formats to "Most Compatible" makes your iPhone capture in JPEG, but every photo will consume roughly twice as much iPhone storage. Keeping HEIC on your phone and batch converting to WebP on your Mac when preparing web assets is the most efficient workflow.