A PDF heading to court carries more than the visible content of its pages. It carries an author name that may identify the specific attorney who drafted it. A creation date that reveals exactly when the document was prepared. A modification history showing every edit made during preparation. Software identifiers that disclose which tools were used. Possibly comments, revision marks, or embedded file paths that reference internal network locations. None of this metadata is visible when viewing the document normally. All of it is accessible to anyone who knows how to open the document properties. In a legal context, metadata can reveal attorney work product, internal strategy, or privileged communications that the visible document was carefully drafted to protect.
Cleaning metadata from a PDF before court filing is a mandatory step in many jurisdictions and a best practice in all of them. The cleaning process removes hidden data that could compromise client confidentiality, reveal litigation strategy, or violate court rules regarding electronic filing. This guide covers what to remove and how to verify that the cleaning was complete.
According to the Administrative Office of the U.S. Courts, metadata in electronically filed documents has been the subject of multiple court orders requiring attorneys to ensure that hidden data is removed before filing (U.S. Courts, "Electronic Filing Requirements," 2024).

Metadata Fields to Check Before Court Filing
| Metadata Field | What It Reveals | Recommended Action |
|---|---|---|
| Author | The name of the person who created or last edited the document. May identify specific attorneys or staff | Replace with the law firm name or the filing attorney of record. Remove individual staff names |
| Creator / Producer | The software application that created the PDF. Reveals the tools used in document preparation | Generally acceptable to leave. May be relevant if the court requires specific PDF creation software |
| Creation and Modification Dates | Timestamps showing when the document was first created and last modified. Reveals preparation timeline | Generally acceptable to leave. The filing date is a matter of court record. Modification dates may reveal last-minute changes |
| Subject and Keywords | Descriptive metadata that may contain internal project codes, client names, or case strategy labels | Remove or replace with the case number and document title only. Do not include internal categorization |
| Comments and revision history | Internal comments, track changes history, and reviewer notes embedded in the document | Must be completely removed. Comments and revision history are the most common source of inadvertent metadata disclosure |
Try Protect PDF
No installation needed. Works directly in your browser.
Using Browser-Based Metadata Cleaning Tools
Upload the PDF to a browser-based tool that offers metadata cleaning or sanitization. The tool scans the document for hidden data and presents a list of what it found. Review the list and select the items to remove. At minimum, remove author names, subject and keywords, comments, and revision history. Run the cleaning operation and download the sanitized file. Open the cleaned file and verify by checking the document properties. Every field you intended to remove should be empty or replaced with the value you specified.
WukongPDF processes PDFs and supports metadata review. The PDF Security metadata cleaning step should be the final operation before filing, performed after all content edits and formatting adjustments are complete.
Verifying Metadata Cleaning Was Complete
After cleaning, open the PDF in a reader that displays full document properties. Check every metadata field. Confirm that author, subject, and keyword fields are empty or contain only the information you intentionally placed there. Search the document for any text that should have been removed. The verification takes two minutes and is the final check before filing. A metadata disclosure discovered by opposing counsel is a problem. A metadata disclosure you caught and fixed before filing is not.
The PDF Legal standard for metadata in court filings is that the document should contain no hidden information beyond what is visible on its printed pages. The metadata cleaning process ensures compliance with this standard.
Redaction and Metadata Cleaning: Two Separate Steps
Redaction removes visible content from pages. Metadata cleaning removes hidden data from the document structure. Both must be performed before court filing, in the correct order. Redact first. When redaction is complete and verified, clean the metadata. The cleaning step may remove information about the redaction process itself, which is acceptable.
After both steps, perform a final review. Verify that redacted content is gone and metadata fields are clean. The PDF Legal standard for court filings requires both visible and hidden information to be properly managed. Neither step alone is sufficient.
Metadata Cleaning for Electronically Filed Documents With Exhibits
A court filing often includes a main document and multiple exhibits. Every file in the filing package must have its metadata cleaned. The main document gets the most attention because it contains the primary content. The exhibits are easier to overlook because they are supporting documents. A metadata disclosure in an exhibit is as problematic as one in the main filing.
Process all files in the filing package through the same metadata cleaning workflow. After cleaning, verify every file, not just the main document. The PDF Legal metadata standard applies to the entire filing, not selectively to the most visible document.
Creating a Metadata Cleaning Checklist for Recurring Filings
Law firms and legal departments that file documents regularly benefit from a metadata cleaning checklist. The checklist lists every field to check, the acceptable values for each, and the verification steps. Before each filing, run through the checklist. The checklist standardizes the cleaning process and ensures that no field is overlooked when filings are prepared under deadline pressure.
The PDF Security metadata checklist should be a living document. When a court issues new guidance on metadata in electronic filings, update the checklist. When a new metadata field is introduced by updated PDF creation software, add it to the checklist. The checklist evolves with the filing requirements.
Handling Metadata in Documents Received From Third Parties
A filing may include documents received from clients, opposing counsel, expert witnesses, or government agencies. These documents carry their own metadata from their original creators. You are responsible for cleaning metadata from every document you file, including those you did not create. The metadata in a third-party document may contain information that the third party did not intend to share with the court.
Process third-party documents through the same metadata cleaning workflow as your own. Do not assume that because you did not create the document, you are not responsible for its metadata. The PDF Legal obligation to file clean documents extends to every document in your submission, regardless of origin.
Try Protect PDF
No installation needed. Works directly in your browser.
