photometadata.netEXIF · GPS · METADATA

How to Remove EXIF Data on Mac

macOS has no single "strip metadata" button. What it has is Preview, which deletes the GPS coordinates and nothing else, and Terminal, which deletes everything. Pick by what you actually need — both are below, alongside the free batch apps and the trap in Apple Photos' export dialog.

The two-minute answer

Just the location, no install

Open the photo in Preview → Tools Show Inspector (⌘I) → the GPS tab → Remove Location Info, then save with ⌘S.

Everything, in one command

exiftool -all= -overwrite_original photo.jpg

Jump to Preview, Terminal, batch apps, Apple Photos, or verification. No Mac at hand? The browser tool strips a photo without uploading it.

How to Remove EXIF Data on macOS (Preview Method)

Preview ships on every Mac and it can delete the GPS coordinates from a photo without installing anything. Be clear about the limit before you rely on it: this removes location only. Camera make and model, serial number, lens, exposure settings, and the capture timestamp all survive.

  1. Open the photo in Preview (double-click it, or right-click → Open With → Preview).
  2. Choose Tools Show Inspector, or press ⌘I.
  3. Click the (i) info tab, then the GPS tab. It only appears if the photo actually has coordinates — no GPS tab means there is no location to remove.
  4. Click Remove Location Info at the bottom of the pane.
  5. Save the file with ⌘S. Preview edits the original in place, so duplicate the file first (⌘D in Finder) if you want to keep the coordinates somewhere.

Stripping everything in Preview

There is no menu command for it, but there is a reliable trick: copy the pixels into a brand-new document and the metadata is left behind.

  1. With the photo open, press ⌘A to select all, then ⌘C to copy.
  2. Choose File New from Clipboard (⌘N).
  3. Save the new document. It is drawn from the raw pixel data, so it carries no EXIF block at all.

The catch: this re-encodes the image, so you lose a little JPEG quality, and it silently drops the ICC color profile along with everything else. It is fine for a photo headed to a website or a message. For an original you plan to keep, use ExifTool below — it removes the metadata without touching a single pixel. Either way, verify the result rather than trusting the method.

Using Terminal to Strip Metadata

ExifTool is the tool of record for this job. It rewrites the metadata segments of a file and copies the compressed image data across unchanged, so a stripped JPEG is pixel-for-pixel identical to the original. It handles JPEG, PNG, TIFF, HEIC, and RAW.

Install it:

brew install exiftool

No Homebrew? The ExifTool site publishes a signed macOS .pkg installer that puts exiftool on your PATH with no package manager involved.

Strip everything:

exiftool -all= photo.jpg

Run it that way and ExifTool leaves the untouched file next to it as photo.jpg_original. That backup is a safety net, but it still holds the full original metadata — including the GPS coordinates — so delete the _original files once you have checked the result, or skip creating them with -overwrite_original.

The variations worth knowing:

# Remove only GPS coordinates, keep camera settings
exiftool -gps:all= -overwrite_original photo.jpg

# A whole folder, recursively
exiftool -all= -overwrite_original -r ~/Pictures/album

# Only JPEGs and HEICs, recursively
exiftool -all= -overwrite_original -r -ext jpg -ext jpeg -ext heic ~/Pictures

# Strip metadata but keep the colour profile so colours stay correct
exiftool -all= --icc_profile:all -overwrite_original photo.jpg

# Write clean copies to another folder, leaving the originals alone
exiftool -all= -o ~/Desktop/clean/ -r ~/Pictures/album

Drag the folder in. Type exiftool -all= -overwrite_original -r followed by a space, then drag a folder from Finder onto the Terminal window. macOS pastes the full path, escaping included — quicker than typing it and impossible to typo.

Watch the colour profile. -all= deletes the embedded ICC profile too. For a photo bound for the web that is usually fine, since browsers assume sRGB. But Macs shoot and edit in Display P3 by default, and dropping the profile from a P3 file makes the colours shift — often visibly, on saturated reds and greens. The --icc_profile:all variant above keeps it.

macOS keeps its own metadata, too. Separate from EXIF, the filesystem attaches extended attributes to a file: where it was downloaded from, whether it is quarantined, Finder tags. Run xattr -l photo.jpg to see them and xattr -c photo.jpg to clear them. Most of these are stripped in transit by email and messaging apps, but they survive a copy to a USB stick or a shared folder.

