How to Remove EXIF and GPS Data From Photos Before You Post Them
Digital photos often carry hidden metadata that includes information like shooting location, camera model, owner name, and embedding geotags. This can potentially expose your privacy when you share those images online. However, removing EXIF and GPS data from photos before posting them is straightforward with the right tools and techniques.

In this article
What Metadata is in a Photo?
Modern digital cameras embed a wealth of metadata in the photos they capture. This metadata, called EXIF (Exchangeable Image File Format), includes technical details like the camera settings, aperture, shutter speed, and more. But it can also include sensitive information such as the precise date and time the photo was taken, and, perhaps most concerning, the GPS coordinates where it was shot.
EXIF is not the only metadata standard that can be embedded in photos. IPTC (International Press Telecommunications Council) and XMP (Extensible Metadata Platform) are two other metadata formats that can also include information in an image file. IPTC metadata often contains caption, copyright, contact, and usage information, while XMP stores metadata in a more flexible format.
Built-In Removal Paths Documented on Platforms
The easiest way to remove EXIF data from your photos before posting them is to use the built-in tools available on your device. Here are the most common methods:
Windows Photos Properties Panel
On a PC running Windows, it's easiest to remove EXIF data directly using the built-in Properties panel. To do this, open the photo in Windows Photos, then click the ellipsis (three-dots menu) in the upper-right corner and select "Properties".
In the Properties dialog box, click the "Details" tab, which shows all the embedded EXIF metadata. Click on "Remove Properties and Personal Information" in the upper-right corner. This brings up two options: "Create a copy with all possible properties removed", or "Remove the following properties from this file".
The first option is the most thorough- it strips all metadata from the file, leaving you with a clean copy. The second option allows you to selectively remove specific properties.
[TO VERIFY: How to confirm removal is actually permanent and not just hiding, on Windows and macOS; needs platform-specific verification steps, not interface-level assurances only]
macOS Preview App
On macOS, the easiest way to strip EXIF data from a photo is to use the built-in Preview app. Open the photo in Preview, then click "Tools" in the menu bar and select "Show Inspector" (Cmd+I).
In the Inspector sidebar that appears, click on the striped pyramid icon for "More Info", then click the "GPS" tab. Preview shows a map with where the photo was taken, and a "Remove Location Info" button to strip that data.
With the GPS metadata removed, any subsequent edits in Preview will not re-introduce that information. But you'll still have EXIF data like camera settings. For a more thorough cleanup, you'll need to use a dedicated metadata remover.
Photoshop "Save for Web"
If you have Photoshop, using the "Save for Web" export path is an effective way to remove most EXIF and XMP metadata from a photo. In the "Save for Web" dialog, there's a "Metadata" dropdown menu with options for "None", "Copyright of Photoshop 3.0" and "All". Selecting "None" removes EXIF, IPTC, and XMP data with the exception of a single copyright field.
Lightroom Export Settings
If you use Adobe Lightroom for photo editing, removing EXIF, IPTC, and XMP metadata is as simple as selecting the right export option. In Lightroom's export dialog, look for the "Metadata" section. When the "Copyright" box under that is checked, Lightroom says only copyright information will be preserved, and all other metadata will be removed. [TO VERIFY: Which exact EXIF/IPTC/XMP fields remain after "Copyright Only"
Command-Line Removal Tools
If the built-in tools on your operating system aren't sufficient to strip the metadata from your photos, you can use command-line tools to get the job done. One of the most commonly recommended command-line tools for removing EXIF metadata is ExifTool by Phil Harvey.
This tool can remove all metadata from an image file with a simple command. On a Windows PC, if you have ExifTool installed, open a Command Prompt window and navigate to the folder containing the photo you want to strip metadata from. Then run the command:
`` exiftool -all= SourcePhoto.jpg ``
This command will remove all metadata from the named file.
There are also one-click mobile apps named as metadata removers available, although verification of full EXIF/XMP removal would need to be done on export, not just in the exported thumbnails.
How to Verify Photo Metadata Has Been Removed
After using any of the above methods to strip metadata from a photo, it's essential to verify the process worked as expected. People commonly make the mistake of assuming that removing metadata in an export or saving dialog means that information is gone from the exported file itself.
To verify that a photo's metadata has been stripped, you need to check the cleaned file, not just the reverse image search or fact-checking database showing the image posts without the private details. One way to check for remaining metadata is to open the cleaned file in a metadata viewer. There are metadata viewers available online for use on the web. These let you upload a photo and see what metadata remains in the file. If a photo contains any sensitive information, you should see warning messages or prompts from most of these viewer apps, which means the removal was not successful.
Limitations That Remain to Verify
The above methods and tools focus on photo editors, designers, and photographers: they cover desktop platforms and image batch-processing apps. The basic mechanisms for removing GPS and EXIF data in the tools relevant to the user base are covered.
However, much still remains to verify. Clearing image metadata in smartphone share sheets, social media links, browser uploader options, and any cloud processing associated with native photo assets is broadly outside the factual sources independent of case study.
[TO VERIFY: Exactly what metadata fields are automatically scrubbed (or omitted) by iOS and Android share sheets, File app export, Google Pixel object tracking, and when calling a social media uploader in different apps. Look for verified cases, not interface descriptions only]
No amount of final checks on the web uploader forms can substitute for confirmation in every link and asset-tracking context that one user may delay removing the metadata, particularly GPS, sometimes until just before final sharing. Checking the simple "copyright only" option in each link path is not an agreed substitute for doing the upload independent to the scrubbing. A directory listing of the last touch is not proof of GPS removal when the sharing platforms may strip that after the scrubbing step.
Most platforms are also known to preserve details in secondary copies or historical archives even when users have scrubbed specific content pre-share. There is dance among the social apps, scraper bots, and web-services over what metadata files to verify.
Different privacy tools show separate metadata fields as captured, and report differently depending on site and scan stage. Users may also recognize some metadata reviewer claims as a pitch to boost the tool subscription or brand claims. The risk is that even when the metadata seems scrubbed, it may be recovered from secondary copies, time-coded shares, or different archives of the same document.
Validation response times also make many users skip a verification step: they will share from an ostensibly clean file without verifying the upload file, and search results, to confirm the metadata was not captured by the recipient. Instead of final verification, they rely on the past history of not having received abuse for overshare. That self-stated best practice may apply where the recipient has strong consumer protections, but EXIF-laden photos may still be cross-correlated and tracked to either the user or the sharer.
This roundabout bi-lateral confirmation process is not a touchpoint for the average sharer: they will click export, verify the meta seems clear, and release. Verifying the recipient did not capture the bitmap location or user details sometimes takes months, depending on scraping caches and search collections.
Therefore the biggest takeaway is trusting export scans to a per-share check, not just relying on one scrub. Verify the upload worked, not just see how clear the export was.
[TO VERIFY: Entertaining research-friendly insights on metadata publishing realities, examining MMDBs curation and cloud image archives. Necessary material for location/scrape content reports
More in Imaging