Skip to content

Instantly share code, notes, and snippets.

View J4NS-R's full-sized avatar
💠

Jans Rautenbach J4NS-R

💠
View GitHub Profile
@hubgit
hubgit / README.md
Last active November 16, 2024 15:38
Remove metadata from a PDF file, using exiftool and qpdf. Note that embedded objects may still contain metadata.

Anonymising PDFs

PDF metadata

Metadata in PDF files can be stored in at least two places:

  • the Info Dictionary, a limited set of key/value pairs
  • XMP packets, which contain RDF statements expressed as XML

PDF files