Extract PDF text
pdf_text_extractFree, read-only. Extract plain text from a PDF given as a URL (max 20 MB) or inline base64 (max 5 MB), one of the two. Returns text, cut at maxChars with a marker. Text-layer PDFs only: scans return little or nothing (no OCR). Layout and tables are not preserved. Fails if the URL serves HTML, not a PDF.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | Direct link to the .pdf file, not a viewer page. Not with data. | |
| data | No | Base64 PDF, max 5 MB decoded. Not with url. | |
| headers | No | Headers to forward (Authorization, Cookie…). | |
| maxChars | No | Output cap, chars. Default 20000, max 100000. |