Remove GPS Location from Photos Before Sharing
Every smartphone photo carries an invisible passenger. Modern cameras embed GPS coordinates directly into the EXIF metadata the moment you press the shutter,1 recording latitude and longitude precise enough to identify a specific house rather than just a neighborhood.2 Because that data rides silently inside the file, sharing the image means sharing the location too, even when nothing in the frame itself reveals where you were standing. The Electronic Frontier Foundation has documented this risk for over a decade, warning that a single photograph can disclose a home address, a workplace, or a child's school in seconds. Consequently, the danger here is not theoretical: anyone who downloads the original file, through a message, an email, or an unprotected upload, can extract those coordinates with free software in moments. This guide explains what gets exposed and how scrubbing removes it for good.
How precise is the location hidden in a photo
GPS tags inside EXIF store latitude and longitude to roughly six decimal places, a resolution that resolves to a few meters on the ground.2 Because of that precision, a single photo posted with metadata intact can pinpoint a specific house, not just a general area. Reverse lookup tools make extracting those coordinates trivial; no specialized skill is required, only a file and a few seconds.3
Why six decimal places matters
At six decimal places, a GPS coordinate narrows location to roughly the width of a single room, while three decimal places would only narrow things to a neighborhood block. The extra precision phones record by default is exactly what turns a casual photo into a usable address. Consequently, the danger is not theoretical: anyone who downloads the original file, whether through a direct message, an email attachment, or an unprotected upload, can extract the coordinates with free, widely available software in seconds.
Four decimal places, by comparison, only resolve to about eleven meters, enough to place a photo somewhere within a building's footprint but not to identify which room. That middle band shows why the extra two digits in a six-decimal reading matter so much: each additional decimal place shrinks the margin by roughly a factor of ten, moving the estimate from block-level to room-level in only a few steps.
Why platform handling is not a safety net
Some major platforms let you choose whether location data is shared from uploaded photos.4 For the average post, that built-in control covers most of the everyday concern. Yet this protection only applies to the copy other users see; it does not extend to direct file shares, marketplace listings, forum attachments, or any service that passes your file through unprocessed.
Furthermore, platform behavior changes without notice and varies between feed posts, direct messages, and story formats on the very same app, so a habit built around 'the platform handles it' can break down the moment you switch features. Because you cannot verify in advance whether a given upload path strips metadata, scrubbing the file yourself before you share it removes the uncertainty entirely. Building on this, treating every photo the same way, regardless of where it is headed, is simpler than tracking which feature on which platform behaves how this month.
What gets removed when you scrub a photo
Scrubbing removes the EXIF segment in its entirety, not just the GPS tags. That includes camera make and model, lens information, the exact capture timestamp, and any XMP or IPTC blocks layered on top by editing software.5 Removing all of it at once, rather than picking individual fields, is what closes every avenue a viewer could use to trace the file back to a device or a moment. The same thoroughness is why CapyToolkit's scrubber is effective against both obvious GPS tags and the deeper metadata structures most people never think about.
What stays the same
The pixel data itself is untouched. Removing metadata does not recompress, crop, or alter the visible image in any way, so the photo you share looks identical to the original; it simply carries no location trail with it.6 File size typically decreases slightly, since the removed segment is no longer part of the file. The visual result is the same whether the original came from a flagship phone or a ten-year-old digital camera.
How the GPS IFD structure works inside a photo file
The GPS IFD (Image File Directory) is a sub-structure inside the main EXIF block, pointed to by tag 0x8825 (GPSInfo IFD Pointer). Inside this sub-IFD, individual tags store specific pieces of location data: tag 0x0001 (GPSLatitudeRef) records North or South, tag 0x0003 (GPSLongitudeRef) records East or West, tag 0x0005 (GPSAltitudeRef) indicates whether altitude is above or below sea level, and tag 0x0007 (GPSTimeStamp) records the UTC time the GPS fix was obtained. Deleting the GPS IFD pointer at tag 0x8825 removes the entire sub-structure in one operation, which is more reliable than deleting individual GPS tags one by one.
Why removing the pointer is safer than editing individual fields
If you delete only the GPSLatitude and GPSLongitude tags but leave the GPS IFD pointer intact, some EXIF readers will still detect the presence of a GPS IFD and report that location data was once present, even though the actual coordinates are gone. A thorough scrub has to remove the GPS pointer, not just the coordinates: eliminating tag 0x8825 clears the entire GPS sub-structure, so no reader can detect that GPS data ever existed. A full scrub handles this automatically, removing the pointer and every tag inside it in a single pass.
When to use this
Use this before uploading photos to social media, listing products on marketplaces, posting on forums, or sharing images with anyone outside your immediate circle. Apply it as a default step for every photo, not just the ones that obviously show a recognizable location.
Examples
Phone photo before scrubbing
GPS Latitude: 51.5074° N GPS Longitude: 0.1278° W Camera: Apple iPhone 15 Date: 2024-11-15 09:23:11
GPS Latitude: [removed] GPS Longitude: [removed] Camera: [removed] Date: [removed]
The scrubber removes all EXIF, XMP, and IPTC metadata, not just GPS.
- 1.
Electronic Frontier Foundation, "A Picture is Worth a Thousand Words, Including Your Location," eff.org, April 2012. https://www.eff.org/deeplinks/2012/04/picture-worth-thousand-words-including-your-location
- 2.
Wikipedia, "Decimal degrees," en.wikipedia.org, accessed June 2026. https://en.wikipedia.org/wiki/Decimal_degrees
- 3.
Wikipedia, "Exif," en.wikipedia.org, accessed June 2026. https://en.wikipedia.org/wiki/Exif
- 4.
Google, "How Google Photos protects your location data," support.google.com, accessed June 2026. https://support.google.com/photos/answer/11190100?hl=en
- 5.
Adobe, "Metadata basics and actions in Lightroom Classic," helpx.adobe.com, June 2025. https://helpx.adobe.com/lightroom-classic/help/metadata-basics-actions.html
- 6.
ExifTool, "ExifTool FAQ," github.com, accessed June 2026. https://github.com/exiftool/exiftool/blob/78ef8fcf/html/faq.html