Remove location data from photos
The short answer
Photos taken with location tagging on carry GPS coordinates in their metadata, and those coordinates travel with the file unless something removes them. You can deal with it in three places: turn off location tagging in your camera app so new photos have none, use your phone's share options to leave location out of the copy you send, or strip the metadata from files you already have. Whichever you use, open the result in a metadata viewer afterward to confirm the coordinates are gone.
Most phone photos quietly record where they were taken. The coordinates sit in the file's metadata, and unless something removes them they travel with the photo when you email it, post it on a forum or send the original to someone. For a picture of a park that may not matter. For one taken at your home, a school or a workplace, it can.
There are three places to stop it: at the camera, when you share, and in files you already have. This guide covers each on iPhone, Android, Windows and Mac, how to check the result, and what stripping does not cover. It is about protecting your own photos.
Check what the photo contains first
Before you change anything, look. Open a photo in the Image Metadata Viewer. If it has GPS data you will see a location group with decimal coordinates, altitude and facing direction, and the "What this file reveals" summary flags it. The map links only load when you click them. Built-in tools can show it too: Windows has a GPS section on the Details tab, Preview on the Mac has a GPS pane, and the iPhone Info panel shows a map.
A missing location group does not make a file clean. Other metadata can still identify you, such as an owner name, a camera serial number or an embedded thumbnail. Our guide to EXIF data explains each field.
Why photos carry location
When location access is on for the camera app, the phone works out where a photo was taken from cellular, Wi-Fi, GPS and Bluetooth signals and writes the coordinates into the file. Apple says this is what lets you search photos by place, and also that people you share the files with may be able to see where they were taken. Android camera apps work the same way, with their own setting. The coordinates can be precise enough to show which building you were standing in.
The three places to stop it
- At the source. Turn off location tagging in the camera app. This affects new photos only, and you lose map views and search by place for them. Google notes that photos without location may not appear in its map view or in trip memories.
- When you share. Phone share sheets can leave location out of the copy you send, while the original keeps it.
- In existing files. Strip the metadata from a copy before you post it or send it on.
| Situation | Best fit |
|---|---|
| Photos you have not taken yet | Turn off location tagging in the camera app |
| Sending a few photos from your phone | The share-sheet option that leaves out location |
| Posting a file from your computer | Strip a copy, then check it |
| Posting many files at once | Batch metadata removal, then check a few |
| The location itself is sensitive | The options built into your phone or computer, then check the result |
iPhone and iPad
These steps follow Apple's guide to location metadata in Photos.
- Stop the camera adding location: go to Settings > Privacy & Security > Location Services > Camera and choose Never. This affects new photos only.
- Leave location out when sharing: select photos in Photos, tap the Share button, tap Options and turn off Location. "Location Not Included" appears above the Options button. Check this each time you share rather than assuming it stays off.
- Remove it from one photo in your library: open the photo, tap the More button, then choose Adjust Info > Adjust Location > No Location.
Android
Camera location is set in the camera app, and the label depends on the maker. These come from Google's list of camera location settings:
| Phone | Camera setting to turn off |
|---|---|
| Google Pixel, Motorola, Sony | Save location |
| Samsung | Location tags |
| OnePlus | Store location data |
| Xiaomi | Save location info |
| LG | Tag locations |
| HTC | Geo-tag photos |
For sharing, Samsung's Gallery app has a checkbox: select the photos, tap Share and tick "Remove Location data" before choosing an app. Samsung documents this for One UI 3.0 and later. Google Photos works differently. Google says new shared albums, links and conversations do not include location by default, but a photo you download and send through another app can still carry it. Google Photos also cannot remove a location your camera saved into the file. It can only edit estimated locations and ones you added yourself. For camera-saved coordinates, turn off the camera setting and strip files you plan to send.
Other gallery apps vary, and some have no share-time option. If yours does not, use the file methods below.
Windows
Right-click the photo, choose Properties, open the Details tab and click Remove Properties and Personal Information. You get two choices. The default creates a copy of the file with all the properties it can remove stripped out (the original name gets "Copy" added). The other, Remove the following properties from this file, lets you tick individual properties, such as the GPS entries, and removes them permanently from that file. If a property has no checkbox, Windows cannot edit it.
In 2022, security researcher Didier Stevens tested this feature on a JPEG in Windows 10 and Windows 11. He found that Explorer removed the entries for tags such as Make, Model and Software, but their text values were still inside the file, and he reported it to Microsoft. We could not confirm whether current Windows builds behave the same way. Open the cleaned copy in a metadata viewer before you share it.
Mac
Preview. Open the photo, choose Tools > Show Inspector, then open the More Info tab and its GPS section. Apple's Preview guide documents viewing the location (Tools > Show Location Info; the item is gray when there is no location data). Community guides and Apple Community posts describe a Remove Location Info button in that GPS section, followed by File > Save. Apple's guide does not mention the button, so work on a copy and check the result. If you already imported the photo into Photos, note that Photos can ignore metadata changes made to a file outside the library.
Photos. Select the photos, then choose Image > Location > Hide Location. Revert to Original Location is the other choice in that menu, and Apple says it only removes a location you assigned yourself. Apple's guide does not say what Hide Location does to files you export, so export a copy and check it before you post it.
Strip metadata from files you already have
The built-in options work one photo at a time and differ by system. For a folder of files, the Image Metadata Remover takes one or many images and removes EXIF (including GPS), XMP, IPTC, comments, text chunks, Content Credentials, embedded thumbnails and trailing data from JPEG, PNG, WebP and GIF files. It does this without re-encoding the pixels, so image quality does not change. It has two options, both on by default: keep the color profile, and keep the rotation tag, because many phone photos store their rotation in EXIF and would show up sideways without it. It shows before and after file sizes, re-scans each cleaned copy to confirm what is left, and lets you download files one by one or as a ZIP. Open a file in the viewer before and after to compare what changed.
Some limits to know:
- Formats. AVIF, TIFF, BMP and similar files cannot be cleaned in place. You can re-save them as PNG or JPEG, which does re-encode the pixels. Most browsers cannot decode HEIC, so it cannot be cleaned there. Convert it on your phone or computer first.
- All or nothing. It removes all the metadata, so copyright and credit fields go along with the location. The viewer's "download without metadata" button works the same way for JPEG, PNG and WebP. To take out only the location, use the editor described in the next section.
- Content Credentials go too. Removing the metadata removes a Content Credentials manifest, and with it the signed record. Our guide to Content Credentials and watermarks covers what those records are.
That is true of ours as well as any other. The privacy policy describes how files added to our tools are handled. If the location of a photo is itself sensitive, such as your home, use the options built into your phone or computer above.
Remove only the location and keep the rest
Sometimes the rest of the metadata is worth keeping: a copyright line with your name, the exposure settings a photography forum likes to see, or the date taken for your own archive. The Image Metadata Editor rewrites only the EXIF block of a JPEG, PNG or WebP file and copies every other block byte for byte, so the pixels stay exactly as they were and you decide which tags go.
A worked example: you took IMG_2041.jpg in your garden and want to post it to a gardening group with your name in the copyright field.
- Open the file in the editor. The Location group shows the coordinates under "Latitude, longitude" (for example
51.507412, -0.127583) and a height under "Altitude (meters)". - Clear both fields. Click the × beside each one. Clearing the coordinates removes the latitude and longitude tags, their N/S and E/W letters and the GPS version tag. Clearing the altitude removes the height and its above-or-below-sea-level flag.
- Open "Other tags in this file". Phones write more GPS tags than those two fields cover, such as the direction the camera faced (
GPSImgDirection), a GPS date and time stamp, speed and the estimated position error. Each is listed with its section marked GPS and a Remove button. Remove every GPS row. Once the last one is gone, the saved file has no GPS section at all. - Tick "Also remove the XMP metadata" if it appears. XMP has its own coordinate fields, and some editing programs copy the location into them. The editor only rewrites EXIF, so a copy in XMP survives unless you remove that block too. "Also remove the IPTC metadata" does the same for the older IPTC block, which can name a city or a sublocation. Each option only shows when the file has that block. If you cropped the photo, also untick "Keep the preview picture inside the EXIF", because the preview can still show the uncropped view.
- Add what you want to keep. Type your name into Copyright under "Author and rights".
- Save and check. "Download edited photo" saves
IMG_2041-edited.jpg. Open that copy in the viewer: the Location (GPS) group should be gone and your copyright line should be there.
For a set of photos, add them all, make the changes once with "Change all photos at once" switched on, and download them together (the button reads "Download all 12 as ZIP" for twelve photos). Each photo loses its location and keeps its own date, camera and other values. A page takes up to 200 photos. The editor does not open HEIC files, so convert iPhone photos to JPEG first with the image converter, or set the iPhone to shoot JPEG: Apple's steps are Settings > Camera > Formats > Most Compatible, which applies to new photos.
| What you want | Use |
|---|---|
| Drop the location, keep copyright, dates and camera details | The metadata editor, as above |
| Drop everything, including the embedded preview and any hidden text | The metadata remover |
| Keep the location in your own copy, share without it | Your phone's share-sheet option, or clean a copy and keep the original |
| Replace the exact spot with a rough area | The editor: type rounded coordinates (see the precision table below) |
Verify the result
- Open the cleaned copy, not the original, in the viewer.
- Check that the GPS group is gone and that "What this file reveals" no longer lists a location. Also look at the thumbnail, XMP, IPTC and PNG text groups.
- Check that the picture is upright and the colors look right.
- Share the cleaned copy and keep the original somewhere private.
Test the exact file you will upload. A gallery app may show a map from its own database, which tells you nothing about what the file itself contains.
Where else a file can name a place
The EXIF GPS section is the usual home for coordinates, but a few other blocks can hold a location. The viewer checks each of them and shows what it finds in the same Location (GPS) group.
| Where | What the viewer shows | How to remove it |
|---|---|---|
XMP coordinates (exif:GPSLatitude, exif:GPSLongitude) | Coordinates with the line "Source: XMP metadata (no GPS block in the EXIF data)" | The remover, or the editor's "Also remove the XMP metadata" |
| XMP place names (city, state, country, location) | "Place named in XMP" | The same two options |
| IPTC place fields (City, Sublocation, State or province, Country) | The place names in the location group | The remover, or "Also remove the IPTC metadata" |
| A copy of camera data inside Content Credentials | "EXIF assertion: The credentials include their own copy of camera data" | The remover, which deletes the whole manifest. The editor leaves Content Credentials in place |
| An empty GPS section | "A GPS block is present but holds no usable coordinates" | Nothing to map, but the editor's "Other tags" list removes the leftovers |
The Content Credentials case is the easiest to miss. The standard lets a signed manifest carry its own EXIF record, and the Content Authenticity Initiative's example of that record includes GPS coordinates. A tool that cleans only the EXIF block leaves that copy behind. Place names in IPTC and XMP are usually typed in by a person or filled in by photo software from the coordinates, so a photo that went through a cataloguing program is more likely to have them.
How precise the coordinates are
Phones store coordinates with more digits than their position fix deserves, and each decimal place you keep narrows the area by a factor of ten. One degree of latitude is about 111 km anywhere on Earth. A degree of longitude shrinks toward the poles: at London's latitude (51.5° N) it is about 69 km.
| Decimal places kept | Example latitude | North-south step | Roughly identifies |
|---|---|---|---|
| 5 | 51.50741 | about 1.1 m | a spot in a room or garden |
| 4 | 51.5074 | about 11 m | one house |
| 3 | 51.507 | about 110 m | a street or block |
| 2 | 51.51 | about 1.1 km | a neighborhood |
| 1 | 51.5 | about 11 km | a city |
The digits overstate the real accuracy. The U.S. government's GPS site says GPS-enabled smartphones are typically accurate to within 4.9 m under open sky, and less accurate near buildings, bridges and trees. Many phones also record their own error estimate in meters (GPSHPositioningError), which the viewer lists in the location group. Either way, a phone photo taken outdoors usually pins down the building.
If you want a photo to keep a rough place, for example the town where a landscape was shot, type rounded coordinates into the editor's "Latitude, longitude" field instead of clearing it. Two decimals (51.51, -0.13) put the photo in a box of about 1.1 km by 0.7 km at London's latitude. Remove the altitude, the camera direction and the GPS position-error tag at the same time, since a rounded position next to a precise altitude and heading gives the game away.
Troubleshooting
| Symptom | Likely cause | Fix |
|---|---|---|
| The viewer still shows a location after you removed the GPS properties in Windows | A copy in XMP, or values Explorer left in the file | Run the copy through the remover, or remove XMP in the editor, then check again |
| New photos still get a location after you changed the setting | A second camera app (a messaging app's camera, a third-party camera) has its own location permission | On iPhone, Settings > Privacy & Security > Location Services lists every app; on Android, check each camera app's settings and its location permission |
| A cleaned photo shows sideways in some programs | The tool that cleaned it dropped the rotation tag | Clean the original again with the remover's rotation option on, or open it in the rotate tool, which saves the pixels upright |
| A Content Credentials checker reports the file changed after you removed the location | Any edit to a signed file breaks the manifest's hash | Expected. Keep the signed original for proof, and share the edited copy |
What stripping does not cover
- The picture itself. Street signs, shop fronts, a distinctive skyline or a view from a window can give a place away. Google notes that people may guess a location from landmarks in a photo even without location details.
- Filenames and captions. A file named after a street, or a caption that names a venue, does the same job as coordinates.
- The thumbnail. Some editors do not refresh the embedded thumbnail after a crop, so an old uncropped view can remain. Removing only GPS fields leaves the thumbnail in place, while a full strip drops it.
- Platforms that recompress. Some messaging apps and social networks remove metadata and others keep it, and their behavior changes. Do not rely on it, and strip first if it matters.
- Copies already sent. Cleaning a file does not recall earlier copies.
This guide covers still photos only. Videos carry their own location metadata, and the steps here do not address it.
See the EXIF, GPS location, copyright, Content Credentials and generation settings hidden inside any image, then export them as JSON or CSV. It runs in your browser. Open the Image Metadata Viewer.
Frequently asked questions
Does turning off camera location remove it from my old photos?
No. The setting controls whether new photos get coordinates. Photos you already took keep theirs until you remove it with a share option, a file method or a metadata remover.
Will removing location data change how the photo looks?
Not if the tool removes the metadata and leaves the compressed pixels alone, which is how our remover works. The two settings that can change the look are the rotation tag and the color profile, and it keeps both by default. A tool that re-saves the image does re-encode the pixels, which can lower quality slightly.
Can I remove only the location and keep the rest?
Yes. The iPhone and Samsung share options and the Windows "remove the following properties" choice target location specifically. In the browser, the metadata editor removes the GPS tags and leaves the other EXIF fields as they were. The remover is the all-or-nothing option: it removes all the metadata apart from the optional color profile and rotation tag.
Does a screenshot of a photo carry its location?
A screenshot is a new image made from the screen, so it does not copy the original file's GPS tags. It does copy everything visible, including landmarks, and it saves at screen resolution, so you lose detail. Cleaning the original file keeps the full picture and gives the same result for the metadata.
Will removing the location break Content Credentials?
A signed manifest includes a hash of the file, so any change to the file, including removing GPS tags, makes a checker report that the file was altered after signing. The remover deletes the manifest along with everything else. If you need the credentials as proof, keep the signed original privately and share the cleaned copy. Our Content Credentials guide explains how the hash works.
Do social networks strip location from photos I upload?
Some do, but we have not verified each service, and policies change. Removing the location yourself means you do not have to trust anyone else's settings, and the copy you share is one you have already checked.