Guide

How to Compress Images on Mac: Every Method Compared

By the Smol team9 min read

To compress an image on a Mac, open it in Preview, choose File > Export, pick JPEG or HEIC and drag the Quality slider left until the file size shown under it is small enough. Lowering the pixel size first (Tools > Adjust Size) saves the most. That covers one photo; for a folder, WebP or AVIF output, or a size limit you must hit, you need one of the other methods below.

This guide compares every practical way to do it on a Mac: the built-in tools, the Terminal, online services and local apps, with what each one is good and bad at. On our 24 public test photos, Smol at default settings made high-quality JPEGs 69.3% smaller, and converting PNGs to AVIF saved 92.1%. If you have already decided you want an app and only need to pick one, our best image compressor for Mac roundup compares ten of them, six measured on the same test photos.

How do I compress images with Preview or sips?

macOS ships with two ways to shrink images, and both are worth knowing even if you outgrow them.

Preview can resize and re-export: open an image, choose File → Export, pick JPEG, and drag the quality slider. It works for one-off jobs, but it re-encodes with dated settings, strips no metadata by default, can’t batch beyond crude multi-select exports, and has no idea what WebP or AVIF are for output.

sips, the command-line scriptable image processing system, can batch resize and convert (sips -Z 1600 *.[jJ][pP][gG]). It’s free and already installed — but it exposes almost none of the encoder controls that matter, produces larger files than modern encoders at the same visual quality, and requires you to be comfortable in Terminal.

If you compress images once a month, Preview is fine. If images are part of your actual work, the built-ins leave quality-per-byte on the table. In our benchmark, Apple’s AVIF encoder needed 18 to 26% more bytes than Smol’s for the same quality score, and its JPEG encoder 2 to 12% more at web quality.

What is the difference between lossy and lossless image compression?

Lossless compression repacks the same pixels into fewer bytes — nothing is discarded. How much that saves depends on the picture: about a third to a half on flat graphics such as screenshots and logos in our tests, and only a few percent on photographs. It’s the right choice for screenshots with text, UI assets, and logos.

Lossy compression discards information your eye is bad at noticing — fine noise in shadows, subtle color gradients in busy areas. Done well, a photo can lose 85% of its bytes before anyone can tell in a blind test. Done badly, you get smeared detail and blocky skies.

The practical rule: photos want lossy, graphics want lossless. The quality slider isn’t a “damage” dial — between roughly 70 and 85 on a modern encoder, differences are invisible at normal viewing sizes while file size drops steeply. Below ~60 you start trading visible quality for diminishing savings.

This is also why the free app most people try first disappoints on photos. ImageOptim is lossless by default, and on 24 test photographs it made the JPEGs 8.9% smaller and the PNGs 4.3% smaller. It has a lossy mode in Preferences, which does most of the work on a JPEG, but it cannot change format: from the same photos, Smol’s AVIF needed 20 to 22% fewer bytes than ImageOptim’s lossy JPEG at the same quality score. The full comparison is on our ImageOptim alternative page. For graphics that must stay pixel-identical, ImageOptim is still the right free tool.

JPEG vs WebP vs AVIF: which image format should you use in 2026?

Format choice moves file size more than any quality slider. As of 2026 the decision tree is short:

AVIF is the best image format available today. In our benchmark it was 22 to 26% smaller than JPEG at the same SSIMULACRA2 quality score, and it has support in every major browser. If you’re optimizing a website or shipping assets where you control the viewer, AVIF is the right default.

WebP sits in the middle: ~25–35% smaller than JPEG, universally supported for years, and safer than AVIF when files pass through older tools, CMSs, or clients’ hands.

JPEG remains the compatibility king. Every device, app, and grandmother’s email client opens it. A well-encoded JPEG (a modern encoder, quality ~80) is still a perfectly respectable deliverable.

HEIC — your iPhone’s default — is great inside Apple’s ecosystem and a headache outside it. For sharing, convert HEIC to JPEG or AVIF first.

