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 Logo Gradient 16x9 1

Apple Just Made an Extremely Rare Product Announcement

Thursday August 27, 2026 7:58 am PDT by
The new Mac mini and Mac Studio models unveiled by Apple this week are the company's first new Macs announced in August since 2020. It is extremely rare for Apple to announce new products of any kind in August, excluding smaller things like new color options and accessories. As mentioned, Apple's last notable August product announcement was in 2020, when it updated the 27-inch iMac and a...
Apple Surprise Shine

Apple Event: Six New Products to Expect on September 9

Thursday August 27, 2026 8:00 am PDT by
Apple has announced that it will be holding an event on Wednesday, September 9 at 10 a.m. Pacific Time, with the company widely expected to unveil the iPhone 18 Pro, iPhone 18 Pro Max, its first-ever foldable iPhone, and more. Other products expected to be announced at the event include an Apple Watch Series 12 with a ceramic case option, an Apple Watch Ultra 4, AirPods 5 with and without...
iPhone 18 Pro Dark Cherry Feature

iPhone 18 Pro Pre-Orders May Start at an Unusual Time

Friday August 28, 2026 8:17 am PDT by
Pre-orders of Apple's iPhone 18 Pro may not open until Saturday, September 12, a day later than the company's usual schedule, according to a new report. Apple is set to hold its annual iPhone event on Wednesday, September 9, where the iPhone 18 Pro models, its first-ever foldable iPhone, and the Apple Watch Series 12 and Ultra 4 are all expected to be announced. Under Apple's typical...