1. Stello
  2. Guides

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

FormatGood atUse it for
JPG (JPEG)Photos. Opens anywhereEmail attachments, sending to Windows users
PNGNo quality loss. Supports transparencyScreenshots, diagrams, logos
HEIC (HEIF)Smaller than JPG at the same quality. The iPhone's defaultKeeping photos on Apple devices
WebPSmall files for the web. Supports transparencyImages 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

  1. Open the image in Preview
  2. Choose File → Export
  3. 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

  1. Select one or more images in the Finder
  2. Control-click and choose Quick Actions → Convert Image
  3. 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:

How to use it

  1. Hold down the right ⌘ key to bring up the cards
  2. Drop your images on the Convert Files card
  3. 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