What is photo metadata (EXIF) and why should you check it before sharing?

Photos can carry your location, device and time of capture. Learn what is stored and how to remove it.

Every photo taken with a phone or camera contains more than pixels. Hidden inside the file is a block of metadata, usually in the EXIF format, that describes how and where the picture was taken.

What EXIF can contain

  • Camera or phone make and model, and the software version.
  • Date and time of capture, down to the second.
  • Exposure settings such as aperture, shutter speed, ISO and focal length.
  • GPS coordinates of the place where the photo was taken, if location services were on.
  • Orientation, colour profile and sometimes a small preview thumbnail.
  • Occasionally the owner's name or a serial number of the device.

Why this matters

GPS data is the main privacy risk. A picture taken at home and uploaded to a classified ad, a forum or a personal website can reveal your address. Many large social networks strip location data when you upload, but not all sites do, and photos sent as files through e-mail or some messengers keep everything.

Metadata is also useful. Photographers use it to learn which settings produced a good shot, and it helps to sort a library by date. For journalists and researchers it can help to check where and when an image was made, although it can be edited, so it is never proof on its own.

How to check and clean

First look at what a file actually contains with a metadata viewer. If you find location or device details that you do not want to share, remove them before publishing. Removing metadata does not change how the picture looks; it only drops the hidden block. Re-saving or converting the image through a canvas in the browser also drops it, since only the pixels are written again.

Documents too

PDFs and office documents carry similar information: author name, the program used, creation and edit dates and sometimes comments. Clean those before sending a document to someone outside your organisation.

A simple rule

If a file will become public, check its metadata first. If it goes to a trusted person only, you can keep it.

Three families of metadata

"Metadata" is a general word for information about a file that is stored alongside its contents. For photos it normally comes in three families:

  • EXIF is written by the camera or phone: exposure, lens, date and time, sometimes GPS coordinates and a small preview image.
  • IPTC is used by photographers and agencies for captions, keywords, creator names and copyright notices.
  • XMP is a flexible format, often written by editing programs, that can hold editing history as well as the same kinds of details.

One practical consequence is that removing "EXIF" alone may not remove everything. A cleaner that removes all metadata blocks is more thorough than one focused on GPS fields alone.

The hidden preview problem

Many image files carry an embedded thumbnail. Some editing programs update the main picture but leave the old thumbnail in place. If a photo has been cropped or painted over to hide something, the small preview may still show the original. When you remove sensitive content from an image, make sure the metadata, including embedded previews, is removed too, or save a fresh copy of the visible pixels.

What social platforms do

Large social networks generally strip most metadata from the copies they show to the public, but this is not a promise that covers every case. The platform itself may keep the original details, and files sent "as a document" through messaging apps often keep everything. Websites, forums and cloud links you share yourself usually serve the file exactly as you uploaded it. Do not assume someone else will clean a file for you.

A note on dates and evidence

Metadata can be useful as well as risky. It helps photo libraries sort pictures by date, allows you to find photos by place and supports photographers in proving authorship. It is also easy to edit, so a timestamp in a file should not be treated as proof that a photo was taken at that moment. For anything serious, keep the original file and record where it came from.

Which details are worth keeping?

Cleaning everything is not always the best choice. A sensible approach depends on where the file will go:

  • Publishing on a website: remove location, device and personal fields. If copyright matters, keep or add a creator notice.
  • Sending to a client or agency: keep creator and copyright information, and ask whether they require colour profiles.
  • Personal archive: keep everything. Dates and places are what make an old collection searchable.
  • Selling something online: remove location, especially for photos taken at home.

Colour profiles are technically metadata too. Removing one from a wide-gamut picture can make its colours look slightly different, so check a sample after cleaning if colour accuracy matters.

Building a simple habit

The safest routine is also the simplest. Keep untouched originals in a private folder and treat any copy meant for sharing as a separate export. Clean that copy, then view it once in a metadata viewer to confirm the result. On a phone, you can also turn off location for the camera app if you rarely need it; information that was never recorded cannot leak later.

Documents deserve the same treatment. Office files and PDFs can hold author names, company names, comments and earlier revisions, and these have embarrassed many organisations that published a file without looking.

Tools mentioned in this guide