Files Magic AI · How-To

How to Rename Screenshots Automatically on Mac

Screen Shot 2026-08-19 at 3.42.11 PM.png times two hundred. A Terminal fix for new screenshots, and an AI workflow for the ones already piled on your desktop.

By Ram Velmurugan · Founder & Lead Developer, 1dot.ai

10-step guide·Covers macOS Tahoe's HEIC change·8 min read
Quick answer: For screenshots you haven't taken yet, open Terminal and run defaults write com.apple.screencapture name "YourPrefix", then killall SystemUIServer. That swaps "Screen Shot" for a prefix of your choosing on every future capture. It does nothing for screenshots you already have. For those, drop the folder into Files Magic AI's Magic Rename, and Auto mode reads what is actually on screen in each image, on-device, and proposes a real name instead of a timestamp.

Every Mac screenshot starts life with the same name: Screen Shot 2026-08-19 at 3.42.11 PM.png. Take twenty of them in an afternoon, debugging a form, comparing two dashboards, capturing an error message to send someone, and you get twenty files that look identical in a Finder window until you open each one. The desktop fills up, Spotlight can only search the pixels it happens to guess at, and six months later you have no idea which of forty near-identical screenshots is the one you actually need.

This guide covers two different problems, because they need two different fixes. Stopping new screenshots from being named this way is a one-time Terminal command. Fixing the hundreds you already have needs something that can look at each image and tell you what it actually shows, which is what Magic Rename does.

Why the Default Screenshot Name Is a Dead End

Press Shift-Command-3 for the whole screen, Shift-Command-4 to drag a selection, or Shift-Command-5 to open the full Screenshot app with recording and timer options. All three land on your desktop by default, and all three use the same naming pattern macOS has used for years: Screen Shot [date] at [time].png. Add Control to any of them (Control-Shift-Command-3, for instance) and the screenshot goes to the clipboard instead of becoming a file at all.

The timestamp is genuinely useful for sorting chronologically, but it is the only information the filename carries. It cannot tell you the screenshot was of a failed payment, a client's Figma comment, or a Terminal error, so "which one was it" always means opening files one at a time.

Changing the Default Name with Terminal

macOS stores screenshot behavior in a preferences domain called com.apple.screencapture, and you can change it with the built-in defaults command. Open Terminal (Applications > Utilities, or search it in Spotlight) and run:

defaults write com.apple.screencapture name "Shot" killall SystemUIServer

The second line restarts the system process that reads the setting, so the change applies immediately without a reboot. The next screenshot you take saves as Shot 2026-08-19 at 3.42.11 PM.png instead of using "Screen Shot." Use whatever short word makes sense to you, spaces are allowed inside the quotes.

If you would rather drop the timestamp entirely and let macOS number your screenshots instead, add this:

defaults write com.apple.screencapture include-date -bool false killall SystemUIServer

With that set, new screenshots save as Shot.png, then Shot 2.png, Shot 3.png, and so on, no date or time attached. Run the same command with -bool true to bring the timestamp back.

Reverting to default
To undo either change and go back to Apple's original "Screen Shot" naming with a timestamp, run defaults delete com.apple.screencapture name, then defaults write com.apple.screencapture include-date -bool true, then killall SystemUIServer.

One thing this does not do: it has no effect on screenshots you already took. Terminal changes only apply going forward, which is exactly why the second half of this guide covers the backlog separately.

Other Useful Screenshot Defaults

While you have Terminal open, a few related keys under the same com.apple.screencapture domain are worth knowing about, even if you never touch them:

What it doesCommand
Save screenshots to a folder instead of the desktopdefaults write com.apple.screencapture location ~/Screenshots
Change the file format (png, jpg, pdf, tiff)defaults write com.apple.screencapture type jpg
Turn off the drop shadow on window capturesdefaults write com.apple.screencapture disable-shadow -bool true
Hide the floating thumbnail previewdefaults write com.apple.screencapture show-thumbnail -bool false

Every one of these needs killall SystemUIServer afterward to take effect, and every one can be set through the GUI instead: press Shift-Command-5 to open the Screenshot app, click Options, and the save location, timer, and thumbnail toggle are all there without touching Terminal at all.

