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:- First, the PDF pages are scanned for text as well as Object Entities using OCR.
- The detected objects are replaced with white boxes, and in-place replacements are done for the text.
- PDF Metadata as well as any included attachments are removed from the PDF.
- 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 underpdf_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.
Support Matrix
Sample Request
Connect with one of our privacy experts to run this code.
Sample Response
Response