Should you compress images with an online tool like TinyPNG?

TinyPNG, iLoveIMG, Squoosh and dozens of similar sites will compress images in the browser, and for a single small file on someone else’s computer they’re genuinely handy. Their trade-offs show up with real workloads:

1. Upload limits and quotas. Free tiers cap file size (TinyPNG: 5 MB per image) and batch counts — exactly the files that need compression most are the ones that get rejected.

2. Your files leave your machine. Client work under NDA, unreleased product shots, family photos with GPS metadata — all uploaded to a third-party server you don’t control, processed under a privacy policy you probably haven’t read.

3. Round-trip time. Upload, queue, process, download — for a folder of 50 MB of images on ordinary broadband, minutes instead of seconds. Native local encoders on Apple Silicon and Intel Macs are dramatically faster than an upload loop.

How do you compress images on a Mac with Smol?

Smol is our answer to all of the above — a Mac app that compresses and converts JPEG, AVIF, WebP and PNG entirely on your Mac. The workflow is deliberately boring:

1. Drop images onto the menu-bar icon or the window — JPEG, PNG, WebP, AVIF, HEIC, or RAW, individually or as folders.
2. Pick an output format (or keep the original) and a quality preset.
3. Done. Files typically come out 50–90% smaller, and Smol always keeps the smaller result — if compression would grow a file, it keeps your original.

The interesting part is Neural compression: before encoding, Smol maps faces, text, edges, and fine detail in the image, then protects those regions while compressing low-detail areas (skies, smooth backgrounds, shadows) harder. You get the small file of aggressive compression with the sharp subject of conservative compression — that’s the difference between an encoder that treats every pixel equally and one that knows what a face is.

Because everything runs locally on your Mac, there is no 5 MB cap, no daily quota, no account, and nothing ever uploads. A 4 GB folder is as fair game as a single screenshot.

How do I compress a whole folder of photos on a Mac?

The moment you’re compressing more than a handful of images, per-file workflows collapse. Whatever tool you use, look for three things: recursive folder support, per-file results (so one bad input doesn’t sink the run), and the ability to re-process individual files at different settings afterward.

In Smol, batch is the default mental model: drag in a folder of 500+ mixed files — images, PDFs, and videos together — and it processes everything with per-file progress and savings. Virtual scrolling keeps the UI responsive past 1,000 files, and you can cancel mid-batch or re-optimize outliers when the run finishes.

What image size should you use for a website?

If the destination is a website, compression is half the job — the other half is not shipping more pixels than the layout renders. A hero image displayed at 1,600 px wide doesn’t need a 6,000 px original behind it.

A dependable recipe for 2026: resize to at most 2× the largest rendered width, encode as AVIF around quality 60–70 (with a WebP or JPEG fallback if your stack wants one), strip metadata, and set explicit width/height attributes so the page doesn’t shift while loading. Hero images at web sizes should land well under 200 KB — often under 100 KB in AVIF — which is the difference between passing and failing LCP on a median mobile connection.

Why strip metadata before you share compressed photos?

Every photo carries EXIF data — camera model, timestamps, editing software, and very often precise GPS coordinates of where it was taken. Compressing a file does not necessarily remove any of that.

Before images go anywhere public, strip the metadata. In Smol, enable Strip metadata and every EXIF, GPS, IPTC, and XMP field is removed — and because it can strip without recompressing, the pixels stay untouched while the identifying information disappears. It’s a one-checkbox habit that has saved a lot of people from publishing their home address inside a JPEG.

How we checked this

The Preview and sips steps follow Apple’s Preview guide. Every Smol figure comes from our 24-photo benchmark (Smol 1.0.35, Apple M2 Pro, small 768 by 512 test photographs) and the Smol feature sheet checked against the app. Facts last checked . We make Smol, so treat our claims about it with the same care as any vendor’s, and see our editorial policy.

Compressing images on a Mac: common questions

How do I compress an image on a Mac?

