Uploading a bank statement, signed lease, passport scan, or client deck to a free online PDF merger sends private files to a third-party server you do not control. macOS already includes offline utilities (Finder Quick Actions, Preview, and the command-line tool sips) that batch-convert, resize, and combine images and PDFs locally in seconds. Installing open-source Ghostscript or qpdf through Homebrew adds controllable PDF compression and lossless page splitting.
Every command in this guide was verified locally on Apple Silicon macOS 27.2.1 with no internet connection needed.
Method 1: Use Finder Quick Actions with zero terminal commands
For quick batches of 5 to 50 files, Finder handles two common tasks directly:
- Merge multiple images or PDFs into one PDF: select the files in Finder in order, right-click, and pick Quick Actions > Create PDF.
- Batch convert HEIC or PNG files to JPEG and resize them: select the images in Finder, right-click, choose Quick Actions > Convert Image, select format and size, and uncheck Preserve Metadata if you want GPS location tags stripped before sharing.
Method 2: Batch resize and convert hundreds of images with sips
sips (Scriptable Image Processing System) comes pre-installed on macOS and runs natively on Apple Silicon. Always write outputs to a separate --out folder so your original files stay untouched:
# Convert all iPhone HEIC photos in the current folder to JPEG (82% quality)
mkdir -p converted
sips -s format jpeg -s formatOptions 82 *.HEIC --out converted/
# Resize all PNG screenshots so the longest edge is at most 1600 px
mkdir -p resized
sips -Z 1600 *.png --out resized/
sips -Z scales proportionally based on the longest edge, so mixed portrait and landscape folders resize cleanly without stretching.
Method 3: Compress or merge PDFs offline with Ghostscript and qpdf
Preview’s Export > Quartz Filter > Reduce File Size requires no install, but it downsamples embedded scans aggressively and often makes small receipt text blurry. Installing Ghostscript once via Homebrew (brew install ghostscript) lets you pick an explicit DPI preset:
# /ebook = 150 dpi (good balance for email and web uploads)
# /printer = 300 dpi (sharp print quality, smaller than raw scans)
gs -sDEVICE=pdfwrite -dCompatibilityLevel=1.4 -dPDFSETTINGS=/ebook -dNOPAUSE -dQUIET -dBATCH -sOutputFile=compressed.pdf original.pdf
To merge or split private PDFs losslessly without re-encoding fonts or images, install qpdf (brew install qpdf):
# Merge three PDFs losslessly
qpdf --empty --pages part1.pdf part2.pdf part3.pdf -- merged.pdf
# Extract pages 1 through 4 into a new PDF
qpdf contract.pdf --pages . 1-4 -- pages-1-4.pdf
Which offline tool fits each task
| Task | Offline tool | Install needed? | Main advantage |
|---|---|---|---|
| Combine 3 to 20 images or PDFs | Finder Quick Actions | No (built into macOS) | No command-line syntax. |
| Batch convert or resize 50+ HEIC/PNG/JPG | sips | No (built into macOS) | Fast, scriptable, Apple Silicon native. |
| Compress scanned PDFs cleanly (150 to 300 dpi) | Ghostscript (gs) | brew install ghostscript | Sharper output than Preview’s default filter. |
| Lossless PDF merge, split, or rotate | qpdf | brew install qpdf | Leaves original fonts and images untouched. |
| Strip EXIF and GPS metadata from photos | Finder Convert Image or exiftool | Optional (brew install exiftool) | Removes camera serials and GPS coordinates before sharing. |
Related security and package hygiene
Processing sensitive files locally removes server-side upload risk completely. Pair that habit with verifying downloaded installers in our SHA-256 checksum verification guide, keeping Homebrew packages tidy with our Homebrew maintenance guide, and auditing system settings in our macOS privacy and security checklist.
Check output file size, dimensions, and stripped metadata before sharing
After compressing a scanned PDF or resizing a batch of screenshots, verify the output dimensions and confirm sensitive EXIF metadata (such as GPS coordinates from an iPhone photo) is actually gone before emailing or uploading the file:
# Check pixel dimensions and format of processed images using built-in sips
sips -g pixelWidth -g pixelHeight -g format resized/*.png | head -n 20
# Compare original vs. compressed PDF file sizes
ls -lh original.pdf compressed.pdf
# Inspect metadata tags with exiftool if installed
exiftool -GPSPosition -Make -Model -Software converted/*.jpg
Watch for two common edge cases when shrinking PDFs with Ghostscript. First, password-protected bank statements or tax forms require decryption first (for example qpdf --password=YOURPASS --decrypt locked.pdf unlocked.pdf) before Ghostscript can recompress them. Second, if a 150 dpi /ebook pass makes fine legal footnotes or spreadsheets slightly fuzzy, switch the preset to -dPDFSETTINGS=/printer (300 dpi), which still removes redundant embedded streams while keeping tiny text readable.
Keep a small ~/bin or shell alias for your two most frequent commands (for example resizing screenshots to 1600 px and shrinking PDFs at /ebook quality). Having a one-line local command removes any temptation to drop private documents into random web converters when you are in a hurry.
Sources and verification
- Apple Support: Perform quick actions in the Finder on Mac and
man sips. - Verified on Apple Silicon macOS 27.2.1 (
arm64), December 2, 2026.
Stay in the loop
Get tested Mac, terminal, and workflow guides when new tutorials publish. Unsubscribe anytime.
Comments
Questions, corrections, and useful counterpoints are welcome. Keep comments specific and on topic.

Leave a Reply