Developer & Network Tools

What EXIF Data Is and How to Remove It

Find the camera, time and location details stored in your photos, remove them before sharing and check that they are gone.

Key takeaways

  • EXIF is stored inside the image file, so it travels with the original wherever you send it.
  • GPS coordinates are the most sensitive common field and can reveal a home, school or workplace.
  • Many social platforms remove most metadata from public copies, but email and file sharing often keep it.
  • Removing location only is different from removing all metadata, so choose deliberately and verify.
  • Cleaning metadata does nothing about clues visible in the picture itself.

EXIF data is information a camera or phone stores inside a photo file alongside the picture: the device model, date and time, exposure settings and, if location tagging is on, the GPS coordinates where you took it. Anyone who receives the original file can read it.

To remove it, use your device's option to share without location, strip the metadata with a dedicated tool or export a cleaned copy. Then open the result and confirm the fields are gone.

What gets recorded

EXIF stands for Exchangeable Image File Format, a standard that originated in the Japanese camera industry. It defines tags that sit in the header area of JPEG and TIFF files, and similar blocks can be carried by HEIC, PNG, WebP and many raw formats.

Field group Examples Why it matters
Device Make, model, lens, sometimes serial number Can link photos to one camera
Capture Date, time, exposure, aperture, ISO, focal length Shows when and how it was shot
Location Latitude, longitude, altitude, direction Can pinpoint a place
Image Dimensions, orientation Tells software how to display it
Software and authorship Editing program, artist, copyright Identifies who and what touched it
Thumbnail A small embedded preview May not match a later edit

Two other metadata systems often sit beside EXIF. IPTC fields are used in publishing for captions, credits and keywords. XMP is an XML-based format used by editing software, and it can record edit history. A tool that only removes EXIF may leave these behind.

Layers of information in one photo file
Pixels 1 Make, Model 2 DateTimeOriginal 3 GPSLatitude 4 Thumbnail 5 The picture What you see when you open it 1 Device tags Which camera or phone took it 2 Time tag When the shutter fired, by the device clock 3 Location tags Where it was taken, if tagging was on 4 Embedded preview A small copy stored in the header 5 Pixels 1 Make, Model 2 DateTimeOriginal 3 GPSLatitude 4 Thumbnail 5 The picture What you see when you open it 1 Device tags Which camera or phone took it 2 Time tag When the shutter fired, by the device clock 3 Location tags Where it was taken, if tagging was on 4 Embedded preview A small copy stored in the header 5

Look at what your photos contain

Windows: right-click the file, choose Properties and open the Details tab.

macOS: open the image in Preview, choose Tools, then Show Inspector, and look at the information tabs. A GPS tab appears when location is present.

iPhone and Android: open a photo in the built-in gallery and view its information or details panel. Wording and gestures vary by version.

Command line: ExifTool, a free and widely used program, prints almost everything:

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

You can also try an EXIF data reader in your browser. Treat any website that wants a private photo with the same caution you'd apply to a document upload.

Why you might want it gone

Location is the main concern. A picture of a bicycle you're selling, taken in your garage, can tell a stranger where the bicycle is kept. A series of dated, located photos can sketch a person's routine.

Other details matter in particular cases. A serial number could connect an anonymous post to pictures published under your name. A timestamp may contradict what you meant to reveal. Author fields can contain your full name.

Metadata is also useful. It sorts your library by date and place, helps photographers learn from their settings, carries copyright credits and can support the history of an image. The sensible approach is to keep it in your private archive and clean the copies you share. The broader privacy picture is covered in location hidden in pictures.

Remove it on your device

Windows: in the Details tab of the Properties window, choose "Remove Properties and Personal Information". You can create a copy with removable properties stripped, or select particular fields. View the result, since not every tag may be covered.

macOS: in Preview's inspector, the GPS tab offers a button to remove location information. That removes location and leaves other fields. The Photos app can also leave location out when exporting.

iPhone: the share sheet has an options area where you can turn off location for the items you're sending.

Android: many gallery apps offer a setting or share option to remove location. Names differ between manufacturers.

ExifTool:

exiftool -gps:all= photo.jpg
exiftool -all= -tagsFromFile @ -Orientation photo.jpg

The first removes GPS tags. The second removes all removable metadata and then copies back the orientation tag, so the picture doesn't suddenly appear sideways. ExifTool keeps the untouched file with _original added to its name; don't share that one by mistake. GPS information can also be stored in XMP, so check the whole output afterward.

