Remove metadata from a screenshot on a Mac.
A screenshot file holds a little more than the picture: its size, a note that it is a screenshot, and on the Mac itself, where on the screen it was taken. This guide shows what we found in a Mac screenshot, when it is worth removing, and how to do it with built-in tools and with Shotmori.
Last checked:
What metadata does a Mac screenshot contain?
We looked at a screenshot taken with ⇧⌘4 on macOS 27.0.1 on 7 November 2026. Other macOS versions, and files that another app has saved again, may differ.
| Where | What we found | Travels with an upload? |
|---|---|---|
| File name | Date and time of the capture | Yes, unless you rename the file |
| EXIF block inside the PNG | Pixel dimensions, resolution, the comment “Screenshot” | Yes, it is part of the file |
| XMP text inside the PNG | Pixel dimensions and “Screenshot” again | Yes, it is part of the file |
| Color profile inside the PNG | A color profile | Yes; it keeps colors correct |
| macOS file attributes | A screenshot flag (kMDItemIsScreenCapture), the capture type such as “selection”, and the capture rectangle on screen (kMDItemScreenCaptureGlobalRect) | Usually not; a web upload sends the file’s contents |
Read with xattr, mdls and a PNG chunk listing on 7 November 2026.
We found no location, no user name and no device name in this file. The file name already shows when it was taken: macOS names screenshots after the date and time (Apple Support). Images saved again by other apps can pick up more, such as the name of the editing app or, in a JPEG, a small embedded preview image.
When does screenshot metadata matter?
For most screenshots, the picture is the risk and the metadata is not. A name in the corner of a window says far more than a pixel count. Still, there are cases worth a minute:
- Public posts. A screenshot on a forum, a website or a public bug tracker can be downloaded and inspected by anyone.
- After redaction. If you covered a detail in an app that keeps an embedded preview or an editing history, an older version of the image could be inside the file. A flattened new copy avoids that.
- Timing. The time in the file name, or in the file’s dates, can show when you were at your desk.
- Copies between Macs. The capture rectangle and screenshot flag stay with the file in many Mac-to-Mac copies, for example on an external drive.
If you are hiding text, start with the guide to redacting a screenshot. Metadata comes second.
How do you check a screenshot’s metadata?
- Finder. Select the file and press ⌘I for Get Info. More Info shows the dimensions and other details Finder can read.
- Preview. Open the file and choose Tools › Show Inspector. Depending on the file, it lists general information and EXIF details.
- Terminal.
mdls "file.png"lists what Spotlight knows about the file.xattr "file.png"lists its extended attributes, including thecom.apple.metadataones.
How do you remove metadata with built-in tools?
File attributes: xattr -c. In Terminal, xattr -c "file.png" removes the extended attributes, including the screenshot flag and the capture rectangle. In our test it removed all of them except one system attribute, com.apple.provenance, which macOS protects. It does not touch the EXIF or XMP data inside the PNG. Run it on a copy if you want to keep the original as it is.
Data inside the file: export a new copy. Preview’s File › Export writes a new file in the format you choose (Apple Support). Writing a new file can leave some metadata behind, but how much depends on the format and the macOS version. Apple does not list what is kept, so check the result with Get Info or mdls before you share it.
The name. Rename the file if the time in it is sensitive. Click the name in Finder, or select the file and press Return.
How does Shotmori handle metadata?
Shotmori does not take screenshots; it watches the folder macOS saves to and puts each new screenshot on a shelf. It never changes the original file. Metadata is removed in two places, both on new copies.
Edited copies. Select one image and press E, or choose Edit… from the Actions menu. After cropping or redacting, choose PNG as the output. In a PNG copy, Shotmori removes the EXIF and text data and does not embed a thumbnail. Redacted areas are flattened to opaque black, so their pixels are not in the new file at all, and HEIF or HDR sources are flattened to PNG. Copy, Add to shelf or Save as… hands you the clean copy.
Cloud sharing. When you connect your own Google Drive or S3 account, Upload to Drive, Upload to S3 and the Shortcuts action Upload to Cloud remove EXIF, GPS, TIFF, IPTC and XMP data from the copy they upload. JPEG, HEIC and TIFF are cleaned without re-encoding, and the orientation is kept; from a PNG, only the image data goes. This happens to the copy in memory, so the local file stays as it was.
Automatic backup is different: Settings › Cloud › “Back up new screenshots to” uploads the original bytes, metadata included, always privately. The backup guide explains that feature, and the privacy policy describes what the cloud features do with your files.
What Shotmori does not do
It does not clean the original screenshot or its file attributes. It does not remove metadata from many files in one step, and it does not show a file’s metadata. A dragged original carries its own data, so drag the edited copy instead. Shelfy lists metadata removal among its features (Shelfy).
Questions
Does a Mac screenshot contain my location?
Not in the screenshot we examined on macOS 27: it had no GPS data. Photos from a phone are a different matter and often carry a location.
Does xattr -c remove EXIF data?
No. It removes the macOS file attributes stored next to the file. EXIF and XMP live inside the image data and need a new copy of the file.
Does Shotmori clean screenshots when it backs them up?
No. Backups go as the original bytes, privately to your own account. Metadata is removed only when you upload to share.
Can a hidden detail come back from the metadata?
Only if the file keeps an older version, such as an embedded preview or an unflattened layer. A flattened new copy, like Shotmori’s edited PNG, has neither.
Sources
- How to take a screenshot on your Mac · Apple Support · checked 7 November 2026
- Convert image file types using Preview on Mac · Apple Support · checked 7 November 2026
- Shelfy · developer site · checked 2 November 2026
- Shotmori’s own test of a screenshot from macOS 27.0.1 with
xattr,mdlsand a PNG chunk listing · 7 November 2026
Coming to the Mac App Store and GitHub as free, open-source software (MIT). No purchase, no subscription, no account.