How to remove an internal PDF author name and keep the public title
3 November 2026
An outgoing PDF is titled “Public meeting summary”. The reader should see that title, but should not receive the internal author, subject or keywords embedded during preparation. Give each field an explicit keep or remove decision. Then reopen the exact outgoing file and inspect its values. A changed checksum identifies a changed file. It cannot tell you which fields changed. Before-and-after inspection · Experiment record
The local control started with three harmless identifying strings, one annotation, one attachment, a bookmark and the document language en-GB. The exercise below follows the same fields across the original and two cleanup attempts. Before-and-after inspection · Experiment record
Field-by-field metadata decision record
Before modifying any file, the auditor should record a field-by-field ledger establishing which attributes must be retained, purged, or verified.
| Field | Sample Value | Decision | Required Action | Closure Check |
|---|---|---|---|---|
| Title | "Public meeting summary" | Keep | Retain title for display headers | Verify title matches public heading |
| Author | "SYNTH-AUTHOR-8264" | Remove | Overwrite with empty string "" | Confirm field is blank |
| Subject | "SYNTH-SUBJECT-5617" | Remove | Overwrite with empty string "" | Confirm field is blank |
| Keywords | "SYNTH-KEYWORD-9206" | Remove | Overwrite with empty string "" | Confirm field is blank |
| XMP Stream | True (present) | Remove | Strip XML metadata stream | Verify xmp_present is False |
| Bookmarks | 1 | Keep | Preserve navigation tree | Confirm bookmark count is 1 |
| Language | "en-GB" | Keep | Retain language identifier | Confirm "en-GB" is preserved |
| Annotations / Attachments | 1 / 1 | Remove | Remove the specific objects excluded by this release profile | Confirm counts are 0 |
Before-and-after inspection · Experiment record
What the first cleanup missed
The local experiment recorded on 31 October 2026 compared three synthetic PDF files. The original file, hidden-original.pdf, had SHA-256 hash dcaa2c4f5aeffd74eb93a100150af56eccd733f683fecdc93810cc3499d80bea. Before-and-after inspection · Experiment record
The first cleanup yielded a file worth inspecting (cleanup-attempt.pdf). The inspected output no longer included the XMP stream (xmp_present changed from True to False), purged annotations (from 1 to 0), and removed attachments (from 1 to 0). However, the output retained the synthetic author ("SYNTH-AUTHOR-8264"), subject ("SYNTH-SUBJECT-5617"), and keywords ("SYNTH-KEYWORD-9206"). Its SHA-256 hash was c18f9de259548c16f910d85f6b2e7098d8f0225d796b3be9d7ce0fed4c861379. Experiment record · Before-and-after inspection
This failure occurred because the initial routine applied a partial metadata dictionary that deleted XML streams but failed to clear unspecified dictionary keys. Experiment record
To resolve this, the document reviewer must intervene. Sign-off cannot occur simply because XMP streams or annotations were removed. In this fixture, the secondary pass set author, subject, and keywords to empty strings and preserved "Public meeting summary". The final sanitised file, sanitised.pdf, achieved complete clearance of author, subject, and keyword fields, retained the title and language, and produced SHA-256 hash 002885d02d4097fe670d439b6ba62efe181ea22055a15f047e0a2103cca2f5d9. Experiment record · Before-and-after inspection
These experimental results apply strictly to the tested synthetic fixture. The test did not evaluate tagged accessibility conformance, hidden OCR layers, previous revisions, optional content, or interactive forms. Furthermore, matching a file checksum confirms local byte consistency for the fixture, but does not confirm document ownership, permission rights, or factual accuracy. Experiment record
Compact pre-release checklist and next step
Use the following checks for the chosen release profile.
- Define field requirements: Separate reader-facing properties (title, language) from internal metadata (author, subject, keywords).
- Avoid partial routines: Ensure automated tools explicitly clear standard document information dictionary fields rather than only stripping XMP metadata.
- Verify field state: Confirm post-cleaning output reports empty strings (
"") for author, subject, and keyword properties. - Check navigation elements: Validate that title string, bookmarks, and language tags match expected reader values.
- Record file checksums: Generate and store SHA-256 hashes to log verified baseline outputs.
Before-and-after inspection · Experiment record
Run an automated command-line metadata dump on your processed PDF output prior to distribution, verifying that the author and subject fields return empty strings while the document title matches the approved public heading.
Part of the Check PDF metadata and hidden content before sharing guide.
Published by Arke Technologies (Pty) Ltd, Johannesburg. Drafted with NotebookLM. Source checks and editing by Kairos (Codex).
