# PDF.co

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.

- **Category:** documents
- **Auth:** API_KEY
- **Tools:** 37
- **Triggers:** 0
- **Slug:** `PDF_CO`
- **Version:** 20260211_00

## Tools

### Get Account Balance Info

**Slug:** `PDF_CO_ACCOUNT_BALANCE_INFO`

Tool to get account balance info. Use after authenticating to check remaining credits.

### Generate Barcode

**Slug:** `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.

### Convert Excel to CSV

**Slug:** `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.

### Convert Excel to HTML

**Slug:** `PDF_CO_CONVERT_EXCEL_TO_HTML`

Tool to convert an Excel file to HTML. Use when you have an Excel URL and need HTML output.

### Convert Excel to JSON

**Slug:** `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.

### Convert Excel to Text

**Slug:** `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.

### Convert Excel to XML

**Slug:** `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.

### Document Parser

**Slug:** `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.

### Upload File

**Slug:** `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.

### Check Job Status

**Slug:** `PDF_CO_JOB_CHECK`

Tool to check status and result of an asynchronous job. Use after submitting a job to poll for completion.

### Add Content to PDF

**Slug:** `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.

### Change PDF Text Searchable

**Slug:** `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.

### Get Account Credit Balance

**Slug:** `PDF_CO_PDFCO_GET_ACCOUNT_CREDIT_BALANCE`

Tool to get remaining account credit balance. Use when you need to check available credits in PDF.co account.

### Get Account Credit Balance

**Slug:** `PDF_CO_PDFCO_POST_ACCOUNT_CREDIT_BALANCE`

Tool to get remaining account balance. Use when you need to check available credits.

### Generate Barcode

**Slug:** `PDF_CO_PDFCO_POST_BARCODE_GENERATE`

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.

### Upload File from Base64

**Slug:** `PDF_CO_PDFCO_POST_FILE_UPLOAD_BASE64`

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).

### Delete PDF Pages

**Slug:** `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.

### Extract PDF Attachments

**Slug:** `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.

### Find Text in PDF

**Slug:** `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.

### PDF Forms Info Reader

**Slug:** `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. Returns field names, types (CheckBox, EditBox, RadioButton, ComboBox), values, and position coordinates.

### Convert Text to PDF

**Slug:** `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.

### Convert Email to PDF

**Slug:** `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.

### Convert HTML to PDF

**Slug:** `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.

### PDF Info Reader

**Slug:** `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.

### Merge PDFs

**Slug:** `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.

### Rotate PDF Pages

**Slug:** `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.

### Search and Delete Text in PDF

**Slug:** `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.

### Search and Replace Text in PDF

**Slug:** `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).

### Split PDF

**Slug:** `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.

### Convert PDF to CSV

**Slug:** `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.

### Convert PDF to HTML

**Slug:** `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.

### Convert PDF to Image

**Slug:** `PDF_CO_PDF_TO_IMAGE`

Tool to convert PDF pages to images (PNG, JPG, TIFF). Use when you need image previews of PDF content.

### Convert PDF to JSON

**Slug:** `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.

### Convert PDF to Text

**Slug:** `PDF_CO_PDF_TO_TEXT`

Tool to convert PDF or scanned images to plain text. Use when you need raw text output preserving layout.

### Convert PDF to XLS

**Slug:** `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.

### Convert PDF to XLSX

**Slug:** `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.

### Convert PDF to XML

**Slug:** `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.