Open the image in Preview, choose File > Export, pick JPEG or HEIC, and drag the Quality slider left until the file size shown under it drops. For a bigger saving, first use Tools > Adjust Size to lower the pixel width and height. PNG exports have no quality slider, so convert photos to JPEG. Preview handles one-off jobs; for folders or WebP and AVIF output, use a dedicated app such as Smol.

How do I compress many images at once on a Mac?

In Finder select the images, open them in Preview, press Command-A in the sidebar, then use Tools > Adjust Size to shrink them all together. Choose File > Export Selected Images to save copies. Preview offers no quality slider for a batch, so set a pixel size, not a quality level. Smol takes a whole folder, including subfolders and mixed file types, and shows savings per file; a sips loop in Terminal is the free scripted option.

Can I compress a photo on my Mac to under 1 MB or 100 KB?

Yes. In Preview, lower the dimensions with Tools > Adjust Size, then export as JPEG and drag Quality down until the size under the slider reads under your limit. As a rough guide, 1 MB leaves room for a full-size web photo, while 100 KB usually needs the width cut to around 1000 pixels; detailed scenes need more. Smol also has a target file size mode for images, 4 to 4096 KB. It aims for a band, not a hard ceiling, and is slow: about 28 seconds for one 768 by 512 image.

Why did Preview make my image bigger?

Usually because the export settings are heavier than the original: a high Quality setting, a PNG or TIFF export, or a photo that was already compressed. Preview always re-encodes and never checks whether the result is smaller. Fix it by exporting as JPEG, lowering Quality and using Tools > Adjust Size first. Smol keeps your original if compressing would make a file larger, and it writes a separate copy with a _compressed suffix by default, so nothing is overwritten.

How do I reduce the MB size of a photo on Mac?

For one photo, open it in Preview, choose File > Export, pick JPEG and drag the Quality slider left; Tools > Adjust Size lowers the pixel dimensions too, which saves the most. For many photos, drop them on Smol: its defaults re-encode at quality 75, strip metadata and fit each image inside 2000 by 2000 pixels, all on your Mac.

How do I compress images on Mac without losing quality?

Use a lossy format at a moderate quality, or a lossless optimizer if no pixel may change. For photos, JPEG around quality 75 to 80 or AVIF at a similar setting looks the same at normal viewing size; check one exported image at 100% before doing the rest. For screenshots with small colored text, use quality 90 or above, where Smol keeps full color detail. For pixel-identical files, ImageOptim’s lossless mode is free; Smol always re-encodes.

Can I compress images on Mac without uploading them to a website?

Yes. Preview and the sips command are built into macOS and never upload anything, and several dedicated apps also work offline. Smol processes every file on your own Mac, with no account and no server involved, which matters for client work, unreleased products or anything under an NDA. Online compressors such as TinyPNG are convenient for a few files, but each image is sent to their servers, so read their retention policy before using them for private work.

What is the best image format for websites in 2026?

AVIF. In our benchmark on 24 test photos it was 22 to 26% smaller than JPEG at the same SSIMULACRA2 quality score, and it is supported by every major browser. Use WebP or JPEG as fallbacks when older tooling is involved, and keep PNG for graphics that need lossless compression.

How much smaller can my images actually get?

On 24 test photos, Smol’s default setting made high-quality JPEGs 69.3% smaller and PNGs 69.2% smaller, and converting the PNGs to AVIF saved 92.1%. A lossless optimizer, ImageOptim, saved 4.3% to 8.9% on the same photos. Results vary with content: detailed textures compress less than smooth gradients.

Does compressing an image remove its GPS location data?

Not reliably, so check rather than assume. Some tools keep EXIF, including GPS coordinates, when they recompress, while others strip it by default. Smol strips metadata on compression by default and also has a separate strip-metadata action that removes EXIF, GPS, IPTC and XMP without re-encoding. To confirm, open the result in Preview, choose Tools > Show Inspector and look for a GPS tab. Photos published online should always get this check.

Smol for your work

Keep reading