Executive Summary
Software interfaces can sometimes give misleading feedback: a web application might declare that coordinates were saved or stripped, but unless you verify the binary container independently, you risk either publishing sensitive private home coordinates or delivering incomplete work to commercial clients. This guide provides exact, platform-native procedures to verify EXIF GPS tags on Windows 11/10, macOS, Linux, and via Phil Harvey's command-line ExifTool.
Why Independent Verification is Mandatory
Photographic metadata operates behind the scenes. When you view an image in an operating system, the visual pixels you see are rendered from the image raster (such as JPEG DCT coefficients). The metadata—containing camera serial numbers, timestamps, and GPS coordinates—resides inside separate header segments (such as APP1).
Independent verification is essential in two critical scenarios:
- The Privacy Audit: You used a tool to strip GPS data before sharing photos publicly. You must confirm that latitude and longitude fields are truly gone, rather than just hidden by a third-party viewer.
- The Quality Assurance Check: You geotagged architectural photos for a real estate client or GIS database. You must verify that coordinates are accurate and mapped to the proper cardinal hemisphere.
Method 1: Verifying on Windows 11 and Windows 10
Windows includes built-in metadata inspection inside File Explorer without installing extra software.
Step-by-Step Native Explorer Method
- Open File Explorer and navigate to the directory containing your image.
- Right-click the photograph and select Properties (or press
Alt + Enter). - Click on the Details tab.
- Scroll down through the property list until you locate the section labeled GPS.
• If GPS is Present: You will see entries for Latitude (e.g.,
37; 46; 29.880000000000000) and Longitude in DMS notation.• If GPS Was Successfully Stripped: The entire GPS section will be completely absent from the Details list.
Advanced Windows Verification: PowerShell
For power users and automated directory auditing, Windows PowerShell can query image frame metadata directly using the .NET Shell COM interface:
$img = New-Object -ComObject WScript.Shell
Get-ItemProperty -Path .\my_photo.jpg | Select-Object -Property Name, Length, LastWriteTime
Method 2: Verifying on macOS (Preview & Finder)
Apple macOS provides exceptional built-in EXIF inspection tools integrated directly into the system image viewer.
Using macOS Preview Inspector
- Double-click the image to open it in Preview.
- From the menu bar, click Tools > Show Inspector (or press
Command + I). - In the Inspector window that appears, click the Information tab (represented by an
(i)icon). - Examine the sub-tabs: General, EXIF, IPTC, and GPS.
• If a GPS tab (globe icon) appears, clicking it reveals the exact Latitude, Longitude, Altitude, and renders a live, interactive Apple Maps widget pinpointing the coordinates.
• If the GPS data was successfully scrubbed, no GPS tab will exist between the EXIF and TIFF tabs.
Using macOS Terminal (mdls)
macOS Spotlight indexes metadata automatically. You can query the local metadata store via the command line:
If coordinates exist, macOS returns:
kMDItemLongitude = 2.29448
If scrubbed, it returns (null).
Method 3: Forensic Verification with ExifTool
The undisputed gold standard for digital image metadata forensics is Phil Harvey's open-source ExifTool. Available across Windows, macOS, and Linux, ExifTool reads the entire binary structure of any image container without relying on operating system cached indexes.
1. Checking for All GPS Tags
To inspect every GPS-related tag in an image, execute:
Sample Output: Image With Embedded GPS
GPS Latitude Ref : North
GPS Latitude : 34 deg 3' 8.12" N
GPS Longitude Ref : West
GPS Longitude : 118 deg 14' 37.19" W
GPS Altitude Ref : Above Sea Level
GPS Altitude : 84 m
GPS Map Datum : WGS-84
GPS Position : 34 deg 3' 8.12" N, 118 deg 14' 37.19" W
Sample Output: Image After GPS Scrubbing
If you ran the image through GeoTagEditor's "Remove GPS" function or another removal utility, running the same command will return completely empty:
2. Extracting Raw Decimal Coordinates with ExifTool
If you need to verify coordinates in Decimal Degrees (DD) for mapping verification, pass the -c (coordinate format) flag:
Common Verification Discrepancies Explained
| Observed Behavior | Underlying Technical Reason | Remedy / Action |
|---|---|---|
| Windows Explorer shows GPS, but website tool says none found. | Windows caches thumbnail shell properties in thumbcache.db. |
Rename the file or test in an incognito browser session to bypass cached OS data. |
DMS seconds differ slightly (e.g. 14.2" vs 14.3"). |
Floating-point conversion rounding to unsigned rational fractions. | Normal behavior. Represents ±3 cm ground variation, well below GPS physical accuracy. |
| Photo appears in ocean or Antarctica on map. | Latitude and Longitude values were inverted, or negative hemisphere was omitted. | Re-edit file using GeoTagEditor and verify cardinal references. |
| GPS visible on desktop, missing after WhatsApp / email transfer. | Messaging apps and email gateways compress images and strip EXIF headers. | Send files as raw uncompressed documents or ZIP archives to protect EXIF integrity. |
Verifying In-Browser with GeoTagEditor
If you do not have access to a command-line terminal, you can verify any image instantly using GeoTagEditor itself:
- Open GeoTagEditor.com/tool in any web browser.
- Drop your image into the drop zone.
- If the image contains valid GPS metadata, our client-side parser immediately reads the
APP1segment, extracts the coordinates, and places an interactive marker on the map at the exact position. - If no coordinates exist, the interface clearly reports "No GPS metadata detected."
Frequently Asked Questions
Can an image have GPS data in XMP if EXIF is deleted?
Yes! Adobe software (Photoshop, Lightroom) often writes location data into both the binary EXIF IFD and an XML-based XMP block (http://ns.adobe.com/exif/1.0/). A thorough privacy tool must scrub both the binary EXIF GPS IFD and any corresponding XMP spatial tags. GeoTagEditor removes all binary location references.
Does right-clicking and viewing Properties work for PNG files on Windows?
Windows File Explorer has limited native support for reading non-standard EXIF chunks inside PNG containers. To verify metadata in PNG files, use macOS Preview, ExifTool, or load the file into GeoTagEditor.
Why does my smartphone gallery show a location for photos that have no EXIF GPS?
Modern smartphone photo apps (Apple Photos and Google Photos) use on-device machine learning to infer locations based on optical character recognition (street signs in the photo), facial recognition, and cellular tower history linked to your account. This does not mean the file itself contains EXIF GPS tags. Exporting the file to a desktop computer reveals whether physical metadata exists in the binary header.
About the Author & Technical Team
Muhammad Usman Riaz is the lead engineer behind GeoTagEditor.com. He specializes in digital image forensics, binary metadata standards (EXIF/IPTC/XMP), and high-performance client-side security tools.