Skip to content
OSINTblogs

How to remove metadata from photos on any device, free

Photos can carry your location, device and the time they were taken. How to see what a picture contains, remove it on Windows, Mac, iPhone, Android and the command line with free built-in tools, which apps and platforms strip it for you, and what removal does not hide.

· 7 min read

A photo's metadata in four rows: GPS position, capture time, device and thumbnail, each marked removed, above the command that deletes them.

Every photo from a phone or digital camera carries hidden information written by the device: when it was taken, with what, and often exactly where. This is EXIF metadata. It is useful in your own photo library, where it sorts pictures by date and place. It is a risk when a file leaves your hands, because a picture taken at home can hand a stranger your address.

Removing it is free and takes seconds on every platform. This guide shows how, starting with how to check what a file contains, and ends with the things metadata removal does not fix.

What a photo contains

Field

Example

Risk

GPS position

Latitude, longitude, altitude, direction

Home, workplace, school, routine

Date and time

Capture time, sometimes with time zone

When you were there

Device

Make, model, lens, sometimes a serial number

Links photos to one device and owner

Software

Editing app and version

Shows the image was processed

Thumbnail

A small embedded preview

May show the picture before you cropped it

Owner and copyright

Name set in the camera

Direct identification

Descriptions and tags

Captions, keywords, names of people

Added by photo software

For a full explanation of each field and how investigators use them, see how to read EXIF data and what metadata is.

First, check what is there

  • Windows. Right-click the file, choose Properties, then the Details tab.

  • macOS. Open the photo in Preview, choose Tools, then Show Inspector. A GPS tab appears if the file has coordinates.

  • iPhone. Open the photo and swipe up, or tap the information button. A map means location is stored.

  • Android. Open the photo in the gallery or Google Photos and swipe up or tap the menu for details.

  • Everything, in full. Run ExifTool, which shows fields the built-in viewers leave out:

exiftool photo.jpg
exiftool -gps:all -a photo.jpg

Check again after removal. Never assume it worked.

Remove metadata on Windows

  1. Right-click the photo and choose Properties.

  2. Open the Details tab.

  3. Click Remove Properties and Personal Information at the bottom.

  4. Choose Create a copy with all possible properties removed, or select specific properties to remove from the original.

  5. Click OK.

You can select many files at once and do the same. Windows removes the common fields but not always every one, so check sensitive files with ExifTool afterwards.

Remove metadata on a Mac

Location only, in Preview:

  1. Open the photo in Preview.

  2. Choose Tools, then Show Inspector.

  3. Open the information tab, then GPS.

  4. Click Remove Location Info and save.

When exporting from Photos: choose File, Export, and untick Location Information in the export options.

Preview removes location but leaves camera and time data. For complete removal use ExifTool, below.

Remove location on an iPhone or iPad

When sharing one or more photos:

  1. Select the photos and tap the share button.

  2. Tap Options at the top of the share sheet.

  3. Turn off Location. Turn off All Photos Data as well if it is on.

  4. Send as normal.

To remove it from a photo in your library: open the photo, swipe up, tap Adjust on the map, then No Location.

To stop recording it at all: open Settings, Privacy and Security, Location Services, Camera, and choose Never.

The share option removes location only. Device and time data stay in the file.

Remove location on Android

Menus vary by manufacturer and version, but the options are in the same places.

  • Stop recording it. Open the Camera app's settings and turn off location tags.

  • Remove it from a photo. In Google Photos or the device gallery, open the photo, view its details, and edit or remove the location.

  • When sharing. Many gallery apps offer a "remove location data" option on the share screen. In Google Photos settings, the sharing section has an option to hide photo location data in items shared by link.

For complete removal on a phone, use a dedicated metadata-removal app from a source you trust, or do it on a computer.

Remove everything with ExifTool

ExifTool is free, runs on Windows, macOS and Linux, and is the most thorough option.

# Remove all metadata from one photo
exiftool -all= photo.jpg

# Remove all metadata from every image in a folder
exiftool -all= /path/to/folder

# Remove only location data, keep the rest
exiftool -gps:all= photo.jpg

# Do not keep a backup copy of the original
exiftool -all= -overwrite_original photo.jpg

Points to know:

  • By default ExifTool keeps the untouched original beside the new file, with _original added to its name. Delete those backups, or use -overwrite_original, before sharing a folder.

  • Removing everything also removes the orientation tag, so some pictures may display rotated. Keep it with exiftool -all= -tagsfromfile @ -orientation photo.jpg.

  • Removing everything can also strip the colour profile, which slightly changes how colours display.

