What cleaning does
PDFs can carry document properties such as a title, author, subject, keywords, creator, producer, and timestamps. This page reads those standard fields locally and can create a fresh copy with them cleared.
- Inspect first: the metadata grid is read-only and does not rewrite your input.
- Download a copy: cleaning creates a new PDF in memory and leaves the source file immutable.
- Know the limit: annotations, attachments, XMP, hidden content, and custom identifiers may still contain information.
How the conversion runs
The inspector opens your PDF with pdf-lib using updateMetadata: false, so the library does not quietly rewrite timestamps while reading. It then calls the document getters — getTitle(), getAuthor(), getSubject(), getKeywords(), getCreator(), getProducer(), both dates and getPageCount() — and prints the values in a read-only grid, so you can see exactly what a document would reveal before you send it anywhere. Pressing the cleaning button blanks all six text fields, sets the creation and modification dates to the epoch, deletes the XMP metadata stream with catalog.delete(PDFName.of('Metadata')) and drops the trailer's /Info entry before saving a new file. Your original bytes are never modified: you receive a scrubbed copy as a fresh download alongside it.
Edge cases and hard limits
Only the standard document-information dictionary and the XMP packet are addressed. Annotations, comments, embedded files, JavaScript, thumbnails, page labels, hidden layers and anything printed on the page stay exactly as they were, so this is a metadata scrub rather than a full sanitiser. Removing the XMP stream takes the file out of PDF/A conformance, and the reset dates (1 January 1970) can look strange in some readers. Files with an unusual or damaged information dictionary may fail to open, encrypted PDFs cannot be loaded at all, and the saved copy is a full rewrite, so its size will not match the original byte for byte. One file at a time; there is no batch mode.
Privacy: processed in your browser
The PDF is read as an array buffer and rewritten in memory inside this tab. The site stores nothing, receives nothing and offers no account, so the only file that exists afterwards is the one your browser saves. pdf-lib itself is fetched once, on first use, from a public CDN.
Frequently asked questions
Does cleaning change the pages themselves?
No. Page content, images, text and layout are untouched — only the document information fields, the two dates and the XMP metadata packet are cleared. The result should look identical when opened.
I cleaned the file but my reader still shows an author. Why?
Some viewers display cached XMP values or read the author from visible content such as a cover page or document properties embedded in the text. Check the file in a second reader; if a name still appears, it is probably part of the page content rather than the metadata.
Is this enough to sanitise a document before sharing it?
It removes identifying metadata, which is the most common leak, but it does not strip annotations, embedded files, comments or hidden text. For legal or confidential documents, review the pages themselves as well.