# PDF.co integration

> REST API for PDF processing, data extraction, conversion, barcode operations, and document manipulation.

- Authentication: apiKey

## Tools (57)

- **Add Password to PDF**: Adds password protection and sets permission restrictions on a PDF document.
- **Add Text, Images, and Fill Forms**: Adds text annotations, images, links, and fills form fields in a PDF document.
- **AI Invoice Parser**: Extracts structured invoice data using AI, including vendor, customer, payment info, and line items.
- **Auto-Rotate Pages with AI**: Automatically detects and fixes page rotation in scanned PDFs using AI text analysis.
- **Check Job Status**: Checks the status of an asynchronous background job and retrieves results when complete.
- **Compress PDF**: Compresses a PDF file to reduce its size with configurable image quality and compression settings.
- **Convert CSV to PDF**: Converts a CSV file to PDF format with automatic table layout.
- **Convert Document to PDF**: Converts DOC, DOCX, RTF, TXT, XPS, PPT, or PPTX files to PDF format.
- **Convert Email to PDF**: Converts email files (.msg or .eml) to PDF format, optionally embedding attachments.
- **Convert Excel to CSV**: Converts an Excel (XLS/XLSX) or CSV file to CSV format.
- **Convert Excel to HTML**: Converts an Excel (XLS/XLSX) or CSV file to HTML format with preserved layout.
- **Convert Excel to JSON**: Converts an Excel (XLS/XLSX) or CSV file to JSON format.
- **Convert Excel to PDF**: Converts an Excel (XLS/XLSX) or CSV file to PDF format.
- **Convert Excel to Text**: Converts an Excel (XLS/XLSX) or CSV file to plain text format.
- **Convert Excel to XML**: Converts an Excel (XLS/XLSX) or CSV file to XML format.
- **Convert HTML Template to PDF**: Generates a PDF from a pre-defined HTML template with dynamic data substitution using Handlebars/Mustache syntax.
- **Convert HTML to PDF**: Converts raw HTML code into a PDF document.
- **Convert Image to PDF**: Converts JPG, PNG, or TIFF images to a PDF document.
- **Convert PDF to CSV**: Extracts tabular data from a PDF and converts it to CSV format.
- **Convert PDF to Excel (XLSX)**: Converts tabular data from a PDF into an Excel spreadsheet file in XLSX or legacy XLS format.
- **Convert PDF to HTML**: Converts a PDF file to HTML format with layout preservation.
- **Convert PDF to Image**: Renders PDF pages as images in JPG, PNG, WebP, or TIFF format.
- **Convert PDF to JSON**: Extracts structured data from a PDF and converts it to JSON format with text, fonts, images, and formatting.
- **Convert PDF to JSON with AI**: Extracts structured data from a PDF using AI to detect paragraph styles, metadata types, and semantic subtypes.
- **Convert PDF to Text**: Extracts text content from a PDF file and returns it as plain text.
- **Convert PDF to Text (Simple)**: Extracts text from a PDF using a simplified extraction method that returns plain text without layout information.
- **Convert PDF to XML**: Extracts content from a PDF and converts it to XML format.
- **Convert URL to PDF**: Captures a web page at a given URL and converts it to a PDF document.
- **Decode Email**: Extracts structured metadata (sender, recipients, subject, body, attachment count) from an email file (.eml or .msg).
- **Delete Pages**: Removes specified pages from a PDF document.
- **Delete Temporary File**: Deletes a temporary file from PDF.co storage before its automatic 1-hour expiration.
- **Document Classifier**: Classifies documents into categories using built-in AI or custom keyword rules.
- **Document Parser**: Extracts data from documents using configurable parser templates for areas, form fields, and tables.
- **Document Parser Templates**: Lists all available document parser templates and retrieves a specific template by ID.
- **Extract Email Attachments**: Extracts file attachments from an email file (.eml or .msg) and returns download URLs for each.
- **Extract PDF Attachments**: Extracts embedded file attachments from a PDF document and returns download URLs for each.
- **Find Table in PDF with AI**: Uses AI to automatically detect and locate tables in a PDF, returning coordinates and column positions for each table found.
- **Find Text in PDF**: Searches for text in a PDF and returns matching locations with coordinates.
- **Generate Barcode**: Generates a barcode image in various formats (QR Code, Code128, DataMatrix, etc.) from a text value.
- **Get Account Balance**: Returns the number of API credits remaining in the account.
- **Get PDF Form Fields Info**: Extracts information about fillable form fields (text boxes, checkboxes, radio buttons, combo boxes) from a PDF.
- **Get PDF Info**: Returns document metadata including page count, author, title, permissions, and page dimensions.
- **HTML Templates**: Lists all available HTML templates and retrieves a specific template by ID for use with HTML-to-PDF template conversion.
- **Make PDF Searchable**: Runs OCR on a scanned PDF or image and adds an invisible text layer to make it text-searchable.
- **Make PDF Unsearchable**: Converts a PDF into a flat image-based PDF, removing the text layer so text cannot be searched or selected.
- **Merge PDFs**: Combines multiple PDF files into a single PDF document.
- **Merge Various File Types**: Merges multiple files of different formats (PDF, DOC, XLS, images) into a single PDF.
- **Read Barcode**: Reads and decodes barcodes from PDF documents, images, or scanned files.
- **Remove Password from PDF**: Removes password protection from a PDF document.
- **Rotate Pages**: Rotates specified pages of a PDF by a given angle (90, 180, or 270 degrees).
- **Search and Delete Text**: Finds and deletes text from a PDF document, with optional redaction/blackout support.
- **Search and Replace Text**: Finds and replaces text strings in a PDF document, with support for regex patterns.
- **Search and Replace Text with Image**: Finds text in a PDF and replaces it with an image (e.g., for inserting signatures or logos).
- **Send Email with Attachment**: Sends an email with a file attachment via a specified SMTP server.
- **Split PDF by Pages**: Splits a PDF into multiple files based on page ranges.
- **Split PDF by Text Search or Barcode**: Splits a PDF into multiple files at pages matching a text search or barcode pattern.
- **Upload File (Presigned URL)**: Generates a presigned upload URL and final access URL for uploading files to PDF.co temporary storage.

## Related prompts

- [Auto-file emailed vendor invoices as QuickBooks bills](https://www.generalinput.com/prompts/auto-file-emailed-vendor-invoices-as-quickbooks-bills.md)
- [Weekly bank statement reconciliation agent](https://www.generalinput.com/prompts/weekly-bank-statement-reconciliation-agent.md)
- [Auto-send proposal PDFs when HubSpot deals hit Proposal stage](https://www.generalinput.com/prompts/auto-send-proposal-pdfs-when-hubspot-deals-hit-proposal-stage.md)
- [Weekly branded client PDF reports from Google Sheets](https://www.generalinput.com/prompts/weekly-branded-client-pdf-reports-from-google-sheets.md)
- [Split batched invoice PDFs into Airtable records](https://www.generalinput.com/prompts/split-batched-invoice-pdfs-into-airtable-records.md)

Connect PDF.co in General Input: https://www.generalinput.com/apps/pdfco