If you use a third-party capture tool
CleanShot X, Shottr, and similar apps manage their own save location and naming in their own preferences, not through com.apple.screencapture. These Terminal commands only affect macOS's built-in screenshot tool.

The HEIC Wrinkle in macOS Tahoe

If you're on a Mac with an HDR-capable display, a MacBook Pro with a Liquid Retina XDR screen, a Studio Display, or a Pro Display XDR, running macOS Tahoe (macOS 26) or later, there's a change worth knowing before you build a renaming workflow around ".png." The Screenshot app's Capture Format setting defaults to HDR on these displays, which saves screenshots as HEIF (.heic) instead of PNG, so the file can preserve the extended dynamic range and color data a standard PNG cannot hold.

To switch back to PNG, open the Screenshot app (Shift-Command-5), click Options, and set Capture Format to "SDR (Most Compatible)." For a change that survives system updates, the Terminal equivalent is:

defaults write com.apple.screencapture type png killall SystemUIServer

Either way, if you build any renaming rule, a Shortcuts action, an Automator workflow, around the assumption that screenshots always end in .png, this is the setting that will quietly break it on eligible hardware. Magic Rename reads HEIC the same way it reads PNG, so this only matters if you are writing your own automation.

Good vs. Bad Screenshot Filenames

A side-by-side of what actually changes:

BadWhy it failsGood
Screen Shot 2026-08-19 at 3.42.11 PM.pngThe default. Says when, says nothing about what.2026-08-19_Stripe-Dashboard_Revenue-Chart.png
Screen Shot 2026-08-19 at 10.15.02 AM (2).pngThe auto-numbered duplicate that shows up when two shots land the same minute.2026-08-19_Zoom-Call_Connection-Error.png
Shot.pngAfter turning off include-date, technically unique but tells you even less than before.2026-08-19_Figma-Comment_Homepage-Redesign.png
CleanShot 2026-08-19 at [email protected]A third-party tool's default is still just a timestamp with a different label.2026-08-19_Slack-Thread_Client-Feedback.png

Renaming the Screenshots You Already Have

This is the part the Terminal method cannot touch. If you have a desktop, a Downloads folder, or a dedicated Screenshots folder with hundreds of identically-patterned files already in it, you have three realistic options.

Finder's batch rename (select files, right-click, Rename N Items) can apply one static pattern to the whole group, replacing text or adding sequential numbers. It works, but every file still ends up named the same generic thing with a different number, which solves the "Screen Shot" clutter but not the "which one was it" problem.

Automator or Shortcuts can apply the same kind of fixed pattern automatically as new files appear in a folder, using a Folder Action or a folder-watching automation paired with a Rename action. That is a real improvement for consistency, but it still cannot read what is inside the image; it is renaming by rule, not by content.

Magic Rename is the option built specifically for the third case: reading what is actually on screen in each screenshot and generating a name from that, so a dashboard, an error dialog, and a chat thread each get their own descriptive name instead of sharing one pattern.

What Auto mode actually reads
Magic Rename's on-device OCR and vision pass over each screenshot the same way it reads a scanned receipt or a photographed invoice, pulling out visible text (an error message, a dashboard label, a chart title) to build the name. A screenshot that is mostly a photo with little or no text, a UI mockup, a map, gets a shorter, more general name than one full of readable text, since there is simply less for it to work from.

Batch-Renaming Screenshots with Magic Rename, Step by Step

1

Gather your screenshot backlog

Setup

Pull screenshots off your desktop, out of Downloads, or out of wherever you have been redirecting captures, into one working folder. Mixed PNG and HEIC screenshots are fine in the same pass.

2

Drop the folder into Magic Rename

Files Magic AI

Open Magic Rename and drag individual screenshots or the whole folder onto the page. A dozen screenshots or several hundred works the same way.

3

Use Auto mode, or build a template

Files Magic AI

Auto mode reads each screenshot and picks a descriptive name with no pattern to set up. If you would rather every file follow one exact shape, screenshots don't have a dedicated built-in template the way invoices or receipts do, build a custom one from the available fields (date, document type, title, and more) and save it for reuse.

