PDF redaction checker Free, no sign-up
Before you publish or hand over a redacted PDF, check whether anything readable survives under the blackouts — a shape laid on top, text turned white, concealment by an annotation.
The file never leaves this device
Reading and checking happen entirely inside your browser. There is no code on this page that sends a file anywhere. The library, character maps and fonts are served from abyo.net rather than from an external network.
To verify: leave this page open, disconnect, then add your PDF. It still works.
Drop PDFs here
or
Several files at once is fine
What this tool does not check
- It does not read the text inside images.
- For a PDF that was printed and scanned again, it cannot examine what is in the image.
- It does not judge whether everything that should have been blacked out was. It checks whether what WAS blacked out is really gone.
- It does not look at the shapes a font holds for its letters. Text in a font whose letter shapes were emptied so that they draw nothing is treated as shown.
- A letter's width is taken from what its font declares. Where a font declares a letter narrower than its shape, the part that spills past a blackout may show while the declared width is covered, and that is not reported.
- Text written anywhere other than the places listed under A9 (private data an application wrote for itself, an embedded drawing's original file name, and the like) is not listed.
- An image left in the file that no page uses is not reported.
- The entries of an image written inside a content stream (an inline image) are not checked for names the standard does not define.
- The entries of a marked-content property list written inside a content stream (the dictionary before BDC) are not checked for names the standard does not define (one named in the resources' /Properties is).
- A comment between an inline image's data and its EI is read only where the data's end can be told from its form (JPEG, ASCII85, ASCIIHex, or an image whose length is known). For an inline image of unknown length under Flate or another compression, a comment there is not listed.
- A comment on the line right after the header (%PDF-) is taken for the binary marker: its characters outside ASCII (Japanese, say) are not listed; its ASCII words are.
- Signature data and validation data (/DSS) are passed over altogether while any signature is in use: a certificate or the like that belongs to no signature in use is not listed then.
What is checked, and how it is judged
How this tool judges is published. The table and thresholds below are the substance; the rules in full, and the test documents, are in the public repository. A document redacted properly comes back clean whatever produced it.
The rules and the test documents are published. Tests confirm that a document redacted properly comes back clean whatever produced it, including real files redacted with abyo PDF Editor.
The criteria and the test documents (GitHub, CC0)
| ID | What is checked | Verdict |
|---|---|---|
| A1 | Extractable text left under an opaque shape or image | Problem (needs a look when the cover is not dark, not fully opaque, or its shape cannot be judged) |
| A2 | A bar covering only part of the text, leaving the rest visible | Problem |
| A3 | A /Redact annotation that was never applied, or text concealed by a dark annotation — a black square or a black highlight. An ordinary coloured highlighter hides nothing and is not reported | Problem (needs a look if the cover is not dark) |
| A4 | Text the same colour as its background (white text), text outside the page or the clip, or text too small to read (text in a mode that fills or outlines its letters, or letters used as a clip that later paint shows through, the thickness of the font's em square as drawn on the page, its area over its longer side, under 1pt; letters condensed or squeezed to no width included), or text drawn in outline only at a line width of 0 or less (whether it shows depends on the viewer) | Same as background: problem. Outside: problem near a blackout, otherwise needs a look. Too small, or outlined at width 0 or less: needs a look |
| A5 | Invisible text (render mode 3, render mode 7 with nothing painted through it, or fully transparent text) under a blackout — commonly the OCR layer of a scan | Problem |
| A6 | A shape or another image laid over an image while the image data underneath is unchanged | Problem (needs a look when the cover is not dark, its shape cannot be judged, or the pixels cannot be read) |
| A7 | An earlier revision left in the file by an incremental save holds text (not text inside images or text an XFA form displays; for form fields the viewer lays out itself, that is fields with no appearance of their own and fields in a revision that asks the viewer to redraw their appearances, whether the text was on display is not compared) that the current version no longer has (text an earlier page showed counts when the current version's pages no longer show it, even if the same text is still held elsewhere, in the document information or an annotation, say), or that it drew and the current version keeps only in a form that draws nothing (text drawn but not seen, such as white on white, is A4's). Invisible text layers, hidden-layer text and the text of annotations (comments: body, rich-text body and author), the values, default values, rich-text values and options of text and choice fields (not the states of check boxes and radio buttons), and the document information (title, author, subject, keywords, and custom entries' names and values; not dates, nor the producing software unless its value is a file path) count when they were removed (for annotations, whether the text was on display is not compared, only whether it is still there). A hyphen directly between letters or digits, with no space either side, is ignored on both sides (so `0001-0002` and `00010002` count as the same) | Problem (needs a look when an earlier revision cannot be opened or read in full, or cannot be compared in full) |
| A8 | Text left in /ActualText, /Alt or /E anywhere in the file (the tag tree or marked content; those in an object no other object refers to are listed under A9) that is not among the text the page yields (text drawn invisibly counts as yielded; /ActualText and /Alt are a problem only when their own page has a blackout candidate (any page, where their page cannot be told), and are listed under A9 otherwise, a figure's description never being on the page; /E is an abbreviation's expansion: one that reads as the expansion of a word the page shows, such as Doctor for Dr. or World Health Organization for WHO, is listed under A9 instead) | Problem |
| A9 | Document info and XMP, bookmark titles, attachments, values typed into form fields, XFA form data, annotation text and tooltips, a signature's signer name, reason and location, link targets that carry personal data (a mailto:, say), the file names and paths of actions that open another file, hidden layers, embedded thumbnails, JavaScript, text left in content streams nothing draws (less the words a page shows; forms, and the patterns named in resources (a page's, a form's, a Type 3 font's and the like), are not read for the text they show: of a form nothing places and a pattern nothing paints, only the words no reader runs are read, and a placed form or painted pattern is read for its comments alone), comments in content streams (pages, forms, appearances, patterns and Type 3 glyphs included: no viewer shows them, but anyone who expands the stream can read them), values a dictionary holds under a key it repeats, all but the last (every viewer uses the last), readable text outside the objects' values (comments inside objects, words after a value, and text between objects, before the header or after the last %%EOF; runs of four or more characters holding a letter, a digit or three symbols in a row; the header, the binary marker, %%EOF, the cross-reference table, the trailer and startxref aside: no viewer shows it, but anyone who reads the file's bytes can), readable words in identifier and name fields (an annotation's /NM, a form field's name, a name tree's keys, named destinations and the file's /ID; automatic numbers, GUIDs, hex and the like aside), a name the standard does not define in an entry whose names the standard fixes, key names found in none of the standard's tables (in dictionaries whose keys the standard sets, such as the catalog, pages, annotations, images and forms, and in dictionaries held under a key the standard does not define; the names in the catalog's /Dests too; identifier-shaped ones aside), the names of certificates and the like in signature data and validation data (/DSS) that no signature in use serves, replacement, alternate or expansion text left in an object nothing refers to, and camera details and comments embedded in pictures' own data (Exif, XMP and the like; counted only) | Needs a look (listed with what could be read) |
| A10 | No extractable text, with images covering at least 80% of the page — a scan | Needs a look |
| A11 | A password is needed to open it, so nothing inside can be examined. An encrypted file that does open is checked normally | Needs a look |
The thresholds used
- Blackout darkness
- L ≤ 0.25
- Opacity
- ca ≥ 0.95
- Size
- 3pt / 6pt
- Rectangularity
- ≥ 0.9
- Dark pixel share
- ≥ 0.95
- Text covered
- ≥ 0.85
- Partly covered
- ≥ 0.15
- Contrast with background
- < 0.15
- Text too small to read
- < 1pt
Rules version: 1.7
Redacting properly
Whatever tool you use, doing these four things means nothing readable survives a blackout (A1-A8). A scan with no extractable text, or a file that still carries document info or attachments, comes back as needing a look even when nothing was left behind.
- Delete the text from the document instead of covering it
- Rewrite image pixels instead of laying a shape over them
- Remove the OCR text layer and the tag tree's alternate text too
- Strip document info, attachments and hidden layers, and do not save incrementally
Who makes this tool
Published by abyo software LLC, who build abyo PDF Editor, a PDF editor for Windows that does all four of the above. Pay once, fully offline.
Terms
Decisions about publishing or releasing a document remain the user's responsibility. We do not warrant that the result is complete.
Browsers: current Microsoft Edge and Google Chrome. Firefox and Safari also work.