Photo Metadata Basics: How Dates, Locations, and Tags Work

Photo Metadata Basics: How Dates, Locations, and Tags Work

Every photo you take carries a hidden layer of information: when it was taken, what camera took it, sometimes exactly where you were standing. This is metadata, and it's the reason you can type "beach 2019" into your phone and get results without ever having labeled a single picture.

It's also the reason some of your photos are filed under the wrong year, why a scanned photo of your grandmother shows up dated last Tuesday, and why the vacation shots your friend texted you have no location at all.

Understanding it takes about ten minutes and pays off for decades.

What metadata actually is

Metadata is data about the file, stored inside the file itself. A JPEG isn't just pixels — it's pixels plus a block of text-based information riding along in the same file.

This matters because of where it lives. Metadata travels with the photo. Copy the file to a new computer, upload it to a different service, email it to your sister — the embedded information comes along. That makes it far more durable than filenames or folder structures, both of which get destroyed the first time a piece of software decides to reorganize things.

If you take one idea from this article: information stored inside the file survives; information stored outside it doesn't.

The three types you'll encounter

EXIF is what the camera writes automatically. Date and time, camera make and model, lens, shutter speed, aperture, ISO, orientation, and GPS coordinates if location was enabled. You don't create this — it just happens.

IPTC is what humans add. Captions, keywords, the photographer's name, copyright, the subject's name, location described in words rather than coordinates. It comes from the news industry, where a photo without a caption is useless.

XMP is Adobe's more modern container that can hold both, plus editing history. When you see a .xmp file sitting next to a RAW file, that's your edits stored separately because the RAW file itself shouldn't be modified.

In practice you rarely need to think about which is which. Your software handles the plumbing. What you need to know is which fields matter.

The fields that actually matter

Out of dozens of possible fields, four do nearly all the useful work.

Date taken

This is the most important field in photography, full stop.

Date taken is what every photo app uses to sort your library into a timeline. It's what makes "show me photos from July 2019" work. It's what puts your photos in order when you merge libraries from three different devices.

It's also distinct from two other dates that confuse people:

  • Date taken — when the shutter fired. This is the real one.
  • Date modified — when the file was last saved. Editing a photo changes this.
  • Date created — when this copy of the file appeared on this drive. Copying a photo to a new computer resets it.

Photo software uses date taken. File managers show you date created and modified. That's why a folder of photos can look like it's all from last March in File Explorer while Apple Photos correctly shows them spanning fifteen years.

When it goes wrong: scanned photos (dated to the scan), photos received by text or messaging apps (often stripped entirely), files downloaded from social media, and anything from a camera whose internal clock was never set after a battery change.

GPS location

Coordinates recorded at capture, if location services were on.

This is quietly one of the most useful fields, because place is how memory actually works. You often can't recall what year you went somewhere, but you remember where. Map view in a photo app turns that into a search method.

It's also the field with the clearest privacy implications, which is worth a moment on its own — see below.

Caption / description

Free text. Who's in the photo, what's happening, why it mattered.

This is the field that converts a photo into a record. "Rose McHugh on the porch of the Fort Covington house with her sister Alice, summer 1952" is worth more to a future family member than the image alone.

Almost nobody fills this in for everyday photos, and that's fine. But for the two or three hundred photos in your life that genuinely matter — scanned family photos, a wedding, a grandparent — spending ten seconds each is one of the highest-return uses of time in this entire topic.

Keywords / tags

Short words for searching: surnames, place names, event types, subjects.

Useful for family archives and business photo libraries, largely unnecessary for casual phone photos, where automatic subject recognition already finds "dog" or "beach" without help.

The fields you can ignore

Camera model, lens, shutter speed, aperture, ISO, flash status, focal length. These are genuinely interesting if you're learning photography and want to understand why a shot worked. For organizing, they're noise.

How to see metadata

iPhone: open a photo, swipe up or tap the info button. You'll see date, time, camera, resolution, and a map if location was recorded. Tap "Adjust" next to the date to edit it.

Android / Google Photos: open a photo, tap the info icon or swipe up. Same categories of information, with an edit option on date and location.

Windows: right-click a file → Properties → Details tab. Scrollable list of everything embedded. Some fields are editable directly here.

