
What decides OCR quality on a scanned PDF
OCR accuracy is set by the image, not the engine: resolution, binarisation, skew, compression artefacts, language data and layout. Plus how to judge the output.

Redaction is a data removal problem wearing the costume of a graphics problem. Drawing a box leaves the text exactly where it was in the content stream, and copy and paste exposes it instantly.
Nearly every redaction failure comes from one misunderstanding: hiding something in a PDF does not take it out of the file. A page's content stream is an ordered list of drawing operations. The text is painted, then a filled black rectangle is painted on top of it. On screen the second operation hides the first. In the file the first operation is still sitting there, byte for byte. Anyone who selects the region and copies it, runs a text extractor over the document or simply searches it will read what you thought you had removed.
The same applies to highlights and shapes added as annotations. An annotation is a separate object layered over the page; the page content is untouched, and a reader that hides or deletes annotations will happily display the sensitive text underneath. Adding a visual layer is markup, not redaction.
Even when the visible text is genuinely gone, the identical information often lives elsewhere in the file. Check the whole list before you call a document clean.
The nastiest one is the incremental update. A PDF can be saved by appending new objects and a new cross-reference section to the end of the file. Earlier versions of those objects physically remain; they are simply no longer referenced. An editor that deletes a page and saves incrementally leaves the deleted page in the file, recoverable by anyone willing to read the raw structure.
Redaction that holds up has three parts, and skipping any one of them leaves the document exposed.
Order matters too. Remove the text, then repaint the area. Check what the mark actually covers: if one letter of a name falls outside the rectangle it will not be deleted, and guessing a surname from its last two letters plus a known context is rarely hard. The PDF redaction tool works from regions you mark on the page.
Redaction is not something to assume worked. Test the file you produced, never the one you started from.
Add one visual check as well: render the page to an image and zoom in on the edges of each black area. Ascenders or descenders peeking out mean the rectangle was drawn too tight.
A contract exported from Word. The text is vector, so it can be removed cleanly. The risk is in the side channels: title, last author and tracked-change residue that travelled from the source document into the PDF. Emptying document info matters as much as editing the page.
A scanned filing. There are no glyphs to remove; the black box is drawn over an image and the pixels underneath survive untouched. Here the image itself has to be regenerated. If a searchable text layer was added by OCR, that is a second copy of the same words and it needs removing too.
A report from an internal system. Reporting engines produce form fields, thumbnails and layers. The visible table can be spotless while the same figures sit in a field value. This is exactly why checking only the visible text is not enough.
Re-rendering each page as pixels removes the text layer entirely. If the black area is part of the image, there is nothing under it, because there is no longer anything but pixels. The method is decisive and it costs you something:
The sequence is simple: apply the redaction, convert the pages to images, build a new PDF from those images, and then run the four verification steps on the result.
Blurring or mosaicking a region reduces information rather than destroying it. When the typeface, size and plausible set of values are known, what remains is often enough to narrow the answer down: a date field has a small number of possibilities, and so does a fixed-length account number. Light blurs can be partially undone by inverting the operation. If information has to go, it has to actually go; making it harder to read is not a redaction method.
Look at the filename, which often carries a name or a case number. Check what the document title shows in the reader tab, whether the attachments list is empty, and whether bookmarks still name the sections you removed. For scanned material, remember the invisible OCR layer discussed in the piece on OCR quality, and for tabular exports remember that a spreadsheet pulled out of a PDF carries the same content into a new file, which is the subject of the table extraction article.
Images have their own version of this problem, and it usually lives in EXIF: location, device and capture time travel with the photo. The EXIF remover strips those fields. Passwords are a different control again: PDF password protection limits who can open the file but removes nothing, so anyone with the password sees the unredacted content.
One practical caveat: the PDF tools on this site upload your file to a server for processing. For material under a confidentiality obligation, prefer a local tool that never transmits the document, and verify the result on your own machine whichever tool produced it.
No. The box is a drawing operation appended after the text in the same content stream, so the text operations remain in the file. Copy and paste, text extraction and search all find them. Real redaction deletes the glyph runs and rewrites the page.
Extract text from the output and search it for the redacted string, grep the raw bytes as well, list the document info and XMP properties, and see whether the file size and object count changed at all. If all four look right, the job is done.
For redaction purposes, yes: nothing but pixels survives. The cost is a larger file, the loss of search and screen reader support, and quality frozen at the resolution you rendered. You still need to clear the metadata of the new file.
It reduces information rather than destroying it. With a known typeface and a constrained set of possible values, the remaining signal often narrows the answer considerably, and weak blurs can be partially reversed. Anything that must be secret should be deleted outright.
No. A password controls who can open the document; it removes nothing. Everyone who has the password sees the unredacted content. Password protection is something you add on top of a properly redacted file, not a substitute for one.

OCR accuracy is set by the image, not the engine: resolution, binarisation, skew, compression artefacts, language data and layout. Plus how to judge the output.

A PDF has no cells, only positioned glyphs. How extractors infer columns from ruling lines and x coordinates, where that fails, and how to verify the result.

The location, timestamps, serial numbers and embedded thumbnail inside a photo, what platforms really strip, and how to verify a file is actually clean.