HTML to PDF icon

HTML to PDF

Convert HTML to PDF, Parse PDF, Extract Data, and Manage PDF Security

Actions11

PDF Extraction & Parsing → Parse PDF with OCR

AI-generated

Summary

Extracts text from scanned PDF pages using OCR through the PDFMunk API. Choose a public PDF URL or provide the name of an incoming binary property containing the PDF, then select pages and configure Tesseract language and OCR settings if needed.

Inputs

  • Input Type (required) — Choose URL (default) to provide a public PDF URL, or File to read a PDF from an incoming item's binary data.
  • PDF URL (required) — Public URL of the PDF; used when Input Type is URL.
  • File Binary Property (required) — Name of the incoming binary property containing the PDF; used when Input Type is File (default: data).
  • Language — Tesseract language code or codes, such as eng or eng+hin (default: eng).
  • Pages — Pages to OCR: all, a range such as 1-3, or a list such as 1,3,5-7 (default: all).
  • DPI — Rasterization resolution before OCR, in DPI (default: 200; described range: 72-400).
  • PSM — Tesseract page segmentation mode (default: 3; described range: 0-13).
  • OEM — Tesseract OCR engine mode (default: 3; described range: 0-3).

Output shape

One JSON item per input item, containing the API response body.

The response body is returned as JSON without a fixed schema specified here. For HTTP status codes of 400 or higher, the body is returned with a statusCode field. Errors thrown during processing stop the operation unless Continue On Fail is enabled, in which case an error field is returned for that input item.

Links

Discussion