Published on
Updated on 

How to get GPS coordinates from a photo. EXIF data location

Authors
Author: Vladimir Brown

How to find a location using the GPS coordinates of a photo, best apps to check where the photo was taken, how to manage the GPS settings or disable saving location data on Android phones.

Table of Contents

Mobile devices on iPhone and Android have the ability to store location information when you take a photo with the camera. The file contains EXIF information with the GPS coordinates of the place.

Video instructions

ExifTool

ExifTool by Phil Harvey is a great software available for Mac and Windows for free. Via it, you can extract GPS coordinates from photos.

It works with most popular media formats, including photos and video, and extracts GPS data from the EXIF. There are a dozen other useful features.

Let's note some of the features of ExifTool:

  • many supported media formats
  • support for a wide range of digital cameras and cell phones
  • GPS track support for video formats
  • (you'll find a table with a description on the exiftool.org website)

The program works on Windows, Mac, Linux, etc. Windows platform requires no additional libraries, and Mac OS / Linux have Perl built-in.

ExifTool has no graphical interface, you will have to open it from the command line to see the data.

  1. (for Windows) Move "exiftool.exe" to the "C:\WINDOWS" dir (or any other PATH directory). The Mac/Linux installs do this automatically.

Note. Alternatively, you can just drag and drop the file onto exiftool(-k).exe, which is much simpler if you don't want to add extra command-line arguments.

  1. Open Command Prompt from the Run menu or any other tool (for example Total Commander, by entering cmd). In the case of Mac/Linux use command prompt / any terminal app.
  2. Type exiftool.exe command IMG_0135.jpg, where IMG_0135.jpg is the name of the file.
  3. ExifTool will display all the information about the photo, we are most interested in GPSLongitude and GPSLatitude data.

See the instructions on the official website.

At the moment ExifTool is probably the most powerful tool for reading EXIF data. We advise you to study the program thoroughly, it definitely saves time with large amounts of data.

Onlineexifviewer

onlineexifviewer is a simple online service developed by Andy Feliciotti. The service allows you to read EXIF data from photos. It works through a browser. It is easy to use Onlineexifviewer both on your iOS / Android phone and computer.

The following photo formats are supported: JPG, TIFF, PNG, WebP and HEIC. Thus, you can analyze everything that was taken with a mobile phone and digital camera.

Note. If the GPS recording was disabled, you will not know where the picture was taken.

Uploading works via drag-n-drop method. It allows you to extract the following data: Camera Model, Location Details, Date and Time, all about the coordinates.

How to use the service:

  1. Go to Onlineexifviewer.
  2. Click on Select image button
  1. Select a photo to analyze
  1. In the left column, Camera Location Details, the coordinates of the photo are displayed, as well as a mini-map with the point where the photo was taken
  1. In the right column (All Photo EXIF Data) you can see all the info of the photo
  1. Check GPSLatitude, GPSLongitude and other parameters with GPS postfix: Latitude, Longitude, Altitude, TimeStamp, Speed, ImgDirection, DestBearing, DateStamp, HPositioningError.

Where the photo GPS data is stored

Information about the coordinates is embedded in metadata, which can be found in photo properties. In order to read the metadata, check the properties of the desired file.

Instructions for Windows 7 - 11

This method does not require a specialized program, just go to the file properties and open the tab with the EXIF data.

Getting GPS coordinates from a picture for Windows:

  1. Right-click on the photo file, and open the context menu.
  2. Go to Properties.
  1. Open the Details tab.
  2. Find the Longitude and Latitude settings in the GPS section.

Viewing EXIF data on iPhone

There are several apps for iOS that allow you to view or edit information from EXIF data. Let's take a look at the EXIF Viewer by Fluntro app. It is available in the AppStore and has many positive reviews.

Instructions on how to remove GPS info from photo:

  1. Download the app at the link. Install it on your iOS.
  2. Open the app and tap the Edit EXIF button in the menu.
  3. Go to the Location section.
  4. Tap the Remove location button.
  5. Overwrite the original file or create a duplicate of the existing photo, which will no longer contain the geolocation data.
  6. To open another photo, go to All photos and select the desired file.
  7. Repeat the above steps to remove the EXIF information about the location of the photo.

The key features of the application:

  • You can delete EXIF metadata, geo location from photo and save it without any quality degradation.
  • Viewing data in iCloud
  • Specifications of the photo shooting: shutter speed, aperture, ISO, shooting date.
  • Handy built-in viewer with quick navigation and zoom features
  • Support for gestures from the latest version of iOS
  • Easily copy and share your photos to other apps and services.

Instructions for Mac OS

This method of getting coordinates is suitable for photos that contain EXIF data, including GPS coordinates. Otherwise, longitude and latitude will not be available, whichever option you use.

In order to extract GPS from photo:

  1. Ctrl + click on the image file.

  2. Open the Get info via the context menu.

  1. The Details section displays the exact location when the photo was taken (Latitude / Longitude in particular).

In the case of a HEIC file, you should use a converter app in order to save JPG and open the photo on your computer.

Viewing EXIF metadata for GPS data: the best apps

ExifTool

ExifTool is a mobile application for Android. It uses the same library as the aforementioned program. Using EXIF you can extract GPS coordinates saved by digital or phone camera.

metadata2go

Metadata2go is a free online service for getting all the metadata embedded in a photo.

How to use metadata2go to get GPS coordinates from picture:

  1. Upload a photo.
  2. Press the "Start analyzing file" button.
  1. You will get the coordinates (if the photo has them).

Digikam

Digikam is a program for Windows, Linux, Mac OS. It is designed primarily to keep your photo collection in order. It has the function of viewing and editing the EXIF data, data location in photos. A fast and free library exiv2 written in C++ is used for this function.

IrfanView

IrfanView is a fast and handy viewer that runs on Windows. The application itself is quite powerful, but you can make it even more functional by installing an add-on package. Of course, IrfanView can read and edit EXIF Metadata both in a separate file and in batch mode.

XnViewMP

XnView is often compared with IrfanView because the range of tasks is the same. It is also worth noting the version of the program called XnViewMP. The modification is more convenient as a batch EXIF photo viewer. Therefore, we recommend using XnViewMP to work with EXIF data, in particular with geolocation.

JPEG & PNG Stripper

JPEG & PNG Stripper is a small utility with the function of clearing the confidential data "hidden" in the EXIF file. The application works on Windows and does not require installation to read location data from a file.

FAQ

What is EXIF data?


EXIF data include various information such as:

  • camera model
  • mobile device and its type
  • shooting parameters (shutter speed, aperture, ISO),
  • geolocation.

Let's say you have the longitude and latitude of a location on Earth. How can you easily find your location on a map?

  1. It is convenient to use services mentioned in the review.

  2. The second option is to use mobile applications for Android / iOS. Open a file in the built-in iPhone Photos app displays the information on the map in the Places section.

  3. You can also use the search bar on Google Maps to find the exact location where the taken photo will be displayed.

Is there an online version of exiftool?

There is a service [EXIF.tools] (https://exif.tools/) that partially replicates the functions of exiftool (as the creator of the service claims). However, there is no documentation and it is not very clear which image formats are supported. It is unclear whether this site has any connection to exiftool. If you have tested EXIF.tools, write your feedback using the contact form on our site. Thank you.

Why GPS data is not always available in photos


Sometimes even when a phone is set to save location data, a photo may not have it in its current location. This can be caused by a few different actions.

The location data may have disappeared from the final file if the photo was saved multiple times. This happens when the converter does not save coordinate data or the user deliberately disabled storing additional metadata options. Saving of EXIF information is possible in Photoshop, Lightroom or any image viewer. Online services also prefer to delete confidential information in both the original copies and the thumbnails.

How to disable saving location data in photos


Coordinate data is handy not only for getting information about the place where the picture was taken, but also for organizing photos into categories. Desktop programs like Adobe Lightroom allow you to do this automatically.

Of course, you can quickly disable saving location data. This is done primarily due to security purposes; anyone can discover where and when you were at that location by looking at the properties of the photo taken with a camera. So let's figure out how to disable saving location data.

On the iPhone:

  1. Go to Settings > Security > Location Services > Camera
  2. Move the Allow Location Access slider to the Never position.

This prevents your phone's camera from accessing the GPS settings and from controlling location properties.

For Android 10-11 and later:

  1. Go to Settings > Location.
  1. Location > App Permissions.
  1. For the Camera app, set the Location access to Deny.

I'm Vladimir, your guide in the expansive world of technology journalism, with a special focus on GPS technologies and mapping. My journey in this field extends over twenty fruitful years, fueled by a profound passion for technology and an insatiable curiosity to explore its frontiers.