How to Geotag Photos & Edit GPS EXIF Safely
By ExifStudio Engineering Team | Published November 2026 | 6 min read | Category: EXIF & IPTC
Embed precise latitude, longitude, and altitude into JPEG EXIF headers on an interactive map, or strip residential GPS coordinates privately before posting.
Mirrorless cameras, scanned film rolls, and stripped screenshots lack location metadata until you write standardized EXIF 2.32 GPS IFD tags (GPSLatitude 0x0002, GPSLongitude 0x0004, GPSAltitude 0x0006). Whether you are cataloging DSLR travel archives or masking a sensitive address behind a city landmark, https://www.exifstudio.online/geotag-photos writes exact coordinates locally in your browser.
1. Inside the EXIF 2.32 GPS IFD Binary Layout
Under the CIPA DC-008 EXIF 2.32 standard, location telemetry lives inside an isolated IFD pointer (0x8825) rather than general camera exposure tags. Unsigned rational arrays store degrees, minutes, and seconds (DMS) alongside directional ASCII reference bytes (N/S in GPSLatitudeRef 0x0001, E/W in GPSLongitudeRef 0x0003). Writing unsigned rationals without matching Ref tags causes mapping apps to plot negative hemisphere mirrors in the wrong ocean.
2. When to Add Geotags vs. Strip GPS Completely
Location metadata cuts both ways depending on whether a photo stays inside your private archive or goes out to classified listings:
- Geotag for private DAM catalogs: Lightroom Classic, Apple Photos, and Google Photos group DSLR and film scans automatically onto world maps once
GPSLatitudeandGPSLongitudeare present. - Geotag for generalized public pins: Replace exact backyard or residential coordinates with a downtown landmark pin when publishing local portfolio showcases.
- Strip GPS before classifieds or forums: Wipe all location and serial telemetry before posting home items on marketplaces (see https://www.exifstudio.online/blog/remove-gps-from-photo-before-posting).
3. Converting Decimal Degrees to DMS Rationals & Altitude Refs
Interactive web maps report decimal coordinates such as 48.8566, 2.3522 (Paris) or 35.6762, 139.6503 (Tokyo), whereas CIPA EXIF stores three unsigned integer ratios representing degrees, arcminutes (0–59), and fractional arcseconds. For elevation telemetry, GPSAltitudeRef (0x0005) uses 0 for meters above mean sea level and 1 for below sea level, paired with GPSAltitude (0x0006). Writing clean WGS-84 coordinates ensures mapping pins land accurately within meters across desktop and mobile photo libraries.
4. Local Map Pinning & Batch Coordinate Tagging
Drop one or multiple JPEG photos into https://www.exifstudio.online/geotag-photos, click a map pin or search an address via OpenStreetMap Nominatim (queries are sent directly from your browser without attaching image files), and export updated files with WebAssembly ExifTool without compressing pixels. When tagging batches from a multi-day architectural or travel shoot without in-camera GPS, apply consistent coordinates per scene folder and keep unedited RAW originals archived separately. After exporting, inspect every written tag—and verify no residual serial or home-base MakerNotes survived—in https://www.exifstudio.online/inspector.
Summary
Embed verified GPS coordinates for photo archives or generalize coordinates before publishing using https://www.exifstudio.online/geotag-photos—zero server uploads, 100% browser-local EXIF writing.
Frequently Asked Questions
- How are GPS coordinates encoded inside an EXIF header?
- EXIF 2.32 stores coordinates inside the GPS IFD (0x8825) as degrees, minutes, and seconds rational triplets paired with N/S (tag 0x0001) and E/W (tag 0x0003) hemisphere indicators.
- Why would anyone add GPS tags to a photo instead of removing them?
- Film photographers, drone mappers, travel archivists, and real estate listings add GPS metadata to organize libraries in Apple Photos or Lightroom and anchor commercial property photos.
- Can I replace home coordinates with a public city landmark?
- Yes. Strip the exact residential GPS tag first or overwrite latitude and longitude in the Photo Geotagger so files carry only the general neighborhood or landmark center.
- Do Lightroom, Apple Photos, and Google Photos read geotags written in a browser?
- Yes. Standard CIPA DC-008 GPS IFD tags written via WebAssembly ExifTool are parsed identically by macOS Photos, Lightroom Classic map view, Windows File Explorer, and Google Photos.