OSINTYourself

← Learn

How to View a Photo's Hidden Metadata (EXIF)

A photo file is not just the picture you see when you open it. Most cameras and phones embed a block of metadata alongside the image data itself — details about the device that took it, the settings it used, and sometimes exactly when and where it was taken. That data is invisible in a normal photo viewer, but it travels with the file wherever it goes, unless something along the way strips it out.

What EXIF actually is

EXIF, short for Exchangeable Image File Format, is a standard for embedding metadata inside photo files, most commonly JPEGs. It was designed so cameras could record technical detail about how a photo was taken — alongside the pixels themselves — in a structured way that other software could read back out.

The metadata lives in the file itself, not in some separate database, which is why it survives copying a file from a camera to a computer, attaching it to most emails, or uploading it to a site that does not process the image before storing it. Whether it survives further depends entirely on what the destination does with the file.

What it can actually reveal

A typical EXIF block includes technical camera settings — aperture, shutter speed, ISO, focal length — along with the make and model of the device that took the photo, and often the exact date and time it was captured, down to the second, based on the camera or phone’s own clock.

Many phones also embed GPS coordinates directly into the EXIF data when location services were enabled at the time the photo was taken, which is the single most sensitive field a photo can carry: it can pin down not just a general area but a specific address, down to which room of a building a photo was taken in, if the coordinates are precise enough.

Some devices and editing software also embed a thumbnail preview inside the file separately from the main image, and that embedded thumbnail is not always updated when the visible photo is cropped or edited — so in some cases the metadata can contain an older, uncropped version of an image that the visible photo no longer shows.

Why the absence of metadata is not the same as safety

Many major social media, messaging, and photo-sharing platforms strip EXIF metadata from images automatically when they are uploaded, partly for user privacy and partly to save storage and bandwidth on data most viewers never look at. That means a photo pulled straight from a social media post has often already had its metadata removed by the platform, regardless of what the original file contained.

The problem is that this is not consistent or guaranteed across every platform, feature, or file type, and it says nothing about photos shared other ways — as a direct email attachment, over a messaging app that does not strip metadata, through cloud storage links, or on a personal or lesser-known site. A photo having no visible metadata on one platform tells you about that platform’s processing, not about whether the original file, or a copy sent a different way, still carries the full data.

Because of that, never assume a photo is free of location or device data just because it came from a place that usually strips it. Check the actual file you have in hand.

How to view a photo’s metadata

On most desktop operating systems, right-clicking an image file and looking at its properties or "get info" panel will show at least some basic EXIF fields, such as the camera model and capture date, though built-in file browsers often do not surface GPS coordinates directly.

Dedicated metadata viewer tools — including browser-based ones that read the file locally without uploading it anywhere, and command-line tools built specifically for reading and editing EXIF data — will show the full set of embedded fields, including GPS coordinates if present, in a readable format. This site’s own in-browser EXIF viewer works the same way: it reads the file on your device rather than sending it anywhere.

When you only have a link to an image rather than the original file — for example a photo embedded in a webpage — downloading the actual file first matters, because a screenshot of an image, or a version re-encoded by the site displaying it, will not carry the original metadata even if the source file did.

Metadata beyond photos

The same idea applies well beyond camera photos. Office documents, PDFs, and spreadsheets routinely embed their own metadata: the author name from the software’s configured user profile, the organisation the software license is registered to, when the file was created and last modified, and sometimes a full revision history or the names of everyone who has edited it.

This is particularly relevant for documents an organisation publishes publicly — a PDF report or a shared spreadsheet can carry internal author names, department information, or software version details that were never meant to be part of the published content, simply because nobody cleared the metadata before publishing it.

Before sharing a photo or document publicly, it is worth checking its metadata the same way you would check the visible content, and stripping or editing it if it contains anything you did not mean to include.

Tools for this

Browse the full tools directory →

Related on this site

Common questions

Does every photo have GPS coordinates in its metadata?

No. GPS data is only embedded when the device had location services enabled at the moment the photo was taken, and not every camera or phone records it at all. Many photos have no location field present.

If a photo has no EXIF data, is it safe to assume it was never in the original?

No. Many platforms strip metadata automatically on upload, so a lack of visible metadata on a downloaded copy often reflects the platform’s processing rather than the original file. Check metadata on the original file whenever that is what matters.

Can editing or cropping a photo remove its metadata?

It depends on the software. Some editing tools strip or rewrite metadata when saving, while others preserve it, and an embedded thumbnail inside the file can in some cases still show an older, uncropped version even after the visible image has been edited.

Do documents like PDFs and Word files carry the same kind of hidden data?

Yes, though the fields differ from photos. Office documents commonly embed an author name, organisation, creation and modification dates, and sometimes an edit history, all readable the same way EXIF data is.

Is it legal to look at the metadata in a photo someone else shared publicly?

Laws vary by jurisdiction, and viewing metadata that is already embedded in a file you have legitimate access to is different from other uses. Consent matters for what you do with what you find, so treat it as a legal question when it matters, not just a technical one.