For a quick browser option, there's a photo metadata remover.

Sharing a photo without hidden details
1 Copy the original Keep your archive untouched 2 Strip metadata Location at minimum, all if unsure 3 Check the pixels Look for addresses, plates, screens and badges 4 Verify the file Open the copy and read its tags again 5 Share Send the cleaned copy only Copy the original Keep your archive untouched 1 Strip metadata Location at minimum, all if unsure 2 Check the pixels Look for addresses, plates, screens and badges 3 Verify the file Open the copy and read its tags again 4 Share Send the cleaned copy only 5

Clean a whole folder

Cleaning one picture at a time gets old if you're sharing an album. ExifTool can process a directory:

exiftool -gps:all= -xmp:geotag= -r to-share/

The -r option includes subfolders. Work on a copy of the photos in a separate folder, never on your only originals. Afterward, list anything that still reports a position:

exiftool -r -if '$gpslatitude' -filename -gpslatitude to-share/

The single quotes stop a macOS or Linux shell from expanding $gpslatitude. In the Windows command prompt, use double quotes there instead.

If you remove all metadata rather than location alone, remember that this can also delete the color profile, which may shift how colors look on some screens. Adding --icc_profile:all to a -all= command keeps the profile.

Videos carry metadata too, including location in many phone recordings. The tags and containers differ from still photos, so don't assume a photo tool has handled them. Check the video's details before sharing, and test your cleaning method on a copy. Formats that bundle a short clip with a still, such as motion or live photos, deserve the same look.

Turn off location at the source

If you rarely want places recorded, disable location for the camera. On phones, this is in the camera app's settings or the system's location permissions for the camera. Dedicated cameras with GPS or a paired phone app have their own switch.

This only affects new photos. Your existing library keeps what it has. It's worth reviewing other apps' permissions at the same time, as part of a phone privacy checkup.

You may prefer the opposite: keep location on for your own memories and rely on share-time removal. That works if you're consistent.

What sharing services do

Many large social networks remove most EXIF data from the images they display to others. That doesn't mean the service never saw it, because you uploaded the original to them.

Behavior elsewhere varies. Email attachments usually go through untouched. Cloud storage links typically give the recipient the original. Messaging apps may recompress photos and drop metadata, yet preserve everything when you send the picture "as a file". Marketplaces, forums and your own website may do either.

Policies change, so don't depend on a platform to protect you. If it matters, clean the file first. For a website you run, strip metadata during image processing, and keep any credit fields you want to preserve. See preparing images for the web.

What stripping metadata won't hide

The picture itself can give away as much as the tags. Street signs, house numbers, license plates, school uniforms, shop fronts, a view from a window, a reflection or a document on the desk can all identify you or a place.

Crop or blur those areas, and make sure the edit is applied to the pixels of an exported copy. Some editors keep the original recoverable inside their own library or project file. A blur or pixelate tool works for simple cases; for text, a solid block is safer than a light blur.

The file name, your account and the time you post also carry information.

Metadata as evidence

EXIF values are easy to edit, and camera clocks are often wrong. A date or location tag is a lead to be checked, and a missing tag proves nothing, since ordinary sharing removes it. Anyone assessing a picture should combine it with other methods, such as those in verifying viral photos. Newer content credentials use cryptographic signatures to record provenance, though they too can be removed from a copy.

The orientation tag and other surprises

Many cameras don't rotate the pixels when you hold them sideways. They store the picture as the sensor saw it and add an orientation tag telling software to turn it. Strip that tag carelessly and your portrait photo lies on its side. Good removal tools either keep the tag or rotate the pixels first.

Converting formats is another source of surprises. Turning a HEIC photo into a JPEG may carry the metadata across or drop it, depending on the converter. Resizing in an editor often preserves it. Never infer the answer from the operation; read the tags of the output file.

Common questions

Do screenshots contain GPS data?

Screenshots generally don't carry camera location, though they can include other metadata such as the date. Check if it matters, and look at what's visible on the screen.

Does removing EXIF reduce quality?

Deleting tags with a metadata tool doesn't recompress the image. Some "export" or "save as" methods do re-encode it, which can slightly reduce quality for JPEG files.

Written for 4Internet with AI writing tools and not reviewed line by line by a person. Check anything you rely on with the maker, provider or standard concerned. Report an error.

Keep reading

All 45 articles in Developer & Network Tools →

Latest news on this topic