How to Remove PDF Metadata While Preserving Bookmarks and PDF/A Compliance
Question details
The user wants to remove hidden information and unnecessary metadata from a PDF file without removing navigation elements like bookmarks or breaking its PDF/A compliance.

- Product
- Device & OS
- not provided
- Scenario
- Preparing a PDF document for archiving or sharing by clearing sensitive metadata while maintaining its archival standard (PDF/A).
- Observed behavior
- Standard sanitization completely removes bookmarks and links, while blanket hidden-info removal strips out the mandatory metadata required for PDF/A compliance.
Always keep a backup copy of your original PDF document before modifying metadata or using optimization tools, as removing XMP data or sanitizing files cannot be easily undone.
Selectively Remove Author Information and Unnecessary Metadata
Manually clear specific metadata fields to ensure mandatory PDF/A conformance data remains intact while removing sensitive user data.
A PDF/A file strictly requires certain metadata, specifically the XMP packet identifying its PDF/A conformance, to remain valid. Using an automated 'Sanitize' or 'Remove Hidden Information' tool often strips out this mandatory data or deletes necessary navigation elements like bookmarks. Manual removal of specific fields is the safest approach.
Open the PDF file in your PDF editor and navigate to Document Properties (usually found under the File menu or by pressing Ctrl+D).
Go to the 'Description' or 'Custom' metadata tabs where details like Author, Title, Subject, and Keywords are stored.
Manually delete the sensitive text from these fields. Do not modify or delete the core XMP metadata tags that dictate PDF/A compliance.
Save the document. Afterward, run the file through a PDF/A validation or preflight tool to ensure the file is still fully compliant.

Use Advanced PDF Optimization Settings
Use advanced optimization profiles to discard specific user data without affecting bookmarks or archival formatting.
Edit PDF Metadata and Properties Easily with WPS PDF
WPS PDF provides a user-friendly interface to securely view, edit, and clear basic document properties without destroying your bookmarks or document structure.
- 1. Open PDF in WPS: Launch WPS Office and open your PDF document using the WPS PDF tool.
- 2. Access Properties: Click on the 'Menu' icon in the top-left corner and select 'Document Properties'.
- 3. Edit Metadata: In the Description tab, manually clear out the 'Author' or other sensitive fields without triggering a destructive sanitization.
- 4. Save Document: Click 'OK' and save your document. Your bookmarks and hyperlinks will remain completely intact.

Frequently Asked Questions
Why does sanitizing a PDF remove my bookmarks and links?
Sanitization tools are strictly designed to strip all hidden data, interactive elements, and metadata to prevent sensitive information leaks. Unfortunately, this blanket removal process includes navigational aids like bookmarks and hyperlinks, which are classified as interactive elements.
Can a PDF/A file have absolutely no metadata?
No. At a minimum, a PDF/A compliant file must contain specific standardized XMP metadata that identifies its PDF/A conformance version and profile. If all metadata is removed, the file is no longer PDF/A compliant.
How do I verify if my PDF is still PDF/A compliant after editing?
You need to use a dedicated PDF/A validation tool or a preflight feature available in advanced PDF editors. These tools will scan the document's structure and XMP packet to confirm it still meets archival standards.
What is XMP metadata in a PDF?
XMP (Extensible Metadata Platform) is a standardized XML-based format used to store metadata within the PDF. It contains document details like author and creation dates, as well as essential identifiers required for PDF/A compliance.




