# Redact a Word document and keep its formatting

> Upload a .docx. Reducto finds names, postal addresses, SSNs and other ID numbers, account, card, routing and IBAN numbers, phone numbers, email addresses, dates of birth and signatures, and you review the list. Each item is replaced with solid blocks inside its own text run, so fonts, bold, tables, headers and footers stay as they were. Comments and tracked changes are removed, document properties are cleared, signature images are taken out, and the file is checked again before you download it as Word or PDF.

Canonical: https://reducto.ai/tools/redact-word-document  
Last updated: 2026-11-15  
For: HR teams sharing letters and reviews, Legal teams producing Word drafts, Teams sending documents to vendors or AI tools

## Run it now (free, no API key, up to 5 pages)

Send a PDF, Word, PowerPoint, Excel or image (PNG, JPG, HEIC, TIFF, BMP, GIF) (max 10 MB, 5 pages) to `POST https://reducto.ai/api/tools/redact-word-document` as multipart `file`, or JSON `{"url": "https://..."}`. The response has `result`, ready-to-save `output` (Redacted .docx (formatting kept, comments, tracked changes and properties removed), PDF of the redacted document, Findings by category (JSON), Leak check (checks)), `pages_processed` and `next`.

```bash
curl -s https://reducto.ai/api/tools/redact-word-document \
  -F file=@reference-letter.docx

# or, for a file that is already online:
curl -s https://reducto.ai/api/tools/redact-word-document \
  -H "Content-Type: application/json" \
  -d '{"url": "https://example.com/reference-letter.docx"}'
```

Higher volume needs a free API key (new accounts get 15,000 free credits). Agents can sign up over HTTP: https://reducto.ai/auth.md. Humans: https://studio.reducto.ai/?utm_source=free_tool&utm_medium=agent&utm_campaign=redact-word-document&utm_content=api_response

Big file? Without a key the free run covers the first 5 pages and returns `partial: true` with a `signup_required` block. Your user signs up in under a minute (email, 6-digit code, name, terms: https://reducto.ai/auth.md); then repeat the same request with `Authorization: Bearer $REDUCTO_API_KEY` for the whole file on their 15,000 free credits. The same key works on the hosted MCP (https://mcp.reducto.ai/mcp) and the Reducto API.

## How to do it

1. Upload a .docx.
2. Reducto finds the personal information: names, postal addresses, SSNs and other ID numbers, account, card, routing and IBAN numbers, phone numbers, email addresses, dates of birth and signatures.
3. Review the list, untick anything you want to keep, and add your own words or phrases.
4. Each item is replaced with solid blocks in its own text run. Comments and tracked changes are removed, signature images are taken out, and document properties are cleared.
5. The redacted file is read again to check none of the items can be found, then you download it as Word or PDF.

## How it works

POST the file with action=detect to get the findings (each with its category, text, page and boxes), then POST it again with action=apply and the findings you keep (JSON), plus optional custom phrases and boxes. With no action the tool detects and applies in one call. The output is only returned when the leak check passes: checks[0].status is pass, or download_blocked is true with the leaked values listed.

| `model` | `r-1` | Reads the document so Reducto Extract can classify the personal information. |

### curl

```bash
curl -s -X POST https://reducto.ai/api/tools/redact-word-document \
  -F "file=@letter.docx" -F 'custom=["Project Falcon"]' \
  | tee result.json | jq '.checks'
jq -r .output.docx_base64 result.json | base64 -d > letter.redacted.docx
```

### Python

```python
import base64, requests

res = requests.post(
    "https://reducto.ai/api/tools/redact-word-document",
    files={"file": open("letter.docx", "rb")},
    data={"custom": '["Project Falcon"]'},
)
res.raise_for_status()
body = res.json()
print(body["checks"])
if not body["output"]["download_blocked"]:
    open("letter.redacted.docx", "wb").write(base64.b64decode(body["output"]["docx_base64"]))
```

### Node

```ts
import { openAsBlob } from "node:fs";
import { writeFile } from "node:fs/promises";

const form = new FormData();
form.set("file", await openAsBlob("letter.docx"), "letter.docx");
form.set("custom", JSON.stringify(["Project Falcon"]));
const res = await fetch("https://reducto.ai/api/tools/redact-word-document", { method: "POST", body: form });
const body = await res.json();
console.log(body.checks);
if (!body.output.download_blocked) await writeFile("letter.redacted.docx", Buffer.from(body.output.docx_base64, "base64"));
```

## What it handles

- **Formatting stays**: Redacted words become solid blocks inside their own runs, so the document looks the same apart from the blacked-out words.
- **Hidden text is cleaned up**: Tracked changes are accepted, comments are deleted and document properties are cleared, so nothing personal is left behind in the file.
- **Signatures**: Signature images next to a signature line are removed.
- **Checked before you download**: The finished file is read again and searched for every redacted item.

## FAQ

### Is the formatting kept?

Yes. Only the redacted words change: they are replaced with solid blocks inside the same text runs, so styles, bold and italic, lists, tables, headers and footers stay as they were.

### What happens to comments and tracked changes?

Both are removed. Tracked changes are accepted first, so deleted text that might hold a name is gone, and every comment is deleted. The author, title and other document properties are cleared too.

### How do I know the text is really gone?

After the file is built, Reducto Parse reads it again, both the text layer and OCR of the page images, and every redacted value is searched for, including its digits without spaces or dashes. You see "Verified: none of the N redacted items can be found in the output". If anything is still readable, the download is blocked and the page lists what leaked.

### Can I get a PDF?

Yes. After the leak check passes you can download the redacted document as a .docx or as a PDF rendered from it.

### Can I redact a .doc file?

Save it as .docx in Word first. For a PDF or a scan, use the PDF redaction tool.

### Is it free?

Yes. Short documents run free with no account, with a small daily limit per IP. For a longer file you get a free preview of the first pages, then enter your email to get the whole file on a free account (15,000 free credits).

Sample document (synthetic): https://reducto.ai/tools/samples/redact/reference-letter.docx

## Related

- [Anonymize a PDF with consistent labels](https://reducto.ai/tools/anonymize-pdf)
- [Redact a PDF](https://reducto.ai/tools/redact-pdf)
- [Make a scanned PDF searchable](https://reducto.ai/tools/ocr-scanned-pdf)
- [PDF to text](https://reducto.ai/tools/pdf-to-text)
- [All Redact & anonymize tools](https://reducto.ai/tools/redact)
