I wanted a repeatable answer to a question that keeps coming up in privacy threads: when you compress a PDF in a browser tool, does the author name survive?
So I built a probe. One 1.27 MB PDF, five unique strings placed in different metadata locations, one action (compress), nine browser tools. Every output was parsed with a full PDF parser and then checked byte by byte, because the properties panel is not the file.
Results
| Outcome | Count | Detail |
|---|---|---|
| Author name returned | 7 of 9 | 6 via Info dictionary, 1 via XMP |
| Info dictionary kept /Author | 6 of 9 | iLovePDF, Sejda, PDF24, PDF Candy, Xodo, PDFgear |
| Field cleared, XMP kept it | 1 of 9 | PDF2Go |
| Original producer string kept | 4 of 9 | PDFgear, PDF24, Xodo, PDF Candy |
The PDF2Go case is the one I keep coming back to. The properties panel shows an empty Author field. The string is still in the XMP packet. If your review process is "look at the dialog and confirm it is blank", that passes.
Why this happens
Compression re-encodes image streams. It does not necessarily rebuild the document information dictionary or the XMP metadata stream. Unless a tool explicitly rewrites both, the old values ride along with the new file.
What I did about it
I built local tools that run in the browser: compress, merge, split, PDF to JPG, redact, and a metadata checker. The checker shows which fields are still readable, then removes them without uploading the file.
Checker: https://privacypdf.org/pdf-metadata-checker/?utm_source=devto&utm_medium=social&utm_campaign=pdf_metadata
Full test: https://privacypdf.org/pdf-tool-privacy-index/?utm_source=devto&utm_medium=social&utm_campaign=pdf_metadata
Disclosure: these are my tools.
Top comments (2)
The PDF2Go case is the one that should scare people. The properties panel shows an empty Author field, so a user walks away believing the file is clean — and the name is still sitting in the XMP packet, recoverable by anything that parses the file properly. Your method is what makes this land: five unique strings in different metadata locations, a 1.27 MB probe file, and byte-by-byte parsing instead of trusting the properties panel. The 6-of-9 split on the Info dictionary versus PDF2Go clearing the field but keeping XMP shows these tools don't really have a 'remove metadata' step — compression re-encodes the streams and leaves whatever it didn't touch. One question: across the five locations you seeded, was XMP the hardest one to kill, or did some tool clear XMP while keeping the Info dictionary? That split would tell us whether any of these tools even attempt a metadata pass, or whether the two that returned nothing just rebuilt the file by accident.
This is exactly how this kind of claim should be tested — five probe strings in different locations, parsed with a real parser, checked byte by byte, because the properties panel is not the file. The PDF2Go case is the telling one: a review process that looks at the dialog and confirms it's blank passes a file that still carries the name.
One more hiding place worth adding to the probe: the incremental-update tail. Some tools don't rewrite the file, they append a new revision — and the old metadata, and sometimes old content, stays in the bytes behind the new trailer. A parser reading the latest revision reports the field as cleared; a byte-level grep for the probe string still finds it. So the strongest form of your check is: after the tool runs, grep the raw file bytes for the probe string, not just the parsed dictionaries. If it appears anywhere, the tool failed, whatever the panels say. Same rule I use on extraction work — verify by bytes, not by what any one reader shows you.