How to Change the Default Filename of Screenshots in macOS - MacRumors
Skip to Content

How to Change the Default Filename of Screenshots in macOS

by

In macOS, when you use the screenshot keyboard shortcuts or the capture tool to grab something on your Mac's screen, the images are saved with a default filename, such as "Screen Shot [date] at [time].png."

screenshot
If you work with screenshots a lot, this file naming scheme may not be to your taste. But thanks to a simple Terminal command, you can change this default name to something more useful. The following steps show you how it's done.

  1. Launch the Terminal app (found in Applications/Utilities).
  2. Input the following command, and type your desired screenshot filename inside the double quote marks, then hit Enter: defaults write com.apple.screencapture name "my screenshots"

That's all there is to it. Try taking a screenshot to see your new image filename in action. Subsequent shots saved in the same location will automatically take a bracketed number – (2) or (3) for example – to differentiate them from each other.

If you want to revert back to the default screenshot filename, use the following Terminal command: defaults write com.apple.screencapture "include-date" 1; killall SystemUIServer

Did you know that you can also change the default file format of screenshots as well as the location where they are saved? Follow the links to learn how it's done.

Popular Stories

Apple Event Logo

Apple to Release These 15 New Products Later This Year

Friday June 12, 2026 7:45 am PDT by
Apple's annual WWDC developers conference is drawing to a close, but there is still a lot to look forward to in the second half of the year. Apple is expected to release at least 15 more products later this year. Now that the more intelligent and personal version of Siri has finally arrived in beta, a full two years after Apple first previewed it at WWDC 2024, we should begin to see some new ...
iCloud iPhone 17 Pro

iPhone Users Who Pay for iCloud Storage Get Two New Perks on iOS 27

Tuesday June 9, 2026 11:29 am PDT by
If you pay for extra iCloud storage on your iPhone, beyond the 5GB included for free, you might receive two more perks on iOS 27 at no additional cost. First, Apple said there will be daily usage limits for some of the new and enhanced Apple Intelligence features on iOS 27, including image generation. However, the company noted that "increased access" is available with "most" iCloud+ storage ...
Apple Logo Top Half

Have One of These 16 Apple Devices? Software Support Ends This Fall

Saturday June 13, 2026 8:00 am PDT by
Apple will end software support for 16 devices this fall across four product lines, with the Apple Watch seeing the most sweeping cull in the product's history. The full extent of this year's software drops became clear with the announcements of macOS 27 Golden Gate, iPadOS 27, tvOS 27, and watchOS 27 at WWDC this week. The one bright spot is that iOS 27 features identical device support to...