A filing that looks clean on the screen may carry far more information than its author intended. Documents contain layers: visible text, and also revision history, comments, author names, file paths, hidden text, embedded objects, and sometimes data from previous versions. When a document is filed with a court, that hidden layer can become public, and sometimes opposing counsel is the first to look for it.

For legal operations teams and filing clerks, sanitizing is a routine step as important as proofreading.

What metadata can reveal

Metadata is information about a document, and hidden content is information inside it. Common examples include:

  • Author and organization names from the software's user settings.
  • Track changes and comments left in a word processing file before conversion.
  • Revision history and prior text that remains recoverable in some formats.
  • File paths and device names that can reveal client names or internal folder structure.
  • Hidden text, layers, or objects, such as text colored white or placed behind images.
  • Embedded files and attachments inside the PDF.
  • Document properties such as title, subject, and keywords that may contain case details.

The worst-known category is improper redaction. People draw a black rectangle over sensitive text, export, and file. But the underlying text is often still present beneath the box and can be copied, searched, or revealed. Courts and the press have seen filings in which confidential material was recovered this way.

Why it matters legally

Public court filings are generally accessible, with limited exceptions. Both California and federal rules require limiting certain personal identifiers in filings, such as full Social Security numbers and financial account numbers, to abbreviated forms. Protective orders, sealing orders, and confidentiality agreements add further obligations. Accidentally disclosing privileged or confidential information can lead to waiver arguments, sanctions requests, motions to strike, and damage to client trust, and attorneys have ethical duties to protect client confidences.

Sanitizing is therefore both a risk-control measure and a professional responsibility.

A practical sanitization workflow

  1. Finalize the content first. Accept or reject all tracked changes, delete comments, and remove hidden text in the source document.
  2. Run the document inspection tool in your word processor to find and remove personal information, hidden content, and revision data.
  3. Check document properties and clear author, company, and subject fields as appropriate, or set neutral standardized values.
  4. Convert directly to PDF from the source file, rather than printing and rescanning, so the text remains searchable. Use the court's required format if one is specified.
  5. Apply true redaction using the redaction function in your PDF software, which removes the underlying text and image content rather than covering it. Apply and save, then verify.
  6. Run the PDF sanitize or hidden-information removal feature, which clears metadata, embedded files, hidden layers, and comments.
  7. Test the final file. Try to select and copy the redacted areas, search for sensitive terms, review properties and attachments, and look at the file as the clerk and opposing counsel would.
  8. Keep a clean copy and an audit trail of what was redacted and why, in case it is later challenged.

Special cases

Sealed or conditionally sealed filings require following the court's procedures exactly, which often differ for state and federal courts. Spreadsheets and presentations can carry especially sensitive hidden sheets, notes, and slide data, so sanitize them before conversion, or consider producing only the needed pages. Scanned documents may contain data from the scanning device, and images can include location and device details.

Build it into your process

The best protection is consistency. Add sanitization to your standard checklist, assign a second reviewer for high-stakes filings, train staff on how redaction tools work, and re-check after software updates, since menus and defaults change.

Our technical checklist walks through these steps in a format your team can adopt.

Want a repeatable process? Get our E-Filing Technical Checklist.


This article is general information, not legal advice, and does not create an attorney-client relationship. Consult a licensed attorney about your specific situation.