Table of Contents

When you snap a photo with a smartphone, the file often carries more than the visible image. Embedded metadata—especially GPS coordinates—can reveal the exact spot where the picture was taken. Posting such a photo on social media, sending it via email, or sharing it through messaging apps may unintentionally expose your home address, workplace, or daily routines. Removing GPS data before sharing is a straightforward but essential privacy step.
This guide explains how to strip location metadata from photos using built-in options on iPhone, Android, Windows, and Mac, as well as how Google Photos handles location sharing. It covers what metadata is, why it persists in edited copies and screenshots, and how to verify that a cleaned file truly contains no GPS information. You’ll also learn the trade-offs of re-encoding images and how to choose between built-in tools and dedicated utilities.
While these methods can remove GPS coordinates, absolute anonymity is not guaranteed—other hidden data or file characteristics might remain. Always verify the final result before sharing, and treat any privacy tool as a helper, not a promise of complete invisibility.
Understanding EXIF and GPS metadata in photos
EXIF (Exchangeable Image File) is a standard that stores camera settings, date and time, device information, and sometimes GPS coordinates inside the image file. When you press the shutter on a smartphone, the camera app often records the location if location services are enabled. This GPS data is embedded in the file’s metadata, which can be read by anyone who gets a copy.
Why does this matter? If you share a photo of a meal at a restaurant, a picture of your pet at home, or a snapshot of your child at school, the hidden coordinates may pinpoint the exact spot. Even if you crop or apply a filter, the original metadata often survives unless you specifically strip it.
What exactly is stored?
Common EXIF fields include:
- Camera make and model
- Lens and focal length
- Shutter speed, aperture, and ISO
- Date and time of capture
- GPS latitude and longitude (if enabled)
- GPS altitude and direction in some devices
Not all cameras embed GPS. Dedicated DSLRs rarely do unless paired with a GPS unit, but most smartphones do by default. The presence of GPS data depends on your camera app’s settings and whether location permission was granted.
Why metadata persists
Metadata is not visible on screen; it’s stored in the file structure. Copying a file to another folder, attaching it to an email, or uploading it to a cloud service does not always strip it. In fact, many platforms preserve the original file, including its metadata.
Editing a photo with tools like Instagram filters or basic crop functions might create a new version that keeps EXIF, or it might add new metadata from the editing app. The behavior varies by platform and even by app version. A screenshot of a photo, for example, often creates a new image that contains no EXIF from the original—but not always, so you must verify.
What to check before you share
Ask yourself: Does my camera app record location? Did I grant location permission to the camera? Does my default editing app preserve or strip metadata? These settings affect your exposure. A quick habit of inspecting a photo after editing and before sharing is the safest approach.
How iPhone and macOS handle location data
iPhone: The share sheet option
On iOS, when you tap the share button (a square with an upward arrow) while viewing a photo in the Photos app, you’ll see a row of options below the preview. One of them is Options (usually at the top of the share sheet). Tapping it reveals a toggle labeled Location. If you turn this off before sharing, iOS strips the location data from the copy that is shared. This is the simplest built-in method.
Important: This toggle affects the share operation only. It does not change the original photo in your library. Also, it works for photos that have GPS metadata, including those taken with the camera. However, if the photo’s location was added as a custom edit (not from EXIF), the behavior may differ. For camera-captured photos, the toggle reliably removes GPS from the exported copy.
What about the original file? The Photos app retains the full metadata in the original. To strip it permanently, you’d need to export a copy without location or use a Mac tool.
macOS: Removing location in the Photos app
On a Mac, open the photo in the Photos app, then go to File > Export > Export Unmodified Original or Export [N] Photos. In the export dialog, you can uncheck the Location option. That’s it—the exported file will have no GPS data.
Alternatively, you can use the Preview app on a Mac to remove metadata. Open the image in Preview, then go to Tools > Show Inspector (or press Command+I). In the Inspector, navigate to the More Info tab and find the GPS section. There is no built-in button to delete GPS in Preview, but you can remove the location by editing the fields and saving—though this is fiddly. A more reliable method is to copy the image to a new file: in Preview, copy (Command+C) and paste into a new document, then save. This often drops metadata, but not always.
Limitations and verification
These built-in methods work for the most common scenarios, but they are not bulletproof. For example, if you share via AirDrop, the share sheet toggle may not appear unless you choose a share option that supports it. Also, when you share to a third-party app like WhatsApp or Instagram, the app itself might process the photo and re-embed its own metadata. Always verify the final file before posting.
Android and Google Photos location controls
Android camera settings
On Android, the camera app typically has a setting to Store location or Save location in the photo. Turning this off prevents new photos from capturing GPS. It does nothing to existing photos in your gallery. So if you’ve already taken location-tagged photos, you’ll need to remove the metadata from those files.
Google Photos: Sharing toggles
Google Photos is a popular gallery and sharing platform. When you share a photo from Google Photos via a link or a shared album, the recipient might see the location if it’s available. To control this, Google Photos offers options:
- Share photo locations: When you create a share link for a photo, there’s an option to include or exclude location. Turning this off hides location from the shared link.
- Estimated locations: Google Photos may add an estimated location to photos that don’t have GPS data (e.g., from a DSLR). This is based on your activity and other clues. If you share a photo, the estimated location might appear as the location unless you remove it.
It’s important to know: the Share photo locations toggle applies to both camera-captured GPS and estimated locations. When you turn it off for a share link, recipients won’t see the location. However, this toggle affects the shared link only—it doesn’t alter the original photo’s metadata.
Editing location in Google Photos
If you want to change or remove the location displayed for a photo, you can edit it:
- Open the photo in Google Photos.
- Tap the three-dot menu and choose Edit.
- Select Location and either search for a new place or remove it entirely.
This changes the displayed location in Google Photos, but it may or may not modify the underlying EXIF GPS. For camera-captured photos, editing the location in Google Photos often updates the metadata, but not always. The exact behavior can vary with app version and file type. Therefore, after editing, if you download the photo and share it elsewhere, the metadata might still contain the original GPS. Always verify.
Partner sharing defaults
When you share photos with a partner through Google Photos’ partner sharing feature, the other person receives copies of your photos. If your partner sharing settings include location, they’ll have access to the GPS data. By default, partner sharing may include location unless you explicitly disable it. Review your partner sharing settings to decide whether to include location data.
Windows and Mac: batch removal and file properties
Windows: File Properties
Windows has a built-in way to remove metadata on a per-file basis:
- Right-click the image file in File Explorer.
- Select Properties.
- Go to the Details tab.
- Click Remove Properties and Personal Information.
- Choose to create a copy with all possible properties removed, or remove specific properties from the original.
This method supports common image formats like JPEG, PNG, and TIFF. It may not work for HEIC (iPhone’s default format) on older Windows versions. Also, it removes most EXIF data, including GPS, but it doesn’t re-encode the image—it simply clears the metadata fields, which can sometimes leave traces.
For multiple files, you’ll need to repeat the process or use a third-party batch tool. Windows doesn’t have a built-in batch metadata remover.
Mac: Using Preview and Terminal
On macOS, you can remove metadata using Preview as described earlier, but that’s manual. For batch removal, you might use the built-in sips command in Terminal, which can strip metadata when converting an image. For example, converting to a new format often drops metadata, but it’s not always reliable. A more robust approach is to use a dedicated utility.
Third-party batch tools
Several reliable tools can strip EXIF/GPS from many images at once:
- ExifTool (free, command-line, available for Windows and Mac) – a powerful tool that can remove all metadata or specific tags. It’s highly flexible but requires some command-line familiarity.
- ImageOptim (Mac) – a GUI that optimizes images and can strip metadata.
- IrfanView (Windows) – a lightweight viewer with batch conversion that can remove metadata.
When choosing a tool, look for one that lets you verify the output, and that doesn’t claim to remove all traces—some tools leave empty metadata blocks or add new metadata. Read reviews and check the tool’s documentation.
Verify after batch removal
Always inspect a random sample of output files with a metadata inspector to ensure no GPS remains. Batch tools may behave inconsistently across formats or versions.
Re-encoding, quality, and animation trade-offs
When you strip metadata by re-encoding an image (exporting a new file), the process compresses or re-samples the image data. This can change the file in several ways:
- Quality: Re-saving a JPEG can cause generational loss—each save degrades quality slightly. For photos, the difference is often imperceptible, but for graphics with fine details, it might be noticeable.
- Color profile: Some exports may strip color profiles or convert them, altering how colors appear on different devices.
- Animation: Animated formats like GIF or WebP may lose animation frames or timing if the re-encoding doesn’t support them properly.
- File size: Re-encoding usually changes the file size—often smaller, but sometimes larger.
HEIC (Apple’s format) may require special handling. Windows and many third-party tools might not support HEIC natively, so you might have to convert to JPEG, which changes the format. If you want to keep HEIC, you’ll need a tool that supports it.
What to do
Before stripping metadata, consider whether you’re okay with a new file that may have slightly different properties. If you plan to edit further, use the original file and strip metadata only at the final export step. For social media, where compression is inevitable anyway, the quality change is usually acceptable.
The best practice is to keep an original backup with metadata (for your own records) and share a cleaned copy that has been re-encoded. This way, your personal archive retains full data, while shared copies have no location.
Verifying results before sharing
Re-inspect the cleaned file
After removing location data, verify that the output actually contains no GPS. Use a metadata inspector tool—many free online inspectors exist, but be cautious: uploading a photo to an online service may expose your file to third parties. Instead, use a tool that runs locally in your browser or on your device. PixelTidy’s Metadata Inspector is one such option, designed to check supported formats for EXIF, capture time, device, and GPS information. It clearly distinguishes between “no metadata found” and “metadata present but unparseable,” which helps you avoid false confidence. It processes files in your browser, so the image data is not sent to a server, though you should confirm the tool’s behavior for yourself.
If you use a local tool, you can check the refined file in seconds. Look for any GPS tags such as GPSLatitude or GPSLongitude. If the inspector reports “No metadata found,” you’re good to share. If it says “unparseable,” there may still be data that the tool couldn’t decode—treat that as caution and consider a different cleaning method.
Why screenshots may still contain location
If you take a screenshot of a photo (on a computer or phone), the screenshot captures the pixels only, not the underlying file. However, some operating systems may copy metadata from the source into the screenshot. For example, on Windows, taking a screenshot with the Snipping Tool may embed the source’s location if the source had it. On iPhones, screenshots typically do not contain GPS, but they might include device and app metadata. So never assume a screenshot is clean—inspect it.
Different behavior for exports and edits
When you share a photo through a messaging app like WhatsApp, the app often compresses the image and may strip metadata automatically—but not always. Some apps preserve EXIF or add their own. Cloud services like Google Photos may re-embed location when you share a link. The only reliable way is to inspect the file you actually send.
Final checklist
- Use the share sheet’s Location toggle or a photo editor’s export option to strip location.
- Verify the output with a metadata inspector that shows whether GPS is truly gone.
- Test your workflow with a sample photo before trusting it for sensitive images.
- Remember that “no metadata found” is not the same as “impossible to reconstruct.”
By following these steps, you can share photos with greater confidence that your location stays private.