TrulyFreePDF

How to redact a PDF safely: remove or flatten hidden content

A black rectangle alone only hides content visually. TrulyFreePDF uses native removal only when its PDF safety checks can verify the supported text edit; otherwise export stays blocked unless you explicitly choose a destructive image-only rebuild. That rebuild copies rendered page pixels, not the original PDF objects, so searchable text, links, forms, tags, layers, bookmarks, attachments, and source metadata are lost. Text extraction is one useful check, not proof that every sensitive mark or copy was found.

Redaction is a security operation, not a drawing tool. The right method depends on whether the sensitive content is supported text, image pixels, or hidden document structure. This guide explains the two available export paths, the losses they cause, and the limits of common verification checks.

The black-box mistake

The most common way people “redact” is to draw a filled black rectangle over the sensitive text, or to highlight it in black. Visually the text disappears. But in the PDF, the original characters are still there in the content stream, sitting underneath the box. Anyone can select that region and copy the text, run a search, or extract the page’s text with a free tool - and the “redacted” words come right out.

The same is true of a black highlight, a white box over text, or flattening the page to an image at the very end without removing the text first: unless the text itself is deleted, it is recoverable.

How to check if a redaction actually worked

  1. Open the downloaded copy in a fresh tab or viewer and inspect every page at normal and high zoom. Confirm every mark fully covers the sensitive area and no duplicate appears elsewhere.
  2. Try selecting and copying the covered text, then run a text extractor and search for the sensitive words. If they appear, the text is still present.
  3. For text baked into scans or images, use OCR or visual inspection too. Text extraction does not inspect pixels, and a clean search does not prove that no other hidden copy exists.
  4. For highly sensitive or regulated material, have the output reviewed with a dedicated redaction workflow. No single copy/paste or text-extraction check certifies a document safe to publish.

Use a text extractor to test a file:

Two redaction paths, with different tradeoffs

When the PDF passes native safety checks, the editor removes supported source text under the selected region and paints an opaque mark. This preserves more of the document, but it does not redact text baked into image pixels, and unsupported structures are refused rather than guessed.

  1. Open the PDF and read the safety preflight before editing.
  2. If native redaction is available, select every sensitive item completely, then download and run the checks above.
  3. If native redaction is unavailable, export remains blocked by default. The separate flattened option rebuilds every page as an image after painting the selected areas; it does not copy the source PDF objects into the result.
  4. Use flattened redaction only if losing selectable/searchable text, forms, links, tags, layers, bookmarks, attachments, and original metadata is acceptable. Reopen and inspect the downloaded copy before sharing.

Both paths run on your device. They are not interchangeable: native redaction is limited to content the preflight can safely rewrite; flattened redaction trades document structure and searchability for a new image-only file. Neither can decide whether you selected every sensitive item.

Images, hidden copies, and limits

Native text removal cannot erase words baked into a scan or photograph; those are pixels. Flattened mode paints selected areas into the rendered page and leaves no searchable text layer, but a missed region remains visible and may still be readable by OCR. The rebuild drops original metadata and embedded objects, but it cannot detect every sensitive item for you. Review the whole output and do not treat an empty text search as a security certification.

Redact a PDF now

Redact in your browser, then verify:

Frequently asked questions

Why can I still copy text from a redacted PDF?
A visual cover can leave the original characters underneath. With native redaction, supported source text is removed; with flattened redaction, the original PDF objects and searchable text layer are not copied. If text extraction finds the sensitive words, do not share that file.
Does a clean text-extraction check prove a PDF is safe?
No. It checks the searchable text layer, not text inside images, missed visible regions, or every possible hidden copy. Inspect every page and use OCR when image text is involved; high-stakes files need a dedicated review.
What does flattened redaction remove?
It rebuilds every page from rendered pixels and does not carry forward the original objects. Searchable text, forms, links, tags, layers, bookmarks, attachments, and original metadata are lost. The new file must still be reviewed for missed sensitive areas.
Can the editor redact text inside a scan?
Native text removal cannot remove text that exists only as image pixels. The explicit flattened path paints the selected region into the page image, but you must locate and cover the complete area yourself.
Can I redact a PDF without uploading it?
Yes - a browser-based editor redacts on your device, so a sensitive document is never sent to a server. That is exactly the kind of file you do not want to upload.