Skip to content

Pdf Extract API

Network tool
POST https://api.findutils.com/api/tools/pdf-extract/execute

PDF Text Extractor. Extract text and structured JSON (with bounding boxes) from a PDF. Accepts either a public https:// URL pointing to a PDF, or a base64-encoded PDF string. Base64 always works; some sites refuse requests that come from a server (HTTP 403), so send those files as base64. The PDF is parsed with WebAssembly and its bytes are not logged. Best for documents under 10MB.

Needs an API key. Running a tool needs an API key. Keys are not for sale yet: ask for early access. About API keys

Request body

application/json
  • pdf

    string required

    PDF as a base64-encoded string (with or without data: prefix) OR a public https:// URL pointing to a PDF. A site that refuses server requests answers 403; send base64 for those.

  • output

    string optional

    What to return: layout-preserved text, structured JSON, or both. One of text · json · all.

  • maxPages

    integer optional

    Hard cap on pages parsed. Helps bound CPU time on huge documents.

Example arguments

Verified
{
  "pdf": "https://findutils.com/docs/sample.pdf",
  "output": "text",
  "maxPages": 1
}