PDF.co

Integrate PDF.co with your AI workspace

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.

Explore Triggers and Actions

Add Content to PDF

Tool to add content to an existing PDF. Use when you need to overlay text, images, barcodes, or links before distributing the file.

ActionTry it

Change PDF 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.

ActionTry it

Check Job Status

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

ActionTry it

Convert Email to PDF

Tool to convert email files (.eml/.msg) to PDF. Use when you need to transform standalone email messages into PDF documents.

ActionTry it

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.

ActionTry it

Convert Excel to HTML

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

ActionTry it

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.

ActionTry it

Convert Excel to Text

Tool to convert Excel files to plain text. Use after providing an Excel file URL to extract spreadsheet content.

ActionTry it

Convert Excel to XML

Tool to convert an Excel file to XML. Use when needing XML output from xls/xlsx/csv synchronously or asynchronously.

ActionTry it

Convert HTML to PDF

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.

ActionTry it

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

ActionTry it

Convert PDF to HTML

Tool to convert PDF documents to HTML. Use when you need an HTML rendition of a PDF or scanned image.

ActionTry it

Convert PDF to Image

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

ActionTry it

Convert PDF to JSON

Tool to convert PDF or scanned images to JSON format. Use when you need a structured JSON representation of PDF content.

ActionTry it

Convert PDF to Text

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

ActionTry it

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

ActionTry it

Convert PDF to XLSX

Tool to convert PDF or scanned images to XLSX (Excel) format. Use when you need structured spreadsheet output from a PDF.

ActionTry it

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

ActionTry it

Convert Text to PDF

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.

ActionTry it

Delete PDF Pages

Tool to delete specific pages from a PDF file. Use when you need to remove unwanted pages before further processing.

ActionTry it

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.

ActionTry it

Extract PDF Attachments

Tool to extract embedded attachments from a PDF. Use when you need to retrieve embedded files from a PDF after uploading.

ActionTry it

Find Text in PDF

Tool to find text in a PDF document. Use when you need to locate keywords or regex patterns and get their page positions.

ActionTry it

Generate Barcode

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.

ActionTry it

Generate Barcode (Deprecated)

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.

ActionTry it

Get Account Balance Info

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

ActionTry it

Merge PDFs

Tool to merge multiple PDF files into one document. Use when you need to combine several PDF URLs into a single PDF file.

ActionTry it

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.

ActionTry it

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.

ActionTry it

Rotate PDF Pages

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.

ActionTry it

Search and Delete Text in PDF

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.

ActionTry it

Search and Replace Text in PDF

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

ActionTry it

Split PDF

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.

ActionTry it

Upload File

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.

ActionTry it

Upload File from 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).

ActionTry it