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 Announces Special Event in New York Feature 1

Apple Teases 'A Big Week Ahead' With Announcements Starting Monday

Thursday February 26, 2026 6:06 am PST by
Apple CEO Tim Cook today teased "a big week ahead," with announcements starting Monday. His post included an #AppleLaunch hashtag with a colorful Apple logo, along with a short video that ultimately shows an Apple logo on the lid of a Mac. Apple is reportedly planning a three-day stretch of product announcements from Monday, March 2 through Wednesday, March 4, with up to five new products...
iphone fold text

iPhone Fold Crease Measurements Revealed as Device Hits Production

Wednesday February 25, 2026 5:37 am PST by
Apple has submitted production line orders for its upcoming foldable iPhone, effectively confirming that the device will launch this year, claims a Chinese leaker. According to the Weibo account "Fixed Focus Digital," assembly lines recently received the orders from Apple, which has apparently allowed the leaker to learn the crease measurements for the device's 7.8-inch inner display....
m3 macbook pro blue

M5 Pro and M5 Max MacBook Pro: What to Expect

Wednesday February 25, 2026 3:02 pm PST by
Apple is working on a new MacBook Pro that could launch next week ahead of the "Special Experience" planned for March 4, so we thought we'd highlight all of the rumors about the device so far. Design There are no rumors of design changes, and we are expecting the upcoming M5 MacBook Pro models to look just like the M4 versions. Apple will continue to offer 14-inch and 16-inch size options,...