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 (Enhanced)

PDFs are processed as follows:
  1. First, the PDF pages are scanned for text as well as Object Entities using OCR.
  2. The detected objects are replaced with white boxes, and in-place replacements are done for the text.
  3. PDF Metadata as well as any included attachments are removed from the PDF.
  4. A new PDF is returned with the in-place replacements and without any attachments.

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.

About the element_types_to_process parameter:

  • Not set (default): all elements are de-identified.
  • To preserve hyperlinks, leave it out. Hyperlinks, including both the visible link text and the underlying URL, are kept exactly as they appear in the original PDF.
Preserved hyperlinks are not checked for PII. Preserving hyperlinks keeps every hyperlink unchanged, including any PII it contains (for example, names or emails in a URL).

Support Matrix

Sample Request

Sample Response

Response