How to screenshot a window without the shadow on Mac

Updated

Press ⇧⌘4, then Space: the pointer becomes a camera. Hold Option (⌥) and click the window, and macOS captures just that window without its shadow. To leave the shadow off every time, run defaults write com.apple.screencapture disable-shadow -bool true in Terminal.

Capture one window

  1. Press ⇧⌘4.
  2. Press Space. The pointer becomes a camera.
  3. Move over the window you want; it's highlighted.
  4. Click. The window is saved on its own, with its shadow.

Or press ⇧⌘5 and choose Capture Selected Window, then click the window.

Leave out the shadow

Do the same, but hold Option (⌥) while you click. The screenshot is just the window, with no shadow around it.

Turn the shadow off for every window screenshot

defaults write com.apple.screencapture disable-shadow -bool true
killall SystemUIServer

To bring it back:

defaults delete com.apple.screencapture disable-shadow
killall SystemUIServer

Why the shadow is there

Window screenshots include the window's drop shadow on a see-through background. It looks right on a white page, but adds a wide transparent border, makes the file bigger, and can look odd on a coloured background.

Want a better frame instead?

Clevershot's Beautify puts any screenshot on a background with padding, rounded corners and a shadow you choose (none, soft or deep), sized for an X post, LinkedIn, the App Store or a slide.

Questions

Why is there a see-through border around my window screenshot?

That's the window's shadow. Hold Option as you click, or turn the shadow off in Terminal.

How do I copy a window screenshot instead of saving it?

Press ⌃⇧⌘4, then Space, then click the window. It goes to the clipboard.