What metadata does a file contain, and what can it reveal?
Metadata is data about the file rather than its visible content. Almost every file carries some, and it frequently reveals considerably more than people intend to share.
Photographs — EXIF data:
GPS coordinates, if location services were enabled. This is the most consequential field, and it has repeatedly revealed home addresses from photos posted online.
Date and time taken, to the second.
Camera make, model and serial number, which can link photographs to a specific device.
Lens, exposure settings and whether the flash fired.
Thumbnail, which on some older software was not updated when the image was edited — meaning a cropped photo could contain a thumbnail of the original.
Documents:
Author name and the organisation from the software licence.
Revision history and tracked changes, sometimes including deleted text still present in the file.
Comments not visible in the default view.
Created, modified and total editing time.
File paths, which can expose usernames and internal directory structures.
PDFs retain producing software and often the source document's metadata. Redaction failures are a recurring embarrassment — black rectangles drawn over text leave the text selectable underneath, and this has exposed confidential information in court filings and government releases repeatedly. Proper redaction removes the content, not just the appearance.
Audio and video carry device, software, timestamps and sometimes location.
Office and cloud documents may retain collaborator names and version history.
How to check and remove it:
Windows — file Properties, Details, "Remove Properties and Personal Information".
macOS — Preview and various tools, or the exiftool utility across platforms.
Dedicated metadata scrubbers exist and are worth using before publishing.
Note that many social platforms strip EXIF on upload, which helps — but messaging apps and email attachments frequently do not.