4

Let it read the screenshots

On-device

Every image goes through on-device OCR and vision, entirely on your Mac, with nothing uploaded, which matters here since a screenshot can just as easily show a private dashboard, an email, or a chat as anything meant to be shared.

5

Review the proposed names

Check before applying

You get a batch preview: every original filename next to its proposed replacement. This is where a screenshot with little readable text produces a shorter or more generic name, worth a glance before you approve the whole batch.

6

Fix or skip anything that looks off

Optional

Correct a name that reads oddly, or exclude a file from the batch, right in the preview. Naming conflicts, two screenshots that would end up with the same name, are flagged automatically.

7

Apply the batch

Done

Approve it and every screenshot gets its new name at once. macOS notifies you when a large batch finishes.

8

Undo if something needs correcting later

Safety net

Rename history holds up to 2,000 past renames, so reverting one screenshot or the whole batch is a click, not a manual re-type.

9

Point Magic Rename at your screenshots folder

Automation

Once the backlog is cleared, set Magic Rename to watch your desktop or screenshots folder with a template. New captures are renamed as they land, and anything it is not confident about is set aside for you to review instead of being applied blind.

10

Keep the Terminal prefix as a fallback label

Belt and suspenders

Even with automated renaming running, keeping a custom Terminal prefix set means a screenshot that slips through unrenamed (network hiccup, app not running) still gets a more useful name than "Screen Shot" while it waits.

Shortcuts, Automator, and True Automation

A fair question at this point: can macOS do all of this natively, without a third-party app? Partly. An Automator Folder Action or a Shortcuts automation triggered by new files can watch a folder and apply a fixed rename rule, strip a prefix, insert sequential numbers, add today's date, the moment a screenshot appears. That covers the "stop using Screen Shot" problem completely on its own.

What it cannot do natively is read the image and name it after what is in it, since neither tool has a built-in step for looking at a picture and describing it. Shortcuts does have an Extract Text from Image action, built on the Live Text engine, that can pull visible text out of a screenshot, which gets you partway there if you are willing to build and maintain that logic yourself. For a name that reflects content without assembling your own multi-step Shortcut, that is the gap Magic Rename's Auto mode fills directly.

If your priority is a fully hands-off pipeline for future screenshots specifically, pair Magic Rename's watched-folder mode with Hazel or a Shortcuts folder action if you also want files sorted into subfolders by type or date once they are named, the same combination our invoice and receipt renaming guides recommend for continuous folder automation.

Stop scrolling through forty identical screenshots

Magic Rename reads what is actually on screen in each screenshot and proposes a name you can search for, entirely on your Mac. 7-day free trial, no credit card required.

Try Magic RenameExplore Files Magic AI

Sources & Further Reading

Screenshot keyboard shortcuts and default save location: Apple Support, "Take a screenshot on Mac". HDR Capture Format and HEIC screenshots on eligible displays running macOS Tahoe: cross-referenced across Apple's own screenshot documentation and independent reporting on the macOS 26 change.

Magic Rename's engines, templates, and watched-folder mode: Files Magic AI's Magic Rename product page. The same naming approach applied to other file types: renaming scanned receipts, renaming invoices, and renaming PDFs by content. How AI file renaming works more broadly: our AI file renaming guide.


Frequently Asked Questions

