# PDF.co

> PDF.co is a REST API platform for PDF automation including PDF extraction, generation, editing, splitting, merging, form filling, barcode processing, OCR,…

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.

This is a first-class FlyMyAI MCP. Agents **discover it automatically** via tool search and call the actions below on demand - you never wire it up by hand. See the [Composio catalog](https://docs.flymy.ai/mcp/composio.md) for how discovery works.

## Connect

**PDF.co** authenticates with an API key. Generate the credential in your PDF.co account, then paste it into FlyMyAI the first time an agent uses a PDF.co action.

[Get your PDF.co credential →](https://app.pdf.co)

### Fields to fill in FlyMyAI

| Field | Details |
| --- | --- |
| `PDF.co API Key` | Your PDF.co API Key, obtainable from your PDF.co Dashboard. _(required)_ |

## Actions

Every action this integration exposes. Agents pick the right one from the task; you do not call them by name.

| Action | What it does | Required inputs |
| --- | --- | --- |
| `PDF_CO_ACCOUNT_BALANCE_INFO` | Tool to get account balance info. use after authenticating to check remaining credits. | - |
| `PDF_CO_BARCODE_GENERATE` | Tool to generate barcode images (qr, code128, code39, pdf417, etc.). use when you need to encode data into barcodes on the fly. | `type`, `value` |
| `PDF_CO_CONVERT_EXCEL_TO_CSV` | 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. | `url` |
| `PDF_CO_CONVERT_EXCEL_TO_HTML` | Tool to convert an excel file to html. use when you have an excel url or file bytes and need html output. | - |
| `PDF_CO_CONVERT_EXCEL_TO_JSON` | 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. | `url` |
| `PDF_CO_CONVERT_EXCEL_TO_TEXT` | Tool to convert excel files to plain text. use after providing an excel file url to extract spreadsheet content. | `url` |
| `PDF_CO_CONVERT_EXCEL_TO_XML` | Tool to convert an excel file to xml. use when needing xml output from xls/xlsx/csv synchronously or asynchronously. | `url` |
| `PDF_CO_DOCUMENT_PARSER` | 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. | `template` |
| `PDF_CO_FILE_UPLOAD` | Tool to upload a local file to pdf.co. use when you need to stage a document on pdf.co for downstream processing. | `file_path` |
| `PDF_CO_JOB_CHECK` | Tool to check status and result of an asynchronous job. use after submitting a job to poll for completion. | `jobid` |
| `PDF_CO_PDF_ADD` | Tool to add content to an existing pdf. use when you need to overlay text, images, barcodes, or links before distributing the file. | `url`, `objects` |
| `PDF_CO_PDF_CHANGE_TEXT_SEARCHABLE` | 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. | `url` |
| `PDF_CO_PDF_DELETE_PAGES` | Tool to delete specific pages from a pdf file. use when you need to remove unwanted pages before further processing. | `url`, `pages` |
| `PDF_CO_PDF_EXTRACT_ATTACHMENTS` | Tool to extract embedded attachments from a pdf. use when you need to retrieve embedded files from a pdf after uploading. | `url` |
| `PDF_CO_PDF_FIND` | Tool to find text in a pdf document. use when you need to locate keywords or regex patterns and get their page positions. | `url`, `searchString` |
| `PDF_CO_PDF_FORMS_INFO_READER` | Tool to extract form field information from a pdf. use when you need to retrieve names, types, and values of form fields. | `url` |
| `PDF_CO_PDF_FROM_DOCUMENT_TXT` | Tool to convert plain text data to pdf. use when you need to generate a pdf from raw text content or text file links. | `name`, `url` |
| `PDF_CO_PDF_FROM_EMAIL` | Tool to convert email files (.eml/.msg) to pdf. use when you need to transform standalone email messages into pdf documents. | `url` |
| `PDF_CO_PDF_FROM_HTML` | 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. | `url` |
| `PDF_CO_PDF_INFO_READER` | Tool to retrieve detailed information and metadata of a pdf. use when you need page count, author, encryption details, and other document properties. | `url` |
| `PDF_CO_PDF_MERGE` | Tool to merge multiple pdf files into one document. use when you need to combine several pdf urls into a single pdf file. | `urls` |
| `PDF_CO_PDF_ROTATE` | 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. | `url`, `pages`, `angle` |
| `PDF_CO_PDF_SEARCH_AND_DELETE_TEXT` | 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. | `url`, `searchString` |
| `PDF_CO_PDF_SEARCH_AND_REPLACE_TEXT` | 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). | `url`, `searchString`, `replaceString` |
| `PDF_CO_PDF_SPLIT` | 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. | - |
| `PDF_CO_PDF_TO_CSV` | Tool to convert pdf or scanned images to csv format. use when you need to extract tabular data from a pdf into csv format. | `url` |
| `PDF_CO_PDF_TO_HTML` | Tool to convert pdf documents to html. use when you need an html rendition of a pdf or scanned image. | - |
| `PDF_CO_PDF_TO_IMAGE` | Tool to convert pdf pages to images (png, jpg, tiff). use when you need image previews of pdf content. | `url` |
| `PDF_CO_PDF_TO_JSON` | Tool to convert pdf or scanned images to json format. use when you need a structured json representation of pdf content. | - |
| `PDF_CO_PDF_TO_TEXT` | Tool to convert pdf or scanned images to plain text. use when you need raw text output preserving layout. | `url` |
| `PDF_CO_PDF_TO_XLS` | Tool to convert pdf or scanned images to xls format. use when you need to extract tabular data into an excel spreadsheet. | `url` |
| `PDF_CO_PDF_TO_XLSX` | Tool to convert pdf or scanned images to xlsx (excel) format. use when you need structured spreadsheet output from a pdf. | `url` |
| `PDF_CO_PDF_TO_XML` | Tool to convert pdf or scanned images to xml format. use when you need to extract structured data from pdf into xml. | `url` |

## Links

- [PDF.co website](https://pdf.co/)
- [Get API key / credential](https://app.pdf.co)
- [Browse the full Composio catalog](https://docs.flymy.ai/mcp/composio.md)
