Document management and automation
Metadata Scrubbing for Lawyers: Duties and Tools
By Lucerna LawPublished 10 min read
Metadata scrubbing for lawyers means removing hidden data, such as authors, comments, tracked changes, earlier text and document properties, from a file before it goes to someone outside the firm. Bar opinions treat it as part of the duty of reasonable care over client information. Word's Document Inspector and Acrobat Pro's Sanitize feature do the removal.
What is metadata scrubbing for lawyers?
Metadata scrubbing is the step of inspecting a document's hidden data and removing what should not leave the firm, done on a copy just before the document is sent. The hidden data includes properties such as author and template, comments, tracked changes, hidden text, and earlier versions that the visible page does not show.
The bar opinions describe the risk in concrete terms. New York State Bar Association Ethics Opinion 782, issued December 8, 2004, loosely defines metadata as "data hidden in documents that is generated during the course of creating and editing such documents." It says metadata "may reveal the persons who worked on a document, the name of the organization in which it was created or worked on, information concerning prior versions of the document, recent revisions of the document, and comments inserted in the document in the drafting or editing process," and that the hidden text may reflect "editorial comments, strategy considerations, legal issues raised by the client or the lawyer, legal advice provided by the lawyer, and other information."
The opinion's examples are the ones that recur in practice. A lawyer emails a document to someone other than the client without realising the recipient can see prior edits and comments that would be privileged. Or a prosecutor uses one cooperating witness's agreement as the template for another's, and the second document's metadata carries the first witness's name. Templates are a large part of the problem, because a document built from an earlier one can carry that document's history.
Florida Bar Ethics Opinion 06-2, issued September 15, 2006, gives a similar list: the name of the author, the computer on which the document was typed, the names of previous authors, and revisions, including prior versions of a final document. It notes that metadata can show what was deleted from or added to a document during drafting and the comments of its reviewers.
Is metadata scrubbing an ethics duty?
The opinions frame it as a standard of care rather than a fixed procedure. New York's Opinion 782 says lawyers must use reasonable care to prevent disclosure of confidences in metadata. Florida's Opinion 06-2 says a sending lawyer must take reasonable steps to protect confidential information, including information in metadata, in electronic communications.
ABA Model Rule 1.6(c) states the general duty: "A lawyer shall make reasonable efforts to prevent the inadvertent or unauthorized disclosure of, or unauthorized access to, information relating to the representation of a client." Metadata sent by accident is one of the plainer examples of an inadvertent disclosure.
Opinion 782 applied the disciplinary rule then in force in New York, DR 4-101, but its account of reasonable care is practical. It says what constitutes reasonable care will vary with the circumstances, including "the subject matter of the document, whether the document was based on a 'template' used in another matter for another client, whether there have been multiple drafts of the document with comments from multiple sources, whether the client has commented on the document, and the identity of the intended recipients of the document."
The opinion also records a point of disagreement. In a footnote it notes that some commentators argued for an affirmative duty to remove metadata whenever documents are exchanged with opposing counsel or disclosed to the public. It answers that reasonable care may in certain circumstances require removal, giving as examples a lawyer who knows the metadata reflects client confidences, or a document going to "an aggressive and technologically savvy adversary," but that in general the care required varies with the circumstances of the transmission. Florida's opinion is to the same effect for the sender: "It is the sending lawyer's obligation to take reasonable steps to safeguard the confidentiality of all communications sent by electronic means to other lawyers and third parties and to protect from other lawyers and third parties all confidential information, including information contained in metadata."
The D.C. Bar reached a similar view of the sender's duty in its Opinion 341, discussed with its distinction between negotiated documents and discovery in the post on contract redlining and the duty to protect metadata.
The receiving lawyer's side: Rule 4.4(b) and mining metadata
On the receiving side the authorities diverge. Model Rule 4.4(b) requires prompt notice to the sender when a lawyer knows or reasonably should know a document was sent inadvertently, and comment 2 applies that to metadata. Florida's opinion adds that a recipient should not try to obtain confidential information from metadata at all.
Model Rule 4.4(b) says a lawyer who receives a document or electronically stored information relating to the representation of the lawyer's client, and "knows or reasonably should know that the document or electronically stored information was inadvertently sent shall promptly notify the sender." Comment 2 says that for purposes of the rule, "document or electronically stored information" includes "embedded data (commonly referred to as 'metadata'), that is subject to being read or put into readable form," and that "metadata in electronic documents creates an obligation under this Rule only if the receiving lawyer knows or reasonably should know that the metadata was inadvertently sent to the receiving lawyer." Whether more is required, such as returning the material, and whether privilege has been waived, are matters of law beyond the scope of the rules, the comment says.
Florida's Opinion 06-2 sets a stricter expectation for recipients. It says it is "the recipient lawyer's concomitant obligation, upon receiving an electronic communication or document from another lawyer, not to try to obtain from metadata information relating to the representation of the sender's client that the recipient knows or should know is not intended for the recipient," and that a lawyer who inadvertently obtains information from metadata should notify the sender.
Two practical consequences follow for the sender. First, the rules on the other side vary by jurisdiction, so a firm cannot count on the recipient not looking. Second, if privileged material does go out, the waiver question is governed by evidence law. In federal proceedings, Federal Rule of Evidence 502(b) says an inadvertent disclosure does not operate as a waiver if the holder took reasonable steps to prevent disclosure and promptly took reasonable steps to rectify the error.
Scrubbing a Word file with Document Inspector
Word's Document Inspector, under File, Info, Check for Issues, Inspect Document, finds and removes comments, revision marks, versions, document properties, personal information, hidden text and custom XML data. Microsoft's steps run it on a copy, warn that removed content might not be restorable with Undo, and note what it cannot detect.
Microsoft's support page on removing hidden data and personal information by inspecting documents gives the procedure: save a copy of the original with Save As, open the copy, select Info on the File tab, choose Check for Issues and then Inspect Document, select the types of hidden content to inspect, select Inspect, review the results, and select Remove All next to each type to be removed.
For Word documents the page lists what the inspectors find and remove:
| Inspector | What it covers in Word |
|---|---|
| Comments, Revisions, Versions, and Annotations | Comments, revision marks from tracked changes, document version information, ink annotations |
| Document Properties and Personal Information | Summary, Statistics and Custom properties, email headers, routing slips, send-for-review information, document server properties, document management policy information, user name, template name |
| Hidden Text | Text formatted as hidden with the font effect |
| Invisible content | Objects formatted as invisible |
| Custom XML data | XML data not visible in the document |
The limits matter as much as the list. The page says the hidden text inspector "cannot detect text that was hidden by other methods (for example, white text on a white background)," and the invisible content inspector cannot detect objects that are covered by other objects. It also notes that a document saved to a document management server may carry additional server properties, and that a document saved in OpenDocument Text format must be inspected every time it is saved in that format.
Spreadsheets need their own pass. For Excel workbooks the same page lists hidden rows, hidden columns that contain data, and hidden worksheets among what the inspector finds, and warns that removing hidden rows, columns or sheets that contain data may change the results of calculations or formulas. The page says that if the content of hidden rows or columns is unknown, the user should close the inspector, unhide them and review their contents. Microsoft's page also says comments, annotations, properties and personal information cannot be removed from a workbook saved as a Shared Workbook until the shared feature is turned off on a copy.
Metadata scrubbing for PDFs made from Word drafts
Converting a draft to PDF does not by itself scrub it. Adobe's help page says a PDF can carry metadata, comments, hidden layers and other sensitive content, and that Acrobat Pro's Sanitize document command, reached through Redact a PDF, removes that hidden information.
The order of steps follows from that. A PDF has its own document properties and can collect comments and other content after conversion, during review, so Document Inspector on the Word file does not cover the PDF, and Adobe's page on how to sanitize PDFs and remove hidden content describes the separate PDF step. Its options, the hidden items a PDF can hold, and why a redaction pass alone leaves them behind are set out in the post on why redaction in a PDF editor leaves hidden data behind.
A black box drawn over text is a separate failure, covered in the post on why redactions in a production fail.
Why should metadata not be scrubbed from a discovery production?
Scrubbing is for documents a lawyer chooses to send. Discovery is different: Rule 34 requires electronically stored information to be produced in the form ordinarily maintained or a reasonably usable form, unless the parties stipulate or the court orders otherwise. Florida's metadata opinion expressly does not address documents subject to discovery.
Federal Rule of Civil Procedure 34(b)(2)(E) says that, unless otherwise stipulated or ordered, a party must produce documents as they are kept in the usual course of business or organized and labeled to match the categories in the request, and that if a request does not specify a form for electronically stored information, a party must produce it "in a form or forms in which it is ordinarily maintained or in a reasonably usable form or forms." Which metadata fields travel with a production is a matter the parties can settle in advance, as the post on production format terms in an ESI protocol explains.
Florida's Opinion 06-2 draws the line explicitly: it "does not address metadata in the context of documents that are subject to discovery under applicable rules of court or law," including the role of the lawyer acting as a conduit to produce documents in response to a discovery request. The ethics opinions on scrubbing are about the documents a lawyer creates and sends, not about altering a client's records before production. Privileged content inside produced files is handled by redaction, logging and clawback agreements under the discovery rules, not by stripping the files.
A metadata scrubbing routine for outgoing documents
A routine works better than a reminder. Decide which documents are scrubbed, run the inspection on a copy at the last step before sending, check the result, and keep the unscrubbed original in the matter file. The routine should follow the risk factors Opinion 782 lists, not apply one setting to every file.
- Classify the document. Drafts sent to opposing counsel, documents built from another matter's precedent, and files with comments from several reviewers get the full routine. A final letter typed fresh may need only a properties check.
- Finish editing first. Accept or reject tracked changes and delete comments deliberately, so the inspector is a check rather than the only step.
- Work on a copy. Save the outgoing copy under its own name, as Microsoft recommends, and inspect that copy.
- Inspect and remove. Run Document Inspector in Word or Excel, or Sanitize in Acrobat Pro, and remove the categories the document should not carry.
- Look for what the tools miss. Search for white or tiny text, check for objects layered over other objects, and unhide and review spreadsheet rows, columns and sheets before deciding to remove them.
- Check the output. Open the outgoing file, look at its properties, and confirm the figures and formatting survived.
- Keep the original. File the unscrubbed version with the matter, and record which copy went to whom and when.
A scrubbed file is a modified copy. When an exact copy of a record is what someone needs, such as a court record for another proceeding, the right document is the one the custodian certifies, explained in the post on a certified copy of court documents. The professional duties the homepage maps to Lucerna Law's features are set out in its section for the ethics partner. This post reports what the opinions, rules and vendor pages linked above said on November 5, 2026, and is not legal advice.