Best Free Mac Apps for Batch EXIF Removal

ImageOptim

A free, open-source drag-and-drop optimizer. Drop a folder of photos on the window and it shrinks each file and discards the metadata as part of the same pass. It is the fastest route from "a hundred photos" to "a hundred clean, smaller photos."

Two things to know. First, ImageOptim overwrites the files you drop on it, in place, with no backup — copy the folder before you drag it in. Second, check Preferences before the first run: it has explicit controls for what to preserve, and you probably want to keep the colour profile while dropping everything else.

It also re-encodes the images, which is the entire point of an optimizer but does mean it is the wrong tool for archival originals.

ExifCleaner

Free and open source, a drag-and-drop window that runs ExifTool underneath. If you want ExifTool's thoroughness and lossless behaviour but not its command line, this is the answer. It handles batches of images, video, and PDFs.

Like ImageOptim, it modifies files in place — work on copies.

ExifTool itself, for a real batch

Once you are past a few hundred files, or you need to strip GPS while keeping copyright, the command line stops being the harder option:

# Clean copies of a whole library into ~/Desktop/clean, originals untouched
exiftool -all= -o ~/Desktop/clean/ -r ~/Pictures/album

# GPS only, across every photo in a delivery folder
exiftool -gps:all= -overwrite_original -r ~/shoots/2026-06

Avoid the App Store search results for this. "EXIF remover" apps that charge for a batch unlock are doing what these two free tools do, and the ones that upload your photos to a server to do it are a worse trade than the problem they solve. For the cross-platform picture, see our guide to batch removing EXIF data from multiple photos.

No Install — Use Your Browser

On a managed work Mac where you cannot install Homebrew or run an unsigned app, our free browser tool strips the whole metadata block. It runs entirely in Safari or Chrome on your own machine — the photo is never uploaded anywhere.

  1. Open photometadata.net and choose one or more photos.
  2. Read what is actually in them — GPS on a map, camera model, timestamps, exposure settings.
  3. Click Strip Metadata & Download for clean copies (a ZIP if you picked several).
Open Photo Metadata Viewer

Like Preview's clipboard trick, the browser tool re-encodes the JPEG. For an archival original, use ExifTool.

What Apple Photos Does With Metadata

This is where most people on a Mac accidentally share coordinates. Photos keeps metadata in its library and hands it back on the way out, and the export dialog's defaults are not the private ones.

Hiding a location is not removing it

Select photos and choose Image LocationHide Location. This tells the library to stop treating the photo as located, and exports will honour it. But it is a library-level flag, not an edit to a file — the menu right below it, Revert to Original Location, brings the coordinates straight back. The original location is still stored.

That is a feature if you are tidying your own library and a problem if you assumed the data was destroyed.

The export dialog is the control that matters

FileExport Export Photo… opens a panel with an Include Location Information checkbox. Untick it and the exported file has no GPS block.

Everything else still goes with the file: camera make and model, lens, the full exposure settings, and the capture timestamp. If you need those gone as well, export first and then run ExifTool over the exported folder.

Export Unmodified Original… ignores that checkbox entirely. It is designed to hand you the file exactly as the camera wrote it, metadata and all. So does dragging a photo out of Photos and dropping it on the Desktop. Both are the fast, obvious gestures, and both export your GPS coordinates.

Stop it at the source

A photo with no coordinates needs no stripping. If your Mac library syncs from an iPhone, the location was attached when the shutter fired — see remove EXIF from iPhone photos for turning camera geotagging off and for the share-sheet location toggle that handles one-off sends.

Verify the Metadata Is Actually Gone

Never assume the strip worked. Different tools miss different blocks, and a GPS tag can survive in an XMP section that a naive stripper walks past. Check the output file before you share it; our guide to stripping metadata before sharing covers which platforms clean your uploads and which pass them straight through.

# Every tag ExifTool can find, grouped and short-named
exiftool -a -G1 -s photo.jpg

# Confirm no GPS tag survived (should print nothing)
exiftool -gps:all photo.jpg

# Walk a folder and name any file that still has a latitude
exiftool -r -if '$gpslatitude' -filename ~/Pictures/album

# macOS extended attributes — separate from EXIF, also worth clearing
xattr -l photo.jpg

