Free tool

Mac screenshot settings generator

Pick where your Mac saves screenshots, the file format, whether window captures have a shadow, the floating thumbnail and the file name, and copy the matching Terminal commands. Every option can be undone with one command.

Paste this into Terminal

# Choose a setting on the left.

To put everything back to Apple's defaults, run defaults delete com.apple.screencapture; killall SystemUIServer.

Cleanss replaces the built-in screenshot tool with captures that land in an editor with backgrounds, frames and automatic key blurring.

Get Cleanss

How do I run the commands?

  1. Choose your settings on the left. Anything set to "Leave" isn't changed.
  2. Click Copy, open Terminal (in Applications, Utilities) and paste.
  3. Press Return. The last line restarts the screenshot service so the change applies straight away.
  4. Take a screenshot with Shift-Command-3 or Shift-Command-4 to check.

What does each setting do?

  • location: the folder screenshots save to. The generator creates the folder first if it doesn't exist.
  • type: the file format. PNG keeps interface text sharpest; JPG makes smaller files.
  • disable-shadow: removes the drop shadow from window captures. More on that in Mac screenshot without the window shadow.
  • show-thumbnail: the floating preview in the corner after a capture. Turning it off saves the file immediately.
  • include-date and name: the file name, which is "Screenshot" plus the date and time by default.

If screenshots stopped saving after a macOS update, see macOS Tahoe screenshots not saving first.

FAQ

How do I change where screenshots are saved on a Mac?

Press Shift-Command-5, click Options and choose a folder under Save to. For a folder that isn't in that list, run defaults write com.apple.screencapture location followed by the path, then killall SystemUIServer. The generator above writes the command for you.

How do I change the screenshot format from PNG to JPG on a Mac?

Run defaults write com.apple.screencapture type jpg in Terminal, then killall SystemUIServer. JPG files are smaller but slightly less sharp on text; PNG stays the best choice for interface screenshots.

How do I remove the shadow from Mac window screenshots?

For one capture, hold Option while you click the window after Shift-Command-4 and Space. To turn it off for good, run defaults write com.apple.screencapture disable-shadow -bool true and then killall SystemUIServer.

Are these settings documented by Apple?

No. Apple documents the Screenshot app's Options menu, but not these defaults keys. They have worked across many macOS versions, but Apple can change or remove them in any update, so check after upgrading. You can always undo them with defaults delete com.apple.screencapture.

Is it safe to run these commands?

They only change your screenshot preferences, and you can read every line before running it. Nothing is downloaded and nothing needs administrator rights. To undo everything, run defaults delete com.apple.screencapture followed by killall SystemUIServer.

Related