How to convert images to WebP, HEIC, PNG or JPG on a Mac
An iPhone photo arrives as HEIC and the other person can't open it. A blog post needs WebP images. Changing image formats comes up more often than you'd think. Here's how to do it on a Mac, starting with the built-in tools.
Common image formats at a glance
| Format | Good at | Use it for |
|---|---|---|
| JPG (JPEG) | Photos. Opens anywhere | Email attachments, sending to Windows users |
| PNG | No quality loss. Supports transparency | Screenshots, diagrams, logos |
| HEIC (HEIF) | Smaller than JPG at the same quality. The iPhone's default | Keeping photos on Apple devices |
| WebP | Small files for the web. Supports transparency | Images on websites and blogs |
A simple rule: JPG for photos and PNG for screenshots when you don't know what the other person uses, and WebP for anything going on the web.
Convert images with built-in tools
Option 1: Export from Preview
- Open the image in Preview
- Choose File → Export
- Pick a format such as JPEG, PNG or HEIC, then save
To convert several images, select them all in Preview's sidebar and choose File → Export Selected Images.
The formats Preview can export depend on your version of macOS, and WebP may not be available.
Option 2: The Finder's Convert Image quick action
- Select one or more images in the Finder
- Control-click and choose Quick Actions → Convert Image
- Choose a format (JPEG, PNG or HEIF) and an image size, then convert
The converted images are saved next to the originals. It's quick, but WebP isn't offered here either.
Option 3: The sips command in Terminal
macOS includes a command called sips. To turn a HEIC photo into a JPG:
sips -s format jpeg IMG_0123.HEIC --out IMG_0123.jpg
To convert every HEIC file in a folder:
for f in *.HEIC; do sips -s format jpeg "$f" --out "${f%.*}.jpg"; done
Great for large batches, but you need to be comfortable with Terminal.
Convert to any format, WebP included, with Stello
Stello's Convert Files card handles the formats you use most:
- Converts images to PNG, JPG, WebP or HEIC
- Drop several images and convert them in one go
- Converts video too
How to use it
- Hold down the right ⌘ key to bring up the cards
- Drop your images on the Convert Files card
- Choose the format and click convert
If a file is still too big to send, Stello's Shrink Files card makes PDFs and images smaller while showing you the final size.
Summary
- JPG or PNG when you don't know what the other person uses, WebP for the web
- Preview's Export and the Finder's Convert Image are the easiest built-in options, but WebP may not be available
- For WebP and everything else in one drag and drop, use Stello's Convert Files card