How to Check and Remove Location Data from Photos Before Sharing
Learn how to view GPS coordinates hidden in your photos and strip metadata before posting online to protect your privacy.
Last month I posted a photo of my new bike on a local buy/sell group. Within an hour, someone commented with my exact address. Turns out my iPhone had embedded GPS coordinates in the image file, and they just looked at the metadata.
That was my wake-up call about EXIF data.
What is EXIF data and why does it matter?
EXIF stands for Exchangeable Image File Format. It's metadata that cameras and phones automatically embed in photos. We're talking GPS coordinates, camera model, lens settings, date and time, and sometimes even the direction you were facing.
The privacy issue is obvious. Every photo from your phone likely contains your exact location down to the meter. Post a photo from your home, and you've just published your address. Post vacation photos while you're away, and you've announced your house is empty.
I tested this with 50 random photos from my camera roll. 47 of them had full GPS coordinates embedded. That's 94%.
How to view EXIF data in your photos
Before you can remove location data, you need to see what's actually in there.
On Windows, right-click any image file, choose Properties, then the Details tab. You'll see a long list of metadata fields. Look for GPS coordinates, usually listed as latitude and longitude.
On Mac, open the image in Preview, press Command+I for the inspector, and click the GPS tab if available.
But honestly, both methods are clunky and don't show you everything. I use EXIF Viewer because it displays all metadata in one view, works right in the browser, and nothing uploads anywhere. Drag in a photo and you see everything instantly, including a map if GPS data exists.
ExifTool is another solid option if you're comfortable with command line tools. It's more powerful but overkill for most people just checking their photos before posting.
The fastest way to remove location data before posting
You have a few options here, depending on your situation.
If you're on iPhone, the Photos app now lets you remove location data before sharing. When you tap the share button, look for Options at the top of the share sheet. Toggle off Location. This works, but you have to remember to do it every single time.
Android varies by manufacturer. Samsung's Gallery app has a "Remove location data" option in the share menu. Google Photos doesn't strip EXIF by default, which surprised me.
For batch processing or if you want to remove all metadata (not just GPS), I use Image Metadata Remover. Drop in multiple photos, it strips everything, and you download clean files. Takes about 5 seconds for a dozen images.
The advantage of browser-based tools is that your photos never leave your device. Desktop software like ExifTool or ImageOptim works great too, but requires installation.
What metadata should you actually remove?
This depends on what you're sharing and where.
For social media posts, I remove GPS coordinates but often keep camera settings. If I'm posting a landscape photo to a photography group, the aperture and shutter speed info is actually useful to other photographers.
For selling items online (like my bike incident), I strip everything. The buyer doesn't need to know what camera I used or when I took the photo.
For photos of your kids, remove everything. Location data is obvious, but even the timestamp can reveal patterns about when your house is occupied.
One thing to know: many social media platforms automatically strip some EXIF data when you upload. Facebook, Instagram, and Twitter remove GPS coordinates from uploaded images. But Reddit doesn't. Neither do most forum software or classified ad sites. Don't assume the platform is protecting you.
Does removing EXIF data affect image quality?
No. EXIF data is separate from the actual image pixels. Removing metadata doesn't compress or degrade your photo at all. The file size drops slightly (usually 50-200KB depending on how much metadata was embedded), but the visual quality stays identical.
I've tested this with RAW files, JPEGs, and PNGs. Zero quality loss.
What about photos you've already posted?
This is the uncomfortable part. If you've already shared photos with location data, that metadata is out there. You can delete the post, but you can't guarantee someone didn't download the original file.
I went back through my Instagram and Facebook posts from the past year. Instagram had stripped the GPS data automatically, which was a relief. But photos I'd posted to a local hiking forum still had full coordinates embedded. I contacted the forum admin and had them replaced with cleaned versions.
If you've posted photos to your own website or blog, you can replace them with stripped versions. Use the same filename so the URL doesn't change, and the new version will overwrite the old one.
Quick workflow I use now
Before posting any photo online, I run it through this 30-second check:
- Open the image in EXIF Viewer
- Check if GPS coordinates exist
- If yes, run it through Image Metadata Remover
- Download the clean version and post that instead
For photos I'm texting to friends or family, I usually don't bother. But anything going on the public internet gets cleaned first.
The annoying part is that this isn't automatic. Phones should ask "Remove location data?" every time you share a photo, but most don't. So it's on you to remember.
I've started keeping a "clean" folder on my phone specifically for photos I plan to post online. That way I know everything in that folder has been checked and stripped of sensitive metadata.