How to Add and Remove Geotags from Your Photos

How to Add and Remove Geotags from Your PhotosGeotags (GPS coordinates embedded in an image file) let you remember where a photo was taken, organize images by location, and enable location-based features in apps and services. However, geotags can also expose your private locations when sharing photos online. This article explains what geotags are, how they work, how to add them, how to remove them, best practices for privacy, and troubleshooting tips across common devices and platforms.


What is a geotag?

A geotag is metadata stored inside an image file (most commonly in the EXIF — Exchangeable Image File Format). Typical geotag data includes:

  • Latitude and longitude (sometimes altitude)
  • Timestamp and direction (bearing)
  • Device make/model and camera settings (exposure, focal length)
  • Software used to edit the image

Geotags are precise coordinates embedded in the photo file.


Why you might add geotags

  • Organize and filter photos by place (e.g., “vacation beach”).
  • Remember exact locations for travel logs, research, or fieldwork.
  • Enhance mapping and gallery apps that show photo locations.
  • Share location-aware memories with friends/family.

Why you might remove geotags

  • Protect home address or frequently visited private locations.
  • Prevent location-based profiling or tracking.
  • Avoid revealing locations of vulnerable people (children, patients, activists).
  • Meet privacy policies or legal requirements before public sharing.

If you plan to share photos publicly, consider removing geotags to protect privacy.


Adding geotags

There are two main approaches: capture geotags at the time of photo taking, or add them afterward (geotagging). Below are step-by-step methods for major platforms and tools.

1) Capture geotags automatically (mobile devices and some cameras)

  • Enable Location Services / GPS for your Camera app.
    • iPhone: Settings → Privacy & Security → Location Services → Camera → Allow While Using the App.
    • Android: Settings → Location → App permissions → Camera → Allow only while using the app (path varies by device).
  • When enabled, new photos will automatically include GPS coordinates in EXIF.

Note: Some dedicated cameras support internal GPS or can pair with a smartphone GPS via Bluetooth to embed coordinates.


2) Add geotags after the fact (manual geotagging)

Use this when photos have no location data or you want to change the location.

  • Desktop apps (bulk and precise control):
    • Adobe Lightroom Classic:
      • Select photos, open Map module, drag photos to location or enter coordinates in Metadata panel.
    • GeoSetter (Windows):
      • Open image(s), search map, assign coordinates, and save changes to EXIF.
    • HoudahGeo (macOS):
      • Import photos, place them on a map, sync timestamps, and write geodata to files.
  • Mobile apps:
    • Photo Investigator (iOS): open photo → Edit → Add Location → search or drop pin → Save.
    • Geotag Photos Pro companion apps often pair with desktop software for syncing.
  • Online tools and services:
    • Many cloud photo services (Google Photos, Apple Photos) let you edit location for individual photos in the web or app interface.
  • Command-line (advanced/batch):
    • ExifTool (cross-platform). Example to add location:
      
      exiftool -GPSLatitude=37.421999 -GPSLatitudeRef=N -GPSLongitude=122.084057 -GPSLongitudeRef=W image.jpg 
    • Use scripts to process batches and preserve backups.

Tips:

  • If adding geotags to many photos, keep backups of original files.
  • If you have a GPX track recorded while shooting, tools can match timestamps to the track and batch geotag many images automatically.

Removing geotags (stripping location data)

You can remove geotags while keeping other EXIF, or strip all metadata entirely. Choose depending on whether you want to retain camera settings and timestamps.

1) On mobile devices

  • iPhone (iOS):
    • Share without location: In the Photos app, tap Share → Options at top → turn off Location → Share.
    • To permanently remove location: Edit photo → info (i) → Adjust → Remove Location (option names vary by iOS version).
  • Android:
    • In Google Photos: Open photo → three-dot menu → Edit location → Remove location.
    • In system Gallery apps, look for Details → Remove location or use Share options to exclude location.

2) Desktop apps

  • Adobe Lightroom Classic:
    • Metadata → Remove Location Info (removes GPS but may keep other EXIF).
  • Preview (macOS):
    • File → Export → uncheck “Include location information” (or use Remove Location in Info).
  • Windows File Explorer:
    • Right-click image → Properties → Details → Remove Properties and Personal Information → choose to remove location or create a copy with all metadata removed.
  • ExifTool (command-line):
    • To remove GPS tags only:
      
      exiftool -gps:all= image.jpg 
    • To remove all metadata:
      
      exiftool -all= image.jpg 
    • ExifTool creates a _original backup by default; remove or manage backups as needed.

3) Online and share-time stripping

  • Many social platforms automatically strip or limit visible EXIF; however, policies vary and some services preserve metadata for internal use.
  • Use “remove location” or “strip metadata” options in sharing dialogs where available.
  • Use privacy-focused apps/extensions that remove metadata before upload.

To be safe when sharing public photos, strip geotags before uploading.


Best practices and privacy guidelines

  • Review camera and social app settings: disable automatic geotagging if you don’t need it.
  • Keep a private copy with geotags (for travel logs) and create sanitized copies for sharing.
  • When posting photos of others, ask permission before sharing location-tagged images.
  • For sensitive contexts (children, medical, protest locations), always remove geotags.
  • Use strong file-management hygiene: backups, consistent naming, and versioning when editing EXIF.

Troubleshooting

  • Photo shows wrong location:
    • Check device clock/timezone — mismatch with GPS or GPX track can misalign geotagging.
    • If using GPX track matching, ensure camera timestamp is synced with the GPS tracker.
  • Location persists after removal:
    • Some apps may cache thumbnails containing metadata; re-export the image using a tool that strips metadata.
    • Verify with multiple tools (ExifTool, online EXIF viewers) to confirm removal.
  • Social site still shows location:
    • Platforms may infer locations from image content or server-side processing. Remove metadata and consider re-saving the image (Export/Save As) which often clears hidden fields.

Quick reference commands and steps

  • Add GPS with ExifTool:
    
    exiftool -GPSLatitude=37.422 -GPSLongitude=-122.084 image.jpg 
  • Remove GPS only:
    
    exiftool -gps:all= image.jpg 
  • Remove all metadata:
    
    exiftool -all= image.jpg 

Conclusion

Geotags are powerful for organizing and documenting photos but carry privacy risks when shared. Enable geotagging when you need precise location records and remove or sanitize metadata before public sharing. Use platform tools for occasional edits and command-line utilities like ExifTool for batch or precise control.

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *