---
title: "Automated redaction of sensitive data in files"
description: "DataXray finds sensitive information in documents, PDFs, spreadsheets, images, emails and chat exports, then redacts or anonymizes it at scale."
url: "https://www.dataxray.io/redaction/"
language: "en-US"
---

Redaction

# Redact sensitive data at file scale

DataXray redaction finds personal, financial, health and other sensitive information inside documents, PDFs, spreadsheets, scanned images, emails and chat exports, then removes or replaces it automatically. It works on the same classifications DataXray already produces, so a file flagged as sensitive can be redacted, anonymized or pseudonymized in the same pipeline, without altering the original.

[Book a demo](https://www.dataxray.io/demo/)

As read

Onboarding form · D. Reyes

Employee: Daniel Reyes

Start date: Monday 6 October

SSN: 512-44-9087

Emergency contact: (415) 555-0142

Bank account: GB29 NWBK 6016 1331 9268 19

As released

Onboarding form · D. Reyes

Employee: PERSON

Start date: Monday 6 October

SSN: US_SSN

Emergency contact: PHONE

Bank account: IBAN

4 redactions · rule: HR-release-v3 · rasterized · hash 9f2a…c41e

_The same page as read and as released. Every bar records what was removed and which rule decided._

## Why redaction is a file problem

Sensitive information rarely sits in one field. It is spread through contracts, incident reports, spreadsheets, scanned forms, email threads and exported chats, across servers, shared drives and cloud storage owned by different departments. Redacting it by hand does not scale, and redacting it badly (a black rectangle drawn over text that is still in the file) creates the disclosure it was meant to prevent.

Most redaction tools work on one document at a time and rely on a person to find what needs removing. DataXray finds the sensitive content first, across the whole estate, and then redacts it in bulk.

## How it works

Redaction in DataXray is a three-stage process on the files themselves: uncover the files and read their contents including scanned images, examine them with the platform's layered classifiers, and redact, anonymize or pseudonymize the flagged content according to policy, with every change recorded.

1. **Uncover**

   DataXray discovers files across servers, shared drives and cloud sources and reads their contents, including scanned images via OCR.
2. **Examine**

   It classifies what it finds: PII, PHI, PCI, credentials, and categories you define yourself. Detection uses the same layered classifiers as the rest of the platform, with 98.7% classification accuracy (measured on document-level PII/PCI detection in text-based English files).
3. **Redact**

   It redacts, anonymizes or pseudonymizes the flagged content according to your rules and the reader's access privileges. The original file is left intact; the redacted output is written separately.

## What you can do with it

The redaction module covers the choices a privacy or disclosure team actually has to make: remove, anonymize or pseudonymize; rasterize when text must be provably gone; apply redaction by policy across an estate rather than by hand; and keep the evidence of what was changed and why.

- **Choose redaction, anonymization or pseudonymization**

  Remove values outright, replace them with a category marker, or substitute consistent tokens so a dataset stays analytically useful.
- **Rasterize when text must be provably gone**

  For disclosure and release, DataXray's AutoFOIA module renders each page to an image, applies redactions in pixel space, and embeds the result, so the original text is removed from the output bytes rather than hidden under a shape.
- **Redact by policy, not by hand**

  Rules decide what is redacted for whom. Reviewers confirm rather than search.
- **Build case files for DSARs**

  Gather everything held on a data subject into a case file, redact third-party information automatically, and export a report for the response.
- **Prepare data for research, analytics and AI**

  Produce anonymized copies of datasets that can be shared with researchers, used for AI training or fed into analytics without exposing the people in them.
- **Support M&A and migration**

  Create desensitized copies for data-room review or carve-outs, so sensitive data does not travel with the deal.
- **Adapt to regulatory change**

  When definitions of sensitive terms change, DataXray re-crawls and re-classifies, and affected files can be re-redacted rather than left at their old state.

## In production

The UK Health and Safety Executive uses DataXray to redact personal and sensitive data from health and safety datasets to a high degree of accuracy, so anonymized versions can be shared with third-party researchers in support of its mission to prevent death, injury and ill health at work.

Wood Group used DataXray to desensitize around 800,000 safety records in one day, so safety data could be analyzed across the business while protecting the privacy of the people in it.

## Where it fits

Redaction is one of the actions DataXray takes on a classified file, alongside sensitivity labels, encryption hand-off and access decisions. It runs where your data is: on-premises, in the cloud, or in air-gapped environments, with no data leaving your boundary. See the [Platform](https://www.dataxray.io/platform/) overview.

## Frequently asked questions

### What file types can DataXray redact?

Documents, PDFs, spreadsheets, presentations, emails, chat exports and scanned images. Text is extracted from more than 1,000 file types, with OCR for images, so what can be read can be redacted.

### Does redaction change the original file?

No. DataXray reads sources read-only and writes redacted output separately, so the original is preserved and the redacted copy can be released or shared.

### Is redacted text really removed?

For standard redaction the flagged text is removed or replaced in the output. For disclosure work where this must be provable, the AutoFOIA module rasterizes each page and applies redactions in pixel space, so the original glyphs are not present in the output bytes.

### Can it redact in languages other than English?

DataXray's language models are optimized for sensitive-data detection across a range of languages and read files in over 100 languages. The published 98.7% accuracy figure is measured on text-based English files; ask us about your languages during a demo.

## See what is actually in your files. Forty minutes, your sample data.

[Book a demo](https://www.dataxray.io/demo/)

[Read the docs](https://docs.ohalo.co/)
