Can a Photo Show Where It Was Taken? Location Data, and How to Remove It
Many phone photos quietly record the exact place they were taken. Here is what that hidden data is, how to see it, and how to remove it before you share a picture or upload it to a form. For iPhone photos, our HEIC to JPG converter removes the GPS location as it converts. In our test on 26 November 2026, a 2,774.9 KB HEIC photo carrying a GPS location came back as a 1,848.1 KB JPG with the location removed and the date and camera kept.
What hidden data is inside a photo?
Most cameras and phones write extra information into every photo, called EXIF metadata. It can include the date and time, the camera or phone make and model, the settings used, and — if location is switched on — the GPS coordinates of exactly where the photo was taken, often accurate to a few metres.
Not every image has it. A screenshot, or a picture you saved from a website, usually carries no location. But a photo straight from a phone camera very often does, and it travels with the file when you send or upload it.
How can you see what a photo is carrying?
On Windows, right-click the photo, choose Properties, and open the Details tab — any GPS latitude and longitude appear there. On a Mac, open it in Preview and choose Tools > Show Inspector, then the information tab. On the phone itself, the photo’s info or details view will show a map if the photo is geotagged.
Stop your phone adding location in the first place
On an iPhone, open Settings > Privacy & Security > Location Services, tap Camera, and set it to Never. On most Android phones, open the Camera app’s settings and turn off the location or geotagging option. New photos then carry no GPS; photos you already took are unchanged.
How our image tools remove it (tested October 2026)
Our image converters — HEIC to JPG, WEBP to JPG, PNG to JPG and JPG to PNG — keep only the date taken and the camera make and model, and drop GPS location and other hidden data. We tested each one with a file carrying test GPS coordinates, an owner name, a serial number and a software version: every time, only the date and the camera make and model were left.
Our JPG to PDF converter goes further as it builds the PDF: it removes the hidden EXIF data from each JPEG entirely — the GPS location, and the date and camera details too — without re-compressing the picture. In our tests the location was also gone when a JPG carried it a second way, in an XMP block, and when a PNG with location data was turned into a PDF with either JPG to PDF or PNG to PDF. (One aside: taking a screenshot of a photo also drops the original location data, which is why screenshots are safe to share.)
| Tool | Test file | Location in the result? | What else was left |
|---|---|---|---|
| HEIC to JPG | HEIC photo with GPS | No - removed | Date taken, camera make and model |
| WEBP to JPG | WEBP image with GPS | No - removed | Date taken, camera make and model |
| PNG to JPG | PNG image with GPS | No - removed | Date taken, camera make and model |
| JPG to PNG | JPG with GPS (in EXIF and XMP) | No - removed | Date taken, camera make and model |
| JPG to PDF | The same JPG | No - removed | No photo details at all |
| JPG to PDF and PNG to PDF | PNG image with GPS | No - removed | No photo details at all |
| Merge PDF and Rotate PDF | PDF made elsewhere, photo inside still carrying GPS | Yes - kept | Everything, unchanged |
| Compress PDF, Screen or eBook | The same kind of PDF, photo at 300 dpi | No - photo was re-saved | - |
| Compress PDF, Printer | The same PDF | Yes - kept | Original returned, as it couldn’t be made smaller |
PDFs made somewhere else
Our PDF tools work differently from the image tools. Merge PDF and Rotate PDF copy the pictures on each page across without re-saving them, so if a PDF was made by another app that left a photo’s location inside it, the location is still there afterwards — our test PDF kept it through both.
Compress PDF isn’t a reliable way to remove it either. It removed the location from our 300-dpi test photo on Screen and eBook, because those levels re-save the photo at a lower resolution. But when a file can’t be made smaller — on Printer, and on every level when we placed the same photo at 72 dpi — the tool hands back your original file, location included. If you’re not sure where a PDF’s photos came from, rebuild it from the original pictures with JPG to PDF.
A simple routine before sharing
If you are about to post a photo publicly or send it to someone you don’t know well, run it through one of our image converters first (or, if you are making a document, let JPG to PDF strip it), then check the file’s Properties to confirm no GPS remains. Don’t rely on Merge, Rotate or Compress to remove it. Your upload and the converted file are deleted from our server as soon as the conversion finishes.
What did our 26 November 2026 location tests show?
Each test file below carried a GPS location written into it when we made it on a computer. We converted them on our test copy, which runs the same code as the live site.
| Test file | Result | Run on |
|---|---|---|
| HEIC photo with GPS, 4032 x 3024, 2,774.9 KB (HEIC to JPG) | 1,848.1 KB JPG; GPS location removed; date and camera kept | Test copy |
| JPG photo with GPS, 2000 x 1500, 475.0 KB (JPG to PDF) | 1-page PDF of 476.2 KB with no photo details or location in it | Test copy |
| 5 HEIC photos, 14,007.0 KB in total (HEIC to JPG) | ZIP of 5 JPGs, 9,284.5 KB | Test copy |
How we tested
We created the test images ourselves — computer-generated pictures, not real photos — and wrote the same test details into each: GPS coordinates for an arbitrary point, a date, a camera make and model, an owner name, a serial number and a software version (one JPG also carried the location in an XMP block). For the PDF tools we used a PDF built with a general-purpose PDF library that keeps photo metadata, standing in for a PDF from another app.
Every file went through the same code our tools run, in a test copy of the site (Python 3.11, Pillow 12.3.0 and pi-heif 1.4.0, as on the live site; Ghostscript 10.02 for Compress PDF). We read the results back with Pillow and pikepdf, checking every picture inside each PDF for EXIF and XMP data. The tests ran on our own test machine, not on the live server.