Auto-index new files
- Watch for new uploads
- Chunk, embed, and index
- Make queryable via your knowledge persona
35 tools available
PDF.co is a REST API platform for PDF automation including PDF extraction, generation, editing, splitting, merging, form filling, barcode processing, OCR, document parsing, file conversion (PDF to Excel/CSV/JSON/XML/HTML/Image and vice versa), and AI-powered invoice parsing.
Connect PDF.co to Definable to auto-index uploads, answer questions over a doc set, extract structured fields from contracts. Personas call PDF.co's 35 tools directly from chat or scheduled flows. Connect this integration to a knowledge persona — the agent will ground answers in your documents with citations.
Every PDF.co action below is a callable tool any Definable persona can invoke.
Tool to get account balance info. Use after authenticating to check remaining credits.
DEPRECATED: Use PDFCOPostBarcodeGenerate instead. Tool to generate barcode images (QR, Code128, Code39, PDF417, etc.). Use when you need to encode data into barcodes on the fly.
Tool to convert an Excel file (XLS/XLSX) to CSV. Use when you have a public Excel file URL and need CSV output. Inline option returns data inline; otherwise provides download URL.
Tool to convert an Excel file to HTML. Use when you have an Excel URL and need HTML output.
Tool to convert an online Excel or CSV file to JSON format. Use when you have a public file URL and need structured data extraction.
Tool to convert Excel files to plain text. Use after providing an Excel file URL to extract spreadsheet content.
Tool to convert an Excel file to XML. Use when needing XML output from xls/xlsx/csv synchronously or asynchronously.
Tool to parse documents based on predefined templates to extract structured data. Use when you need to extract structured fields from a PDF by supplying a custom template.
Tool to upload a local file or remote URL to PDF.co, returning a hosted URL for downstream processing. Use when a PDF.co tool (e.g., PDF_CO_PDF_FROM_HTML) requires a remote URL but you have a local file.
Tool to check status and result of an asynchronous job. Use after submitting a job to poll for completion.
Tool to add content to an existing PDF. Use when you need to overlay text, images, barcodes, or links before distributing the file.
Tool to make PDF text searchable using OCR. Use when you need to add a searchable text layer to scanned or image-only PDF documents.
Tool to generate high quality barcode images in 45+ formats including QR Code, Code 128, Code 39, and more. Use when you need to create barcodes with customization options like rotation, decoration images for QR codes, or async processing.
Tool to create a temporary file using base64-encoded source data. Use when you need to upload file content as base64 to PDF.co for downstream processing. Temporary files are automatically deleted after 1 hour (or custom expiration time).
Tool to delete specific pages from a PDF file. Use when you need to remove unwanted pages before further processing.
Tool to extract embedded attachments from a PDF. Use when you need to retrieve embedded files from a PDF after uploading.
Tool to find text in a PDF document. Use when you need to locate keywords or regex patterns and get their page positions.
Tool to extract form field information from a PDF. Use when you need to retrieve names, types, and values of form fields. Returns field names, types (CheckBox, EditBox, RadioButton, ComboBox), values, and position coordinates.
Tool to convert a plain text (.txt) file to PDF. Use when you have a public URL to a text file; raw inline text is not accepted by the endpoint.
Tool to convert email files (.eml/.msg) to PDF. Use when you need to transform standalone email messages into PDF documents.
Tool to convert HTML code or webpage URL into a PDF document. Use when you need to capture a webpage or HTML snippet as a PDF file.
Tool to retrieve detailed information and metadata of a PDF. Use when you need page count, author, encryption details, and other document properties.
Tool to merge multiple PDF files into one document. Use when you need to combine several PDF URLs into a single PDF file.
Tool to rotate selected pages in a PDF. Use when you need to adjust the orientation of specific pages in an online PDF file before further processing.
Tool to search for and delete text in a PDF by keyword or regex. Use when you need to remove sensitive or unwanted text from a PDF document.
Tool to search for and replace text in a PDF document. Use when you need to update specific text instances within an existing PDF file (e.g., changing invoice numbers).
Tool to split a PDF into multiple files by page ranges. Use when you need to extract specific pages or page ranges from a PDF.
Tool to convert PDF or scanned images to CSV format. Use when you need to extract tabular data from a PDF into CSV format.
Tool to convert PDF documents to HTML. Use when you need an HTML rendition of a PDF or scanned image.
Tool to convert PDF pages to images (PNG, JPG, TIFF). Use when you need image previews of PDF content.
Tool to convert PDF or scanned images to JSON format. Use when you need a structured JSON representation of PDF content.
Tool to convert PDF or scanned images to plain text. Use when you need raw text output preserving layout.
Tool to convert PDF or scanned images to XLS format. Use when you need to extract tabular data into an Excel spreadsheet.
Tool to convert PDF or scanned images to XLSX (Excel) format. Use when you need structured spreadsheet output from a PDF.
Tool to convert PDF or scanned images to XML format. Use when you need to extract structured data from PDF into XML.
Anything PDF.co exposes through its API. Common documents workflows on Definable include auto-index uploads, answer questions over a doc set, extract structured fields from contracts. Personas can call any of the 35 PDF.co tools directly, then chain the result into another integration without you writing code.
PDF.co uses API_KEY on Definable. You connect once from the integrations page, scoped to the permissions you choose, and from then on any persona that has the integration enabled can act on your behalf. Tokens are encrypted at rest and rotated automatically.
Yes — every Definable plan, including Starter, includes access to all 35 PDF.co tools. You only need a separate PDF.co subscription if PDF.co itself charges per seat or per API call.
Every call from a persona to PDF.co is logged with the user, persona, prompt, and response. Tokens never leave Definable's secrets vault, scopes are configurable per persona, and you can revoke access at any time from the integration page.
Sign up for Definable, open the integrations page, find PDF.co, and connect via OAuth or API key. You can immediately attach PDF.co to any persona and start running workflows. The free Starter plan includes 5,000 credits/month.
Definable exposes all 35 PDF.co actions as callable tools — including `Get Account Balance Info`, `Generate Barcode (Deprecated)`, `Convert Excel to CSV`, plus 32 more. Each tool gets a typed parameter schema so personas know exactly how to call it.
Wire it up in minutes. No coding required.