Other free command-line options are mat2 on Linux, which cleans many file types, and ImageMagick:

mogrify -strip photo.jpg

Other quick methods

  • Screenshot the photo. A screenshot is a new image with none of the original's camera or location data. Quality drops, and the screenshot has its own creation time, but it is a fast fix on any device.

  • Export or "save for web". Most image editors have an export option that leaves metadata out. Check that the option is ticked, since it is not always the default.

  • Online removal tools. These require uploading your photo to someone else's server, which defeats the purpose for anything sensitive. Prefer tools that run on your own device.

Which apps and platforms strip it for you?

Many services remove metadata from the copy other people see. This protects you from other users. It does not stop the service itself from reading and keeping the data first.

How you share

Metadata in what the recipient gets

Posted to major social networks such as Facebook, Instagram or X

Removed from the public copy

Sent as a photo in WhatsApp or Signal

Removed

Sent as a file or document in a messaging app

Kept

Email attachment

Kept

Cloud storage link

Kept

AirDrop, Bluetooth, USB transfer

Kept, unless you turned location off in the share options

Your own website or blog

Kept, unless your site software strips it

Online marketplaces and forums

Varies. Assume kept

Behaviour changes between app versions. If it matters, send yourself a test image and inspect what arrives.

What removal does not hide

  • Visible content. Street signs, shop fronts, skylines, a view from a window, a reflection in glass, a parcel label on the table. See how to geolocate a photo for how little is needed.

  • Time clues. Shadows, weather and seasonal details can date a picture. See chronolocation.

  • Copies already shared. Removing data from your file does nothing to versions already sent or posted.

  • Platform records. The service you uploaded to may have kept the original data.

  • Camera characteristics. Sensor noise patterns and lens flaws can, with effort, link images to one device.

  • Visible watermarks and usernames in screenshots.

  • Other file types. Documents and PDFs carry their own author and edit data, which needs separate cleaning. See document metadata OSINT.

Before sending a sensitive photo, look at it the way a stranger would, and crop or blur what identifies the place.

A routine worth adopting

  1. Turn off location tagging in the camera unless you want it.

  2. Keep originals, with metadata, in your private library.

  3. Share copies, not originals.

  4. Strip everything from copies that go by email, link or file transfer.

  5. Inspect one cleaned file with ExifTool to confirm.

  6. Check the visible content before sending.

This fits into a wider review of what you expose. See checking your digital footprint.

A note for investigators

If you are collecting images as evidence, do the opposite. Never strip or alter an original. Save the file exactly as received, record its hash, and work on a copy. Remove metadata only from versions prepared for publication, where it could expose a source. See preserving web evidence and how to verify an image.

Frequently asked questions

How do I remove metadata from a photo for free?

On Windows, use Properties, Details, "Remove Properties and Personal Information". On a Mac, use Preview's Inspector to remove location. On a phone, turn off location in the share options. For complete removal on any computer, run exiftool -all= photo.jpg.

Does taking a screenshot remove metadata?

Yes. A screenshot is a new image without the original's camera and location data. It has its own creation time and lower quality.

Does WhatsApp remove photo metadata?

Photos sent the normal way are compressed and stripped. Photos sent as a document keep their metadata.

Does removing metadata reduce image quality?

No. Metadata is stored separately from the picture data. Removing the colour profile can slightly change how colours appear on some screens.

Can deleted metadata be recovered?

Not from the cleaned file. It remains in the original and in any copies made before cleaning, including ExifTool's backup files.

Is it illegal to remove metadata?

Removing it from your own photos is lawful. Removing copyright management information from someone else's work to conceal infringement is unlawful in many countries, and altering evidence in legal proceedings is a serious offence.

Share this post

Written by

Dheeraj Yadav

Founder of OSINTverse, where I build OSINT tools for investigators and journalists. Self-taught ethical hacker working in bug hunting, malware analysis and digital forensics. Previously ran OSINTCon, now OSINT Collective.

Terms used in this post

EXIF
Metadata stored inside photo files, such as camera model, capture time, settings and sometimes GPS coordinates.
Metadata
Data about data: the author, dates, software, location and other details stored with a file, message or web page.

More definitions in the OSINT glossary.

Newsletter

New OSINT write-ups by email

An email when there are new posts on OSINTblogs. No fixed schedule and no account needed.

We email a link to confirm. Unsubscribe at any time. See the privacy policy.

More from Dheeraj Yadav

Report this post