---
title: "Redact with a Highlight Set: free, no upload | Docsi"
description: "Redact personal data from a PDF in one pass: Aadhaar, PAN, phone, email, card and bank numbers are found by pattern and deleted from the file, not covered."
url: https://docsi.si/tools/redact-with-a-highlight-set/
updated: 2026-11-19
---

[Docsi](https://docsi.si/) / [Tools](https://docsi.si/tools/) / [Security and signatures](https://docsi.si/tools/#secure)

# Redact with a Highlight Set

Run a Highlight Set (e.g. Personal Data) over a PDF and permanently remove everything it finds, category by category.

Security

Up to 2 GB a file.

**Runs on**: Your device

**Files uploaded**: None

**Price**: Free

**Account**: Not needed

**Works offline**: Yes

**Updated**: 19 November 2026

Typing every name and number you want gone is slow, and it is easy to miss one. Here you pick a Highlight Set and every match in it is removed in one run. The default set, Personal Data (India), looks for government IDs (Aadhaar, PAN, passport, driving licence, voter ID), contact details (phone, email, PIN code) and financial details (card numbers, IFSC codes, account numbers, UPI IDs). Matches are cut out of the page the same way Redact PDF does it, and the result counts what was found in each category.

## How to redact with a Highlight Set

1. **Add your PDF above** Drop it on the box or choose it from your device. It is opened locally and is not uploaded.
2. **Set the options** Adjust categories, clear structure, drop annotations and more, or keep the defaults.
3. **Download the result** It appears on this page when the work is done. Nothing to install, no account, no watermark.

## When to use redact with a Highlight Set

**Passing KYC copies to a third party**: A broker, a landlord or an agent wants proof that a document exists, not the numbers on it. Remove the ID numbers, phone and email in one run and send the copy with the names and dates still readable.

**Sharing statements with an adviser**: A chartered accountant or a loan agent may need the shape of your finances but not your card, account and UPI details. Limit the run to the Financial category and the rest of the statement stays as it was.

**Making sample files for testing or training**: Real documents make realistic test data for a new system or a training session, as long as nobody's details are in them. Run the set over a folder of samples, one file at a time, before they leave your hands.

**Using another bundled set**: The same tool runs the other sets that come with Docsi, such as HR Documents, Invoice Review or Contract Review. You could remove only the Compensation category from an offer letter, for example.

## Tips for a better result

**Expect some over-matching**: The patterns match shapes, not real records. The PIN code pattern takes any six-digit number that does not start with 0, so it can also catch amounts and order numbers. Leave a category out, or check the boxes in the result before you send it.

**Choose only the categories you need**: By default every category in the set is redacted. Name just the ones you want, such as Government IDs, to keep contact details or bank details visible when the reader needs them.

**Label boxes by category**: Put {category} in the stamp's label and each box prints the category that matched, such as Contact or Financial. A reader can then tell what was removed without seeing it.

**Scans need OCR first, then one more step**: The set reads the text layer, so a scan with no text finds nothing. Run Make a scanned PDF searchable first. A box then covers the number in the picture without erasing it, so rasterize the page with Replace a PDF page with an image afterwards.

## Options

**Categories**: Only redact these categories of the set (default: all of them).

**Clear structuredefault true**: Optional.

**Drop annotationsdefault true**: Optional.

**Paddingdefault 1**: Points of slack around each box (default 1).

**Pagesdefault all**: Pages to search, `"1,3-5,last"` (default all).

**Set**: … or a full set definition (user-created / imported).

**Set id**: Bundled set id (e.g. `pii-india`) ….

**Stamp**: The box to paint. `{category}` in its text prints the set category that matched.

## What it costs and what it takes

Nothing. No account, no watermark, no trial and no daily limit.

- **Files up to 2 GB** As big as a browser tab can open. On a phone, past about 200 MB it may run out of memory; a computer copes better.
- **Up to 2,000 files at a time** They are worked through one after another, on your device.
- **Up to 20,000 pages a document** Long documents take longer, and nothing is uploaded while they do.

## Why it runs on your device

Contracts, payslips, IDs and invoices should not sit on somebody else's server. Docsi's engine is compiled to WebAssembly and runs inside your browser tab, so the file stays where it is, there is no upload wait, and the tool keeps working offline.

In the app you can also type what you want: “redact personal data”, “remove pii”, “black out personal information”, “anonymise this document”, “scrub pii”.

## Questions

### What personal data does it find?

The default set looks for Aadhaar, PAN, passport, driving licence and voter ID numbers; Indian phone numbers, email addresses and PIN codes; and card numbers, IFSC codes, account numbers written after “A/c” or “Account”, and UPI IDs on common handles. Other sets look for different things.

### Does it check that an Aadhaar or card number is genuine?

No. Each pattern matches the shape of the number, such as twelve digits for Aadhaar or ten letters and digits in the PAN layout. It does not run check-digit tests, so a number of the right shape is removed whether or not it is real.

### Is the data actually removed or only hidden?

Text is removed. Each matched character is deleted from the page's content and a box is painted over the place it was. Annotations over a box and the tagged structure tree are dropped by default too. Pixels in images are covered, not erased.

### Can I use my own Highlight Set?

Yes. Besides the bundled sets, the tool accepts a full set definition, so a set you built or imported in the app can be run the same way, category by category.

### Are my files uploaded?

No. Redact with a Highlight Set runs inside your browser using WebAssembly, so the file never leaves your device. You can turn off your internet connection after the page loads and it still works.

### Is it free?

Yes, with no watermark, no account and no limit on how often you use it.

### Does it work on a phone or tablet?

Yes, in any modern browser. Very large files are limited by the memory of the device, so a laptop handles them better than a phone.

## Related tools

[Redact PDF Black out text for good.](https://docsi.si/tools/redact-pdf/)[Fingerprint PDF Compute file and content fingerprints to prove two copies are the same document, or find which pages differ.](https://docsi.si/tools/pdf-fingerprint/)[Protect PDF Add a password.](https://docsi.si/tools/protect-pdf/)[Unlock PDF Remove a password you know.](https://docsi.si/tools/unlock-pdf/)[PDF permissions Show whether a PDF is encrypted and which permissions it grants.](https://docsi.si/tools/pdf-permissions/)[Remove metadata Remove document information.](https://docsi.si/tools/remove-pdf-metadata/)[Remove hidden data Strip what a PDF carries besides its pages.](https://docsi.si/tools/sanitize-pdf/)[Privacy risk scanner Check what a PDF reveals before you share it, or before you trust one you were sent.](https://docsi.si/tools/pdf-privacy-scanner/)

## Redact with a Highlight Set, and 153 more tools.

[See all tools](https://docsi.si/tools/)[Open the app](https://docsi.si/app/)