A fully stripped JPEG still reports a handful of lines: file name, size, MIME type, image dimensions, bit depth, encoding process, and the JFIF version. Those are structural properties read out of the image itself, not embedded metadata. Their presence does not mean the strip failed. What should be gone is everything in the [EXIF], [GPS], [XMP], [IPTC], and maker-note groups.

Finder's Get Info panel is not a verification tool — it shows a curated summary, not the raw tags, and it will happily look clean while the file is not. Neither is mdls, which reads Spotlight's index and can report stale values for a file you just rewrote.

Prefer to see it, not grep it?

Drop the stripped file into our EXIF viewer for a visual confirmation that GPS, camera, and timestamps are gone. Runs locally in your browser — nothing is uploaded.

Open the EXIF Viewer

Which Method Should You Use?

MethodRemovesRe-encodes?Best for
Preview inspectorGPS onlyNoOne photo, no install, location is all you care about.
Preview → New from ClipboardEverythingYesA quick full strip on a locked-down Mac.
ExifToolEverything, or exactly what you nameNoAnything you care about — precise, lossless, scriptable.
ImageOptimEverythingYesBatches headed for the web, where smaller is also better.
Apple Photos exportGPS onlyNoPhotos already in your library — untick Include Location.
Browser toolEverythingYesMacs where you cannot install software.

Related Guides

Frequently Asked Questions

How do I remove EXIF data from a photo on a Mac?

For the location alone, open the photo in Preview, press ⌘I for the Inspector, click the GPS tab, and choose Remove Location Info. For every field, install ExifTool with brew install exiftool and run exiftool -all= -overwrite_original photo.jpg. The Preview route removes only coordinates; the ExifTool route removes camera model, serial number, timestamps, and exposure settings as well.

Can Preview remove EXIF data on Mac?

Partly. Preview's Inspector has a Remove Location Info button that deletes the GPS tags, and nothing else — camera, lens, timestamp, and exposure data stay in the file. There is no menu command to strip the whole EXIF block, but copying the image (⌘A, ⌘C) into File → New from Clipboard creates a fresh document from the pixels with no metadata attached. That re-encodes the JPEG and drops the colour profile.

How do I delete photo metadata on Mac without Terminal?

Three options that never touch a command line: ImageOptim or ExifCleaner, both free, both drag-and-drop, both handle batches; Preview's New from Clipboard trick for a single photo; or our browser-based metadata remover, which runs locally and works on a Mac where you are not allowed to install anything.

Does Apple Photos remove metadata when you export?

Only if you ask it to, and only the location. File → Export → Export Photo… has an Include Location Information checkbox; untick it and the GPS block is left out, while camera model, lens, exposure, and timestamp are still written to the exported file. Export Unmodified Original… ignores that setting completely and gives you the file with all its original metadata, as does dragging a photo out of the Photos window.

Does "Hide Location" in Photos delete the GPS data?

No. It flags the photo as unlocated inside your library, which exports respect, but the coordinates are still stored — the Revert to Original Location menu item right below it puts them back. Anyone with access to your library can undo it. To actually destroy the coordinates, strip the exported file with ExifTool.

Does ImageOptim remove EXIF data?

Yes — discarding metadata is part of how it makes files smaller, and its Preferences let you choose what to preserve (keeping the colour profile is usually the right call). Two warnings: it overwrites the files you drop on it with no backup, so work on copies, and it re-encodes the images, so it is the wrong tool for originals you want to keep pristine.

Does removing EXIF with ExifTool reduce image quality?

No. ExifTool rewrites only the metadata segments and copies the compressed image data across untouched, so the pixels are byte-for-byte identical. Preview's clipboard trick, ImageOptim, and browser-based strippers all decode and re-encode the JPEG, which costs a little quality each time.

How do I check the metadata is actually gone on macOS?

Run exiftool -a -G1 -s photo.jpg and look for [EXIF], [GPS], or [XMP] groups — there should be none. A few structural lines (file size, dimensions, JFIF version) always remain and are not metadata. Do not trust Finder's Get Info panel, which shows a summary rather than the raw tags. You can also drop the file into our EXIF viewer for a visual check.

Check a photo before you send it

See every EXIF field in your browser — no upload, no install, works on any Mac.

Open Photo Metadata Viewer