Send a Word (.docx) or PDF file, get a cleaned copy back with a report of what was removed and a re-scan that confirms it. Author and last-edited-by names, company, comments and reviewer identities, tracked changes, hidden text, custom document properties, custom XML, revision IDs, PDF Info, XMP, annotations, attachments and embedded scripts are gone. Text, formatting, images, links, bookmarks and form fields stay. Built from the same engine as the Metadata Cleaner app law firms have bought since 2024.
Get a key on RapidAPI Free plan, free scan endpoint, then $0.03 per 100 documents.
Open a ready-to-run example for Word author metadata, comments and tracked changes or PDF metadata, annotations, attachments and scripts. Each example starts in inspection mode and can be duplicated into an Apify account; cleaning remains a separate, explicit paid action.
Agent builders can discover the same tool through the Official MCP Registry.
POST /scan lists what a file leaks, free. POST /clean returns the cleaned file; one billed unit per started megabyte of the file you send (a 300 KB contract is one unit).
curl -X POST "https://metadata-cleaner-for-docx-and-pdf.p.rapidapi.com/clean?name=contract.docx" \ -H "X-RapidAPI-Key: YOUR_KEY" -H "X-RapidAPI-Host: metadata-cleaner-for-docx-and-pdf.p.rapidapi.com" \ -H "Content-Type: application/octet-stream" --data-binary @contract.docx -o "contract (cleaned).docx"
Also accepts multipart/form-data with a file field, or JSON {"file": "<base64>", "name": "contract.docx"}, and answers JSON with ?format=json. Files up to 4 MB. Password-protected files, legacy .doc and non-documents are refused with a clear code and never billed.
E-signature and client-portal flows that must not leak a drafter’s name; HR and procurement systems sending letters and bids; press, FOIA and court-filing pipelines; data rooms; legal and compliance teams that want every outgoing file scrubbed, not only the ones someone remembered to check.
| Plan | Monthly | Documents |
|---|---|---|
| Basic | $0 | 20 per month, 100 requests, free scans |
| Pay per use | $0 | $0.00026 per document unit plus RapidAPI’s $0.00003 per request: $0.00029 per cleaned document, no commitment |
| Ultra | $9.99 | 33,000 included, then $0.00029; scans free |
| Mega | $39.99 | 133,000 included, then $0.00029; scans free |
Current limits and prices are on the RapidAPI pricing tab, which controls.
Files are processed in memory inside the request and discarded when the response is sent; nothing is stored or logged. Details: privacy policy and terms.