Data minimisation

Remove metadata before sharing files

A clean-looking document can still reveal an author, location, revision history, comments or the software that created it.

Work on a copy. Preserve the original privately, remove unnecessary fields from the copy, then inspect the copy as a recipient would.

Know what can travel

Photo metadata may include capture time, camera model, orientation and GPS coordinates. Office files can carry authors, company names, comments, tracked changes, hidden sheets and embedded objects. PDFs can retain titles, producers, attachments, form values and layers. Even the filename can reveal a person, client or project.

Not all metadata is dangerous. Dates and document titles can support accessibility, records management and evidence. The goal is deliberate minimisation, not blind removal. Decide what the recipient needs and what your organisation must retain.

Use the application’s inspection tools

Many office suites provide a document inspector that reports comments, revisions and hidden content. Photo applications and operating systems often expose location fields. PDF editors may offer sanitisation or redaction tools. Use current vendor documentation because menus and guarantees vary by version.

Redaction is different from drawing over content. A black rectangle may leave selectable text underneath. Proper redaction removes the underlying data, then flattens or sanitises the output as appropriate. Search the final document for the redacted words and try copying text from the affected area.

Export a purpose-built copy

When editing history is unnecessary, export a new distribution copy rather than sharing the working file. For simple documents, a fresh PDF may reduce editable structure, but export is not automatically sanitisation. Inspect the PDF properties, attachments, links and visible text after export.

For images, recompressing or taking a screenshot can drop some metadata, but screenshots can reveal notifications, browser tabs, crop boundaries or other screen content. A dedicated metadata tool with a documented output is easier to audit. The CISA guidance on sensitive information provides useful context for reducing exposed personal data.

Verify with a recipient’s view

  1. Rename the copy without personal or project identifiers.
  2. Open properties and remove unnecessary author, organisation and location fields.
  3. Accept or reject tracked changes and remove comments deliberately.
  4. Check hidden sheets, layers, attachments and embedded objects.
  5. Close the file, reopen it in a different viewer and inspect again.
  6. Search for sensitive terms and test redacted areas.
  7. Share only the cleaned copy and retain the original under the correct policy.

Do not rely on the hosting service

A sharing platform may create previews, thumbnails or extracted text, but it should not be trusted to clean your source. Process the file locally before upload and use access controls afterward. The U.S. National Archives metadata guidance explains why metadata is valuable for records while also requiring deliberate management.

Metadata hygiene works best as a repeatable publishing step, not a last-minute attempt after a sensitive file has already been sent.