filesdataFormats and data

03 / Metadata

What a file says about itself

Names and sizes are easy to see. Coordinates, comments and tracked changes may remain inside even when they are not visible on screen.

Two layers of information

Metadata is information about data. Some belongs to the file system: paths, permissions and modification times. Some lives inside the file: capture date, camera model, colour profile, document author and comments. Moving or copying may change external attributes without changing the embedded information.

A timestamp has no single universal meaning. Creation time on a new disk may be the copy time. An EXIF photo date may lack a time zone or come from an incorrectly set camera clock. One field cannot reliably reconstruct a file's entire history.

What may be embedded

GroupTypical fieldsCheck
EXIFCamera settings, date, orientation, sometimes GPSCoordinates and time accuracy
XMP, IPTCDescriptions, keywords, rights and captionsPersonal details and licence
Office documentAuthor, comments, tracked changes, propertiesHidden revisions and personal fields
Audio and videoTitles, tracks, codecs and durationUnwanted tracks and descriptions

The presence of these fields depends on the file and application. Not every JPEG has GPS data, and no GPS does not mean no personal information: identifying details may be visible in the picture itself.

Inspect without changing the original

Start with properties in the application that opens the file. For documents, inspect comments and tracked changes separately. For images, check orientation and location fields. A normal properties panel may show only a subset of the information.

If these tools are already installed, the following commands print information without writing changes to the file:

exiftool -a -G1 -s "image.jpg"
ffprobe -v error -show_format -show_streams "clip.mp4"

The first command includes duplicate tags and group names; the second describes the container and tracks. Output can include personal information, so review it before sharing. Use current tools and a separate working copy for untrusted files.

Prepare a copy for sharing

Keep the source separately. Remove unwanted personal fields from a copy using the application, then inspect the result again. One button does not promise anonymity: comments, thumbnails, attachments and visible details may remain.

  1. Export only the required pages or image.
  2. Review properties, attachments, comments and tracked changes.
  3. Reopen the export and check for unintended orientation or colour changes.
  4. Check the file name and accompanying message.

Do not remove authorship and rights information merely to empty the fields if the licence requires retaining it. Removing metadata does not grant permission to reuse someone else's work or hide information already rendered into the image or text.