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

iOS 27 Next to iPhone

Here's When iOS 27 Rolls Out Today in Every Time Zone [Update: It's Out]

Sunday September 13, 2026 3:00 am PDT by
Update 10:04 a.m.: iOS 27 is rolling out now, though it may take a bit for all users to see it, so keep checking! Apple is about to release iOS 27, which will finally deliver more advanced Siri AI capabilities as well as a variety of other refinements, improvements, and new features to iPhones. It's Apple's biggest software update of the year, and Apple announced at Wednesday's iPhone event...
iOS 27 Icon iPhone

iOS 27 Available Today With These 8 New Features

Monday September 14, 2026 9:00 am PDT by
Update: Apple has released iOS 27. During its iPhone 18 Pro and iPhone Duo event last week, Apple announced that iOS 27 will be released widely on Monday, September 14. iOS 27 should be available around 10 a.m. Pacific Time / 1 p.m. Eastern Time today via the Settings app, under General → Software Update. Below, we have highlighted eight new features and changes coming with iOS...
deep black iphone 18 pro

Apple Says iPhone 18 Pro Max Sold in U.S. Differs in One Way

Saturday September 12, 2026 3:27 pm PDT by
As noted by Nicolas Lellouche, who writes for the French tech website Numerama, Apple has updated its tech specs pages for the iPhone 18 Pro and iPhone 18 Pro Max to clarify which models are equipped with its new C2 cellular modem and where. Apple now says the iPhone 18 Pro has a C2 modem worldwide, while the iPhone 18 Pro Max uses the chip in every country except for the U.S. According...