Change an image's file format on Mac
Need to switch a PNG to JPG, a HEIC to PNG, or anything in between? Here's the general guide to converting image formats on macOS.
You’ve got an image in one format and you need it in another. Maybe a HEIC that needs to be JPG, a PNG that needs to be WebP, or a TIFF that needs to be anything smaller. The mechanics are the same regardless of the formats involved — only the tradeoffs change.
The native way: Preview
The universal answer for one file at a time:
- Open the image in Preview.
- File → Export.
- Pick the target format from the Format dropdown.
- If JPEG, set quality.
- Save.
Preview supports exporting to: JPEG, JPEG-2000, OpenEXR, PDF, PNG, TIFF, and HEIC. It reads even more (GIF, BMP, WebP on Ventura+, etc.).
The native way: sips
sips is faster for batches and supports the same formats:
sips -s format <target> input.ext --out output.ext
Examples:
sips -s format jpeg photo.png --out photo.jpg
sips -s format png photo.jpg --out photo.png
sips -s format heic photo.png --out photo.heic
sips -s format tiff photo.jpg --out photo.tiff
Set JPEG quality with -s formatOptions 85 before the input.
The faster way
Drag any image (or folder) into Melt, pick the target format from the dropdown, set quality if relevant, click Compress. Handles batches, lets you also resize or strip metadata in the same pass. Download Melt.
Change format in Melt
- Open Melt.
- Drag your image(s) in.
- Pick the target format.
- Adjust quality if it's a lossy format (JPEG, WebP, AVIF).
- Click Compress.
Pick the right target
- JPEG — photos, broadest compatibility, smaller files, lossy.
- PNG — graphics, screenshots, transparency, lossless, larger files.
- HEIC — Apple ecosystem, very small files, lossy, limited compatibility outside Apple.
- WebP — modern web, ~30% smaller than JPEG, broad browser support.
- AVIF — newest, smallest, but app support still patchy outside browsers.
- TIFF — print, archival, multi-page, big.
If the destination is the web, pick WebP or JPEG. If it’s another Apple device, HEIC. If it’s general sharing, JPEG. If it’s print, TIFF.
When format conversion isn’t lossless
Going from any lossy format (JPEG, HEIC, WebP, AVIF) to anything else doesn’t recover the data that’s already been lost. Going from a lossless format (PNG, TIFF, BMP) to a lossy one loses data. Going lossless-to-lossless (PNG ↔ TIFF) is bit-perfect.
What you lose, what you keep
Lossy-to-lossy conversion is doubly lossy. Lossless-to-lossy throws away data permanently. Lossless-to-lossless preserves everything. EXIF metadata is preserved by all the tools above unless you ask otherwise (Melt strips by default). Keep originals when going lossy; the conversions can be regenerated, the originals cannot.
More Melt tips
-
Receive iPhone photos as JPG via AirDrop (not HEIC)
AirDropping photos from iPhone keeps landing them as HEIC files on your Mac. Here's how to get them as JPG instead.
-
AVIF on Mac — opening and converting AVIF images
AVIF is the next-gen image format that's even smaller than WebP. Here's how to open and convert AVIF files on macOS.
-
How to batch compress a folder of photos on Mac
Compressing 200 photos one at a time is its own form of suffering. Here's how to batch compress images on macOS.
-
What's the best image format for the web (and how to export it on Mac)?
JPEG, PNG, WebP, AVIF, SVG — they each have a job. Here's how to pick the right one for the web and export it from your Mac.