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.
You’ve got a folder of 200 product photos straight off a DSLR and you need them all on the web by tomorrow. Doing it one at a time in Preview will take an afternoon. Doing it badly will tank your site’s loading speed.
Two paths
Native macOS. Two real options:
-
Preview’s batch. Select all images in Finder, open them in Preview (they appear in the sidebar), Cmd+A to select all, then File → Export Selected Images. Pick JPEG, set a quality, save to a folder. This works but Preview gets sluggish past 50–100 images, and the quality slider is global — every image gets the same setting whether it needs it or not.
-
Terminal
sipsin a loop. Fast and scriptable:mkdir compressed for f in *.jpg; do sips -s format jpeg -s formatOptions 80 "$f" --out "compressed/$f" doneAdd
-Z 2000to also resize to a max edge of 2000px. Handles thousands of files without breaking a sweat. The downside is no preview, no progress bar, and no safety net — a typo wipes your output folder.
Melt. A drag-and-drop Mac app ($9.99 one-time) built around batch processing. Drag the folder in, pick settings once, run.
Batch compress in Melt
- Open Melt.
- Drag the whole folder in — Melt walks the contents and queues every supported image (JPEG, PNG, HEIC, GIF, TIFF).
- Pick an output format and quality.
- Optionally enable Resize to cap the longest edge.
- Click Compress. Progress bar shows per-file results.
The “never makes a file bigger” check applies per-file in batch mode — already-compressed images that would inflate are skipped and kept as-is, so you can run a mixed folder safely.
Honest tradeoffs
Batch processing always means a one-size-fits-most setting. A quality of 80 looks great on photographs but might be too aggressive for a clean illustration with flat colour. If a few images in your folder matter more than the rest, run those separately at a higher quality. For the long tail of “this needs to be on the internet by tomorrow,” batch is exactly what you want.
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.
-
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.
-
Convert a BMP to PNG on Mac
BMP files are huge and rarely useful. Here's how to convert them to PNG on macOS — natively and in batches.