How to Compress Photos on Mac Without Losing Quality
Reduce photo file sizes on Mac without visible quality loss. Free built-in methods, Terminal commands, and a batch compressor for 500 photos at once — including WebP and AVIF export.
Quick Answer
To compress photos on Mac: open in Preview → File → Export → lower quality to 80–85% (free, one photo at a time). For batches, use sips in Terminal or RapidPhoto (up to 500 photos at once). Switch to WebP for 30% smaller files with no visible quality loss — supported by all modern browsers and social platforms.
Table of Contents
Why Compress Photos
A RAW photo from a modern camera runs 25–50MB. A full-resolution JPEG straight from your phone is 4–8MB. Neither is appropriate for email attachments, website uploads, social media posts, or client delivery folders — slow to upload, slow to load, and often rejected by platforms with file size limits.
Compressing a photo reduces its file size by encoding the image data more efficiently or discarding detail your eye won't notice. Done right, a 5MB JPEG becomes a 600KB file that looks identical on screen. Done wrong, you get blocky, washed-out images that look worse than the original.
The goal is to find the smallest file size where the compression is invisible. Here's how to do that on Mac.
Method 1: Preview — Free, One Photo at a Time
For compressing a single photo or a small handful, macOS Preview is all you need:
- Open the photo in Preview
- Choose File → Export (not Export as PDF)
- Set the Format to JPEG
- Drag the Quality slider — aim for 80–85%
- Click Save
At 80–85% quality, a typical 5MB iPhone JPEG compresses to around 500KB–1.2MB with no visible difference on screen. Preview shows you a real-time file size estimate as you drag the slider.
Pros: Free, always available, real-time size preview.
Cons: One photo at a time only. No batch support. Can't export to modern formats like WebP or AVIF.
Method 2: sips in Terminal — Free, Batch
macOS includes sips, a command-line image processor that can compress JPEGs in batch. Open Terminal, navigate to your photos folder, and run:
Compress all JPEGs to 80% quality:
mkdir compressed && for f in *.jpg; do sips -s format jpeg -s formatOptions 80 "$f" --out "compressed/$f"; done
This creates a compressed/ folder and saves compressed copies there — originals stay untouched.
Compress and resize at the same time (max 1920px wide):
mkdir compressed && for f in *.jpg; do sips -Z 1920 -s format jpeg -s formatOptions 80 "$f" --out "compressed/$f"; done
The -s formatOptions 80 flag sets quality (0–100). Combine with -Z [pixels] to resize at the same time.
Pros: Free, handles large batches, can combine compression and resize.
Cons: JPEG only — no WebP or AVIF. No visual preview. Terminal knowledge required.
Method 3: Batch Photo Editor — Recommended for Regular Use
If you compress photos regularly — for a website, client deliveries, stock submissions, or e-commerce listings — a dedicated batch tool saves hours. With RapidPhoto:
- Import: Drag up to 500 photos (JPEG, PNG, HEIC, RAW, TIFF)
- Edit (optional): Apply color adjustments, crop, watermark — in the same pass
- Export settings:
- Format: JPEG (universal), WebP (30% smaller), or AVIF (50% smaller)
- Quality: 80–85% for most uses
- Resize: Optionally set a max dimension to reduce file size further
- Color space: sRGB for web, Display P3 for Apple devices
- Export: All 500 photos compressed and saved in one click
On Apple Silicon, 500 full-resolution JPEGs compress and export in under 60 seconds. The GPU-accelerated engine handles RAW files too — you can compress a batch of Canon CR3 or Nikon NEF files straight to web-ready JPEGs without any intermediate steps.
Pros: All formats including WebP and AVIF, up to 500 photos, combine with editing, resize + compress in one pass, fully offline.
Cons: Free tier limited to 10 images; Pro is $29.99 one-time.
Best Format for Compression: JPEG vs WebP vs AVIF vs PNG
The format you choose has a bigger impact on file size than the quality setting. Here's how they compare at equivalent visual quality:
| Format | File Size vs JPEG | Quality | Browser Support | Best For |
|---|---|---|---|---|
| JPEG | Baseline | Lossy | All | Universal compatibility, email, print |
| WebP | ~30% smaller | Lossy or lossless | All modern browsers | Web images, social media, email |
| AVIF | ~50% smaller | Lossy or lossless | Chrome, Firefox, Safari 16+ | Web (cutting edge) |
| PNG | 2–5× larger | Lossless | All | Screenshots, logos, transparency |
| HEIC | ~50% smaller | Lossy | Safari, Apple apps | Apple devices, storage |
For web images in 2026, use WebP. Browser support is universal — Chrome, Firefox, Safari, Edge, and every major social platform accepts WebP. You get 30% smaller files with no visible quality difference. There's no reason to upload JPEG to a website anymore if you can export WebP.
For email and client delivery, use JPEG. Some email clients and older software still struggle with WebP. JPEG at 80–85% is the safe universal choice.
For maximum compression on modern sites, use AVIF. AVIF is 50% smaller than JPEG and now supported by all major browsers. The trade-off: encoding is slower and some older systems don't support it yet.
JPEG Quality Settings: What Each Level Actually Looks Like
| Quality | Typical File Size | Visual Quality | Use For |
|---|---|---|---|
| 95–100% | 3–6MB | Visually lossless | Print, archival, editing masters |
| 85–92% | 1–2MB | Indistinguishable on screen | Client delivery, high-res web |
| 75–84% | 400–900KB | Slight softness on close inspection | General web use, social media |
| 60–74% | 200–400KB | Visible artifacts in smooth areas | Thumbnails, low-priority images |
| Below 60% | Under 200KB | Clearly degraded | Avoid for anything public-facing |
The sweet spot for almost every use case is 80–85%. At this level, a typical full-resolution photo compresses from 4–6MB to 400–800KB — an 80–90% reduction — with no visible quality difference on any screen at any zoom level.
Target File Sizes by Use Case
| Destination | Target File Size | Recommended Settings |
|---|---|---|
| Website hero image | 100–300KB | WebP 80%, max 1920px wide |
| Website product photo | 80–150KB | WebP 82%, max 1200px |
| Instagram post | 300–800KB | JPEG 85%, 1080px wide |
| Email attachment | Under 1MB | JPEG 80%, max 1200px |
| Client delivery (full res) | 1–3MB | JPEG 90%, original dimensions |
| Stock photo submission | Per platform spec | JPEG 95%, original dimensions |
| Print (300 DPI) | 2–10MB | JPEG 95% or TIFF |
| Thumbnail / preview | 10–40KB | JPEG 75%, max 400px |
Frequently Asked Questions
Does compressing a photo reduce its dimensions?
Not automatically. Compression (lowering JPEG quality) and resizing (changing pixel dimensions) are separate operations. You can compress without resizing, or do both at once. Combining them — for example, JPEG 82% at max 1200px — gives the greatest file size reduction.
Can I decompress a photo back to its original quality?
No. JPEG compression is lossy and permanent. Once you save a JPEG at lower quality, the discarded data is gone. Always keep your original files and export compressed copies to a separate folder.
Why does my photo look worse after compressing with Preview vs other tools?
Preview's quality slider isn't linear and doesn't correspond exactly to JPEG quality percentages. Different tools implement JPEG compression differently. For precise, consistent results across a batch, use a tool where you can enter an exact quality value (like sips -s formatOptions 82 or RapidPhoto's export panel).
Is WebP supported everywhere now?
Yes, for web and apps. Chrome, Firefox, Safari (since 14), Edge, and all major social platforms support WebP. Desktop software (Photoshop CS6 and older, some print shops) may not. For web uploads, WebP is safe. For client delivery or print, stick to JPEG.
How do I compress RAW photos on Mac?
RAW files (CR3, NEF, ARW, RAF, etc.) can't be compressed as RAW — they need to be converted to JPEG, WebP, or another output format. Open the RAW in a RAW editor (RapidPhoto, Lightroom, or macOS Preview), apply any edits, then export to JPEG at 80–85% quality. RapidPhoto does this in batch — up to 500 RAW files exported to compressed JPEG in one pass.
Related Guides
Batch Resize Photos on Mac
Resize hundreds of photos to exact pixel dimensions
Convert HEIC to JPG on Mac
Convert iPhone photos to JPG in bulk
Resize Photos for Instagram on Mac
All Instagram dimensions and how to batch prepare them
Best Batch Photo Editors for Mac
Full comparison of top batch editors for macOS