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

Four iPhone 18 Pro Colors Mock Feature

iPhone 18 Pro and iPhone Ultra: Pre-Orders and Release Date

Thursday July 30, 2026 6:12 am PDT by
Apple has yet to reveal when the iPhone 18 Pro and iPhone Ultra will be announced and released, but the dates usually follow a familiar pattern. Labor Day is September 7 this year. The last time the holiday fell on that day was in 2020, but the iPhone event that year was delayed until October due to the COVID-19 pandemic. So, the last time Labor Day was on September 7 in a normal year was in ...
iPhone 18 Pro Deep Red Feature

iPhone 18 Pro Launching Next Month With These 12 New Features

Sunday August 2, 2026 7:21 pm PDT by
It is now August, and that means the iPhone 18 Pro and iPhone 18 Pro Max should be launching next month. The devices are expected to look similar to the iPhone 17 Pro and iPhone 17 Pro Max, but there will still be many year-over-year changes, with rumored features including a smaller Dynamic Island, 5G via satellite, and more. Apple is expected to unveil the iPhone 18 Pro, iPhone 18 Pro Max, ...
Four iPhone 18 Pro Colors Mock Feature

iPhone 18 Pro and iPhone Ultra: Pre-Orders and Release Date

Sunday August 2, 2026 7:32 pm PDT by
Apple has yet to reveal when the iPhone 18 Pro and iPhone Ultra will be announced and released, but the dates usually follow a familiar pattern. Labor Day is September 7 this year. The last time the holiday fell on that day was in 2020, but the iPhone event that year was delayed until October due to the COVID-19 pandemic. So, the last time Labor Day was on September 7 in a normal year was in ...