Skip to content

Open Redact PDF

Open Redact PDF is a browser-first PDF redaction engine implemented in Rust and exposed to browsers through WebAssembly. The project operates on PDF structure instead of flattening pages into images, removes targeted content for a constrained but real subset of PDFs, and preserves unredacted text where the supported subset allows it.

Start here

Reference

Design and security

Guides

Engine Internals

Deep technical documentation covering PDF spec concepts, implementation decisions, tradeoffs, and code-level explanations. Start with the reading order guide.

Current MVP scope

  • Unencrypted PDFs with classic xref tables
  • Unfiltered or FlateDecode streams
  • Deterministic full-document rewrites
  • Common page content streams without Form XObjects on targeted pages
  • Type1, TrueType, and Type0 / Identity-H text when extraction can map glyphs safely
  • Rectangle, quad, and quad-group redaction targets in canonical page space
  • Three redaction modes: strip, redact (default), and erase
  • Conservative image redaction at invocation level

Fail-explicit design

Unsupported features return an explicit error instead of being silently ignored or producing incorrect output.