Mac: open in Preview → Tools → Show Inspector → the (i) tab. Or in Photos, select an image and press Command-I.

For anything serious, a dedicated metadata tool gives you far more control and — critically — lets you edit hundreds of files at once. Batch editing is the difference between a five-minute job and a five-hour one.

Fixing common metadata problems

Scanned photos all dated to today

The classic. You scan 300 family photos and they all pile into the current week in your photo app.

Fix: set date taken to the approximate original date. Approximate is fine — if you only know it's roughly 1952, use 1952-01-01. Sorting by decade is infinitely better than sorting by "the Tuesday I owned a scanner."

Do this in batches by folder. If you've organized scans into decade folders, you can select an entire folder and apply one date, then refine individual photos later.

Photos with no metadata at all

Anything that's been through a messaging app, a social media platform, or certain email systems often arrives stripped bare. This is deliberate — platforms remove metadata for privacy and file size.

Fix: there's nothing to recover. But you can add what you know. If your sister texted you photos from a specific birthday, set the date to that day.

The real fix is upstream: ask people to share original files rather than texting them. AirDrop, a shared album, or a cloud link preserves metadata. A text message doesn't.

Wrong dates from an unset camera clock

Every photo from a trip is dated 2007 because the camera reset when the battery died.

Fix: use a time shift function rather than setting each photo individually. Good metadata tools let you shift an entire batch by a fixed offset — "add 12 years, 3 months, 4 days to all selected." This preserves the relative timing between shots, so the sequence of your day stays intact.

Time zone confusion

Photos taken abroad sometimes show up at strange hours because the camera recorded local time with no time zone information, or the phone recorded home time.

This mostly doesn't matter. If a photo is off by six hours but on the right day, leave it alone. Chasing perfection here is not a good use of an afternoon.

The privacy side of location data

Every photo you take with location enabled records where you were, to within a few meters.

This is fine when the photos stay yours. It becomes a genuine concern when you share them. A photo of a child in a backyard, posted publicly with intact GPS coordinates, tells anyone who cares to look exactly where that backyard is.

The reassuring part: most major social platforms strip location metadata automatically on upload. Facebook, Instagram, and X remove it. So do most messaging apps.

Where it isn't stripped: files you email directly, files uploaded to your own website, files shared via cloud links, files posted to smaller forums and marketplace sites.

That last one is worth flagging for anyone selling things online. A photo of an item taken in your living room, uploaded to a classifieds site that doesn't strip metadata, publishes your address alongside a picture of something valuable.

What to do:

  • Turn off location for the camera if you don't want it at all — iPhone: Settings → Privacy → Location Services → Camera → Never. Android: in the camera app's settings, look for location tagging.
  • Better for most people: keep it on for your own library (it's genuinely useful) and strip it when sharing. iPhone's share sheet has an Options button at the top where you can turn off "Location." Windows has a "Remove Properties and Personal Information" option in the file's Properties dialog.
  • For business photos going on a public site, strip metadata as a routine step in your export process.

Metadata and long-term archiving

Here's the argument for putting real information into metadata rather than relying on filenames or a folder structure.

Filenames get changed. Upload a batch to a service and it may rename everything to a string of numbers. Folder structures get reorganized. Photo apps come and go — the software you're using now may not exist in fifteen years, and whatever catalog or database it kept will go with it.

Embedded metadata survives all of that, because it's part of the file. Move the file anywhere, open it in anything, and the caption you wrote is still there.

For a family archive specifically, this is the difference between something that lasts and something that doesn't. A folder called Grandma on a drive nobody can find is worthless. A photo whose own description says "Rose McHugh, Fort Covington, summer 1952" is legible to anyone who opens it, in any program, in any decade.

A practical approach

You don't need to metadata-tag your entire library. Almost nobody should.

For everyday photos: do nothing. Automatic date and location are already doing the work, and your photo app's search is good enough.

For scanned and inherited photos: fix the date, write a real caption. This is the category where it matters most and where the automatic systems can't help you.

For photos you share or sell: know what's in them before they go out, and strip location when it shouldn't travel.

Twice a year: spot-check a handful of recent imports to confirm dates look right. Catching a wrong camera clock in month two is trivial; catching it in year four means fixing four thousand files.


Next in this series: How to Fix Wrong Dates on Scanned and Imported Photos