Skip to content

Save screenshots as JPG or HEIC instead of PNG — via Yann Bertrand, macos-defaults.com

Commandlow riskmacOS 14 Sonoma and later

PNG screenshots of photos or busy screens can be several megabytes each. Switching the format to JPG or HEIC makes much smaller files, which is handy for sharing. The catch: these are lossy, so text can look slightly softer.

Takes effect right away

The easy way

  1. Run the command. Replace jpg with heic, pdf, tiff or gif if you prefer. png is the default.

Command

Run in Terminal (Applications › Utilities).

defaults write com.apple.screencapture type -string jpg

Undo

defaults delete com.apple.screencapture type
On macOS Tahoe 26 and later, supported Macs with HDR displays also offer an SDR (PNG) or HDR (HEIF) choice in the Screenshot app's Options menu.

Sources

Source reviewed
2026-11-02
Link checked
2026-11-02
Tested hands-on
Not by Oddbyte.Me

Oddbyte.Me hasn't tried this on every macOS version, so keep the undo handy.

screenshotjpgheicpngfile sizeformat

More in Screenshots