2ClickKit

DOCX Metadata Scrubber

Files Never Leave Your Device

Inspect and strip hidden author names, revision history, corporate templates, and editing time from Word documents in your browser.

Click to upload or drag & drop DOCX document

Zero uploads. Inspect & scrub author, revision history, and editing time 100% in your browser.

OpenXML Forensic Architecture: Metadata Exposure and Sanitization in Modern Word Documents

A comprehensive technical examination of the ISO/IEC 29500 Open Packaging Convention (OPC), Dublin Core schemas, tracking identifiers, and forensic data hygiene.

1. The Anatomy of an OpenXML (.docx) Package

Many users perceive a Microsoft Word .docx document as a single monolithic binary file. In reality, modern Office documents adhere to the Open Packaging Convention (OPC), an international standard (ISO/IEC 29500-2) based upon standard ZIP compression containers.

When a .docx package is unzipped, it reveals a standardized hierarchical directory structure:

[Content_Types].xml           // MIME type mappings for internal package parts
_rels/.rels                     // Root relationship definitions
word/document.xml               // Core paragraph and run typography
word/settings.xml               // Document settings and RSID revision tracking
docProps/core.xml               // Dublin Core metadata (Author, Modifiers, Dates)
docProps/app.xml                // Application metrics (Company, Editing Time, Template)
docProps/custom.xml             // Optional enterprise proprietary attributes

While word/document.xml contains the visible prose displayed on screen, the docProps/ directory quietly harvests detailed telemetry regarding the human operators and computing devices involved in the document's production.

2. Dublin Core Metadata and Extended Properties

Metadata stored within Word documents is bifurcated into two primary OpenXML schemas:

XML Tag Source Schema Information Exposed Privacy Risk Level
dc:creator docProps/core.xml Full name / username of original author High (Leaks identity)
cp:lastModifiedBy docProps/core.xml Name of final user who saved the file High (Leaks reviewer identity)
TotalTime docProps/app.xml Cumulative editing time in minutes Medium (Billing dispute risk)
Company docProps/app.xml Corporate organization name from Office license High (Exposes contractors)
Template docProps/app.xml Filename or internal path of base template (.dotx) Medium (Exposes server paths)
cp:revision docProps/core.xml Sequential save counter (e.g. Revision 42) Low to Medium

3. Real-World Case Studies of Metadata Leaks

Inadvertent distribution of unscrubbed documents has triggered high-profile political and commercial controversies throughout the history of modern electronic communications:

  • The 2003 UK Government "Dodgy Dossier": The British Prime Minister's office published a Word document on national security. Journalists extracted the revision history and author metadata, discovering that substantial sections were copied verbatim from a student academic thesis written years prior, with edits attributed to civil service press secretaries.
  • Corporate Acquisition Leaks: During high-stakes merger negotiations, a financial advisory firm circulated a "confidential" term sheet. The docProps/app.xml metadata listed an unannounced third-party private equity firm as the original template creator, exposing secret multi-party negotiations before the deal closed.
  • Legal Bill Discrepancies: In commercial litigation fee disputes, legal counsel submitted draft settlement agreements claiming over 80 billable hours of bespoke drafting. Opposing counsel inspected the <TotalTime> element in the DOCX package, which reported exactly 18 minutes of editing time.

4. Algorithmic Mechanics: Pure In-Browser Package Parsing

Standard desktop utilities require installing resource-intensive software suites or running Python scripts with python-docx. 2ClickKit executes the entire forensic scrubbing pipeline inside the browser engine using asynchronous ZIP streaming and native DOM manipulation:

import JSZip from 'jszip';

async function scrubDocx(fileBuffer: ArrayBuffer): Promise<Blob> {
  const zip = await JSZip.loadAsync(fileBuffer);
  const parser = new DOMParser();
  const serializer = new XMLSerializer();

  // 1. Sanitize Dublin Core stream
  const coreFile = zip.file('docProps/core.xml');
  if (coreFile) {
    const text = await coreFile.async('text');
    const doc = parser.parseFromString(text, 'application/xml');
    
    // Clear identifying tags
    ['dc:creator', 'cp:lastModifiedBy'].forEach(tag => {
      const el = doc.getElementsByTagName(tag)[0];
      if (el) el.textContent = '';
    });

    // Reset revision
    const rev = doc.getElementsByTagName('cp:revision')[0];
    if (rev) rev.textContent = '1';

    zip.file('docProps/core.xml', serializer.serializeToString(doc));
  }

  // 2. Re-pack cleanly compressed OpenXML ZIP
  return await zip.generateAsync({
    type: 'blob',
    compression: 'DEFLATE',
    mimeType: 'application/vnd.openxmlformats-officedocument.wordprocessingml.document'
  });
}

5. Zero-Knowledge Browser Isolation and HIPAA Compliance

Uploading documents containing unredacted patient medical records, litigation exhibits, or corporate intellectual property to remote cloud conversion services introduces severe liability under the European Union General Data Protection Regulation (GDPR) and the U.S. Health Insurance Portability and Accountability Act (HIPAA).

2ClickKit establishes an absolute air-gap guarantee: all parsing, DOM queries, and ZIP serialization happen inside client memory. No telemetry or file chunks are ever uploaded across any network interface.

How to Use DOCX Metadata Scrubber

  1. Upload Microsoft Word (.docx) document

    Select or drag and drop your DOCX file. The OpenXML package is unpacked directly in your local browser memory with zero network uploads.

  2. Inspect discovered metadata fields

    Review identified authors, modifiers, company details, editing duration, and revision counts extracted from docProps XML streams.

  3. Download sanitized DOCX document

    Select which metadata fields to strip and click Scrub Metadata to download a privacy-cleared Word document instantly.

Technical Specifications

  • Supported Inputs: Word Document (.docx)
  • Input Limit: Unlimited (100% In-Browser Memory)
  • Processing Engine: 100% In-Browser (OpenXML Package Unpacking & DOM Scrubbing)
  • Content Uploads: None (Your files and text are processed locally on your device with zero uploads)

Privacy & Security Guarantee

Your Contracts, briefs, research drafts, and executive summaries are processed entirely in your web browser's memory using native client-side web technologies. Unlike traditional cloud tools, your content is never uploaded to remote servers, stored on external disks, or analyzed by third parties.

2ClickKit In-Browser vs Traditional Cloud Tools

Feature 2ClickKit (In-Browser) Traditional Cloud Services
Data Privacy Files never leave your local device Uploaded to remote servers and third-party clouds
Processing Speed Instant local execution (0ms upload time) Constrained by internet upload & server processing queues
Account & Costs 100% Free with zero registration or paywalls Tiered subscriptions, limits, or forced sign-ups

Frequently Asked Questions

What hidden metadata is stored inside Microsoft Word DOCX files?

Standard Microsoft Word documents store extensive non-visible telemetry inside OpenXML package streams (docProps/core.xml and docProps/app.xml). This includes the author’s full name, usernames of everyone who edited the file, company name, corporate manager, total cumulative editing minutes, template file paths, and exact revision counts.

Why is scrubbing DOCX metadata critical before external distribution?

Sending unscrubbed documents to clients, opposing legal counsel, journalists, or regulatory bodies can inadvertently leak sensitive corporate intel. For example, "Total Editing Time" can reveal that a multi-thousand-dollar contract took 12 minutes to draft, or "Company" metadata can expose undisclosed sub-contractors and outsourced ghostwriters.

How does in-browser DOCX scrubbing work technically?

A .docx file is physically a ZIP archive containing XML files and media assets. 2ClickKit unpacks the ZIP package in browser memory using JSZip, parses docProps/core.xml and docProps/app.xml via the browser’s native DOMParser, sanitizes identified attributes, resets counters, and re-compresses the ZIP archive using DEFLATE compression.

Are my private documents uploaded to any remote web server?

No. 2ClickKit runs 100% locally within your client browser. No document contents, filenames, or metadata are ever transmitted across external networks. The tool operates with complete offline functionality for strict HIPAA, GDPR, and NDA compliance.

Will scrubbing metadata alter my document layout, fonts, or images?

No. Metadata scrubbing touches only the document properties streams located in the docProps directory. The main document text, styles, tables, headers, footers, embedded images, and formatting located in word/document.xml remain completely untouched.

What happens to the document revision count when scrubbed?

By default, the tool resets the revision number (cp:revision) to 1 and total editing time (TotalTime) to 0, ensuring the scrubbed file appears as a freshly minted, clean document.

Can this tool remove custom XML document properties?

Yes. If your organization uses enterprise templates with custom metadata fields (stored in docProps/custom.xml), the tool identifies the file and offers to completely excise it from the package.

Is older binary .doc format supported?

This tool is specifically engineered for modern ISO/IEC 29500 OpenXML (.docx) documents. Legacy binary .doc files (Word 97-2003) use proprietary OLE2 compound binary containers; we recommend saving them as .docx in Word before scrubbing.