# Remove personal data (United Kingdom)

> Replaces every personal detail in a document with placeholders, so you can share it or use it with AI.

Human page: https://unmakelabs.com/en-gb/redact-personal-data/. This is the version for AI agents: the same facts, plus how to call the tool.

## What it does

You upload a document or paste text. Every name, address, birth date, e-mail, phone number, bank or ID number in it is replaced by a numbered placeholder such as [Person 1]. Amounts, dates and case numbers stay. You get the same kind of file back, a list of every change and a private key that puts the originals back.

### Why it matters

Black boxes drawn in a PDF often leave the text underneath, and doing it by hand misses the third spelling of a name. Pasting a contract into an AI chat sends every client's details with it.

## Value

Replaces every personal detail in a PDF (text or scan), text, CSV or e-mail with numbered placeholders that stay the same for the same person, and returns the redacted file, a restore key and a redaction list; PDF text under each box is removed and every layer re-read as proof. Plain text (an e-mail, a message) can be sent as a UTF-8 .txt file in the same multipart 'file' field; the web page builds that file from pasted text. The upload is deleted as soon as the result is delivered.

## When it fits

- A document with personal data must be shared, filed, sent to the other side or pasted into an AI tool without the personal data, and the business content (amounts, dates, case numbers) must stay readable.

### When not

- Images other than PDF scans, Word, Excel or PowerPoint files (coming), documents over 30 pages.
- Identification from context alone (a unique job title, a described house): read the result before sharing.
- Not a substitute for a lawyer, auditor or certifying engineer where a signature is legally required; results say what was and was not checked.

## Why use it instead of the alternatives

- Faster and cheaper than rebuilding: each tool bundles sourced reference data, official validators, measuring code and a test set built from real documents. Recreating one is weeks of work plus upkeep when rules change.
- Consistent: the same file and tool version give the same program checks every time; the tool version is in every result.
- Checkable: every finding carries its source and whether a program verified it, so the answer can be shown to a person as is.
- Agent-friendly: one HTTP call (MCP coming), no account, structured JSON with a plain summary, limits, links and next actions.
- Free PDF tools (PDF24, Smallpdf, iLovePDF) draw black boxes you place by hand and give no proof that the text under them is gone.
- Reversible pseudonymisation tools exist for developers (Presidio, Google SDP) or as subscriptions with an account (anymize from EUR 20 a month).
- A general AI chat finds names in clean text well but returns text, not your file, and keeps nothing consistent across files.

### What rebuilding it would take

- Find every form of every name, address, ID and number by hand.
- Remove the text under each box, not just cover it, and strip metadata, comments and form fields.
- Keep one placeholder per person across the file and keep a private list to put the originals back.
- A real test set built from actual documents, scored honestly, and upkeep whenever the rules or reference data change.

## Quality

Removes about 99% of personal details in our tests; check the highlighted result before you share it.

## Risk for the user

- No cost to try during the beta: 5 full results per IP per day without a key.
- The upload is deleted as soon as the result is delivered; the result is deleted after 24 hours or at once with one call. Nothing is kept to improve the tool.
- No sign-up, no card, no ads.

_Launch status: the free browser tools and the inspect, share, notify, contact and feedback endpoints are live. The document checks marked free beta take files on their pages and over the job API; the others are launching soon, and each of their pages offers one email when the tool opens. The MCP endpoint is coming._

## Privacy

- The upload is deleted as soon as the result is delivered (automatically within about 2 days if the result is never opened); the redacted file, key and list are deleted after 24 hours or at once with DELETE /v1/jobs/{id}. Nothing is kept to improve the tool.
- Stored encrypted in the EU (AWS Frankfurt, eu-central-1); each job runs in its own isolated container; download links expire after minutes.
- The text is read by Anthropic and, for a second reading, through OpenRouter by OpenAI; nobody else receives it. Never sold.

## Inputs and outputs

Inputs:

- The document (PDF, scan as PDF, TXT, CSV or EML) or pasted text
- Optional: names to keep, such as your own firm or the court

Outputs:

- How many details were found, by kind
- The redacted file, a restore key and the redaction list

## How a person uses it

1. **Upload the document.** PDF, scan, text, CSV or e-mail, or paste the text. Add names to keep if you like.
2. **Two AI models read it.** From different providers; anything either finds is replaced.
3. **Programs check and re-read.** Check digits, one placeholder per person, and the finished file searched for every original.
4. **You get the file back.** The redacted file, the list of changes and a private key to restore.

## Call it (free beta)

Status: free beta, callable now (API tool `doc_pii_redact`). Removes about 99% of personal details in our tests; check the highlighted result before you share it. The web page still offers a notify form until its upload form opens. GET https://y64b3d8qbc.execute-api.eu-central-1.amazonaws.com/v1/tools lists every tool with its status.

```bash
# Free beta: callable now
curl -s "https://y64b3d8qbc.execute-api.eu-central-1.amazonaws.com/v1/doc_pii_redact/jobs?wait=25" \
  -F "file=@document.pdf"
```

- JSON input instead of multipart: `{"file_url": "https://..."}` or `{"file_base64": "...", "filename": "x.pdf"}`.
- `?wait=25` returns the result if ready; otherwise `GET https://y64b3d8qbc.execute-api.eu-central-1.amazonaws.com/v1/jobs/{job_id}` returns the status.
- MCP: https://unmakelabs.com/mcp.

## What comes back

`result.json`: `free` (headline and counts), `full` (rows: `item`, `value`, `status` ok|warn|todo, `source`, `fix`), `checked` and `not_checked` lists. Status `verified` means a program confirmed it; `read` means a model read it.

### Checked

- Names in every written form, addresses, birth dates, e-mails, phones, bank and ID numbers
- Check digits for bank account (IBAN) and ID numbers
- Same person, same placeholder everywhere in the file
- The redacted file re-read for every original and pattern
- PDF: hidden file details, comments, form fields and attachments removed

### Not checked

- Who someone is from context alone (a unique job title, a described house)
- Pictures, signatures, stamps and handwriting
- Word, Excel and PowerPoint files (coming)
- Public figures and court case numbers are replaced unless you list them under keep

## Price and free calls

- Price: £2.50 per file. First 3 files free. Restoring is always free.
- Free: 5 full results per IP per day without a key (resets at 00:00 UTC); POST /v1/keys gives an instant key with 25 more full results (one-time, not renewed); each accepted correction adds 1 free call (up to 20 a month).
- Over quota: HTTP 402 with a checkout link and how to get a free key. Rate limited: HTTP 429 with `Retry-After`.

## Feedback

```bash
curl -s "https://y64b3d8qbc.execute-api.eu-central-1.amazonaws.com/v1/jobs/JOB_ID/feedback" -H "Content-Type: application/json" \
  -d '{"rows":[{"item":"<row item>","verdict":"wrong","correct_value":"<value>"}],"note":"optional"}'
```

Each accepted correction earns one free call. Rows are marked `right` or `wrong`, with `correct_value` when wrong.

## Agent FAQ

- **Is an account needed?** No. Keys only raise limits.
- **Is the result deterministic?** Program checks are; model readings are marked `read`. Same file, same version, same answer is the goal; the tool version is in every result.
- **Can several files be sent?** One document per job; batches run as parallel jobs (a key is needed above the per-IP limit).
- **What if the result is wrong?** Feedback with the correct value; paid results with a confirmed mistake are refunded to the user.
- **Where is the spec?** https://unmakelabs.com/api/openapi.json and https://unmakelabs.com/llms.txt