What filename does macOS give screenshots by default?
A screenshot taken with Shift-Command-3, Shift-Command-4, or Shift-Command-5 saves to the desktop as "Screen Shot [date] at [time].png," for example Screen Shot 2026-08-19 at 3.42.11 PM.png. It has been named this way for years, and the name carries no information about what is actually in the image, only when it was taken.
How do I change the default screenshot filename on Mac?
Open Terminal and run defaults write com.apple.screencapture name "YourPrefix", then killall SystemUIServer to apply it immediately. Every screenshot from that point on starts with your chosen prefix instead of "Screen Shot," followed by the same date and time stamp. This only affects new screenshots; anything already on disk keeps its old name.
Can I remove the date and time from screenshot filenames entirely?
Yes. Run defaults write com.apple.screencapture include-date -bool false, then killall SystemUIServer. New screenshots save as just your prefix, for example Screenshot.png, and macOS appends a number for each additional one taken the same session (Screenshot 2.png, Screenshot 3.png). Run the same command with -bool true to bring the timestamp back.
Why did my screenshots start saving as .heic instead of .png?
On Macs with an HDR-capable display (MacBook Pro models with Liquid Retina XDR, Studio Display, Pro Display XDR) running macOS Tahoe or later, the Screenshot app's Capture Format defaults to HDR, which saves screenshots as HEIF/HEIC instead of PNG. Open the Screenshot app (Shift-Command-5), go to Options, and switch Capture Format to "SDR (Most Compatible)" to get PNG back, or run defaults write com.apple.screencapture type png followed by killall SystemUIServer from Terminal for a change that survives updates.
Does changing the Terminal defaults rename screenshots I already took?
No. Every defaults write com.apple.screencapture command only changes behavior going forward; it has no effect on files already sitting on your desktop or in a screenshots folder. To fix the backlog you already have, you need a batch renaming tool. Finder's built-in batch rename can apply one static pattern to a group of files, but it cannot look at what each screenshot actually shows.
Can Shortcuts or Automator rename screenshots automatically as I take them?
They can automate a fixed pattern (strip a prefix, add sequential numbers, insert today's date) once a screenshot lands in a folder, using an Automator Folder Action or a Shortcuts automation. What neither one can do natively is look at the image and name it after what is actually on screen, since that requires reading the picture, not just its filename. For a fixed convention like "Screenshot-001, Screenshot-002," Shortcuts or Automator is enough on its own; for a name that reflects content, you need an OCR or vision step added on top, which is what Magic Rename provides.
What is the difference between the Terminal method and AI renaming for screenshots?
The Terminal defaults command changes only the prefix and timestamp behavior; every future screenshot still gets one generic label plus a time, just a label you chose instead of "Screen Shot." AI renaming, as used in Magic Rename, reads the actual content of each screenshot with on-device OCR and vision, so a screenshot of a Stripe invoice, a Zoom error message, and a Slack thread each get a distinct, descriptive name instead of sharing the same generic prefix.
Will renaming a screenshot break anything that references the old filename?
Only if something else already points to that exact filename, for example a Markdown document or a webpage that embeds the image by its original name. A screenshot sitting alone on your desktop or in a folder has nothing depending on its name, so renaming it is safe. If you have pasted a screenshot into a document by reference rather than by embedding it, check that link before you rename the underlying file.
Do my screenshots get uploaded anywhere when Magic Rename reads them?
No. The rename pipeline makes no network calls. Reading and naming both happen on your Mac, using either Apple Intelligence, a built-in local model, or an optional Rename LLM, so a screenshot of a private dashboard, an email, or a chat never leaves the machine.
Can screenshots get renamed automatically the moment I take them, without opening the app?
Point Magic Rename at your screenshots folder (the desktop, or wherever you have redirected captures to), pick a template or leave it on Auto, and new files are renamed as they land, waiting until each screenshot has finished saving before touching it. Anything the app is not confident about is set aside for you to review rather than guessed at, so unattended renaming and a safety net are not mutually exclusive.

"Screen Shot" plus a timestamp is a fine name for a file macOS generated and a useless one for a person trying to find it later. A Terminal command fixes the naming going forward in about thirty seconds; clearing out the backlog that already exists needs something that can actually look at each screenshot, which is where Magic Rename comes in. For the same content-aware approach applied to receipts and invoices, see how to rename scanned receipts on Mac and how to rename invoices on Mac. Camera roll photos have their own version of the same generic-name problem; see how to rename photos by date on Mac. For a broader look at how this category of tool works, including how Files Magic AI compares to NameQuick and RenameClick, read How AI File Renaming Works on Mac. Once screenshots are named consistently, finding and clearing duplicate screenshots is a natural next step, and our bulk renaming guide covers the classic pattern-based tools if AI renaming is more than you need for a given folder.

Published August 19, 2026 · More guides · Files Magic AI