# Redact a PDF: find and remove personal information

> Upload a PDF, scan or photo. Reducto reads every word with its position and finds names, postal addresses, SSNs and other ID numbers, account, card, routing and IBAN numbers, phone numbers, email addresses, dates of birth and signatures, in typed text, scans, photos and handwriting. Review the list, untick anything to keep, add your own words or draw a box, then download. Each page with a redaction is rebuilt as an image with black boxes burned in, so the text under them no longer exists in the file, and the result is checked again before you can download it.

Canonical: https://reducto.ai/tools/redact-pdf  
Last updated: 2026-11-15  
For: HR teams sharing employee files, Legal teams producing documents and exhibits, Clinics and health teams sending records, Anyone posting or emailing a form that has personal details on it

## 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-pdf` as multipart `file`, or JSON `{"url": "https://..."}`. The response has `result`, ready-to-save `output` (Redacted PDF (redacted pages flattened, boxes burned in, metadata removed), Findings by category with page boxes (JSON), Leak check (checks)), `pages_processed` and `next`.

```bash
curl -s https://reducto.ai/api/tools/redact-pdf \
  -F file=@hr-new-employee-form-scanned.pdf

# or, for a file that is already online:
curl -s https://reducto.ai/api/tools/redact-pdf \
  -H "Content-Type: application/json" \
  -d '{"url": "https://example.com/hr-new-employee-form-scanned.pdf"}'
```

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-pdf&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 PDF, a scan or a photo of a document.
2. Reducto Parse reads every word with its position, and Reducto Extract picks out 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, grouped by category and highlighted on each page. Untick anything you want to keep, add words or phrases (every occurrence is found), or drag on a page to black out an area.
4. Each page with a redaction is rebuilt as an image with the boxes burned in, and the file is written fresh, without its author, title, XMP data, attachments, forms or earlier versions.
5. The finished PDF is read again to check none of the redacted items can be found, then you download it.

## 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 typed text, scans, photos and handwriting, with a box for every word. |
| `return_ocr_data` | `true` | Word-level boxes, so each redaction covers exactly the words found. |

### curl

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

### Python

```python
import base64, requests

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

### Node

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

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

## What it handles

- **Scans, photos and handwriting**: Every word is read with OCR and placed on the page, so a handwritten name on a scanned form is found and covered.
- **The text under the box is gone**: Redacted pages are rebuilt as images with the boxes burned in. There is nothing left to copy, search or uncover.
- **Checked before you download**: The finished file is read again, and if any redacted item can still be found, the download is blocked.
- **Every mention of a name**: "Dana M. Okafor", "Ms Okafor" and "Dana" are all found, not just the full name.
- **Signatures**: Signature blocks are found and blacked out with the rest.

## FAQ

### Is the text really removed, or just covered?

Removed. A black box drawn over text leaves the text in the file, where it can be copied or searched. Here every page with a redaction is turned into an image with the boxes burned into the pixels, so there is no text under them. Pages with nothing to redact keep their original content.

### 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.

### What does it find?

By default: names, postal addresses, SSNs and other ID numbers, account, card, routing and IBAN numbers, phone numbers, email addresses, dates of birth and signatures. You can add your own words and phrases, and every occurrence is redacted, or draw a box over anything else, such as a photo or a logo.

### Does it work on scanned PDFs and photos?

Yes. Reducto reads scans, phone photos and handwriting with OCR, so names and numbers on a scanned form are found and redacted like typed text.

### Can I still search the redacted pages?

Redacted pages become images, so their text is not selectable. Pages with no redactions keep their original text. If you need the rest of a redacted page searchable, run the output through the OCR tool.

### What metadata is removed?

The file is written fresh, not saved over the original: the author, title, subject, keywords, XMP metadata, attachments, form fields and earlier saved versions are all left out.

### 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/hr-new-employee-form-scanned.pdf

## Related

- [Anonymize a PDF with consistent labels](https://reducto.ai/tools/anonymize-pdf)
- [Redact a Word document](https://reducto.ai/tools/redact-word-document)
- [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)
