Skip to main content
Limina supports scanning PDF files for PII and creating de-identified or redacted copies. Limina’s supported entity types function across each file type, with localized variants of different PII (Personally Identifiable Information) entities, PHI (Protected Health Information) entities, and PCI (Payment Card Industry) entities being detected. Our Supported Languages and Supported Entity Types page provides a more detailed look.
If you’d like to try it yourself, please sign up for an account to get a free API key.

How PDFs Are Processed

PDFs are processed as follows:
  1. First, each page in the PDF is rendered as an image. The result is similar to a PDF created by a photocopier scan. This is done to ensure that all PII is properly captured - PDF is a complicated format.
  2. Each page in the PDF is processed as an image.
  3. A new PDF is created using the redacted/de-identified images produced in the previous step.
  4. If specified, an invisible, de-identified text layer is created using the OCR system output. This ensures that the resulting PDF is searchable and allows for text to be copy & pasted.
You can configure the OCR System by setting it as an Environment Variable or sending it in the request object. Check out our OCR Guide to further understand the OCR modes and their usage.

Constraints

  • Any attachments in a PDF file are removed.
  • If the PDF document to be de-identified already has an invisible text layer, it will be discarded and replaced with a new text-layer created through the use of OCR.

Parameters

Below are the parameters that control the behaviour of the PDF De-identifier. These parameters shall be specified under pdf_options.
PDF Approaches shows the differences between Standard and Enhanced PDF processing.

Support Matrix

Sample Request

Sample Response

Response