Weavz
PDF.co

PDF.co

Generate, convert, edit, extract, parse, barcode, email, and automate PDF documents with PDF.co.

69 tools
2 triggers
Use withChatGPTClaudeClaude CodeCursorCodexMCP clientsSetup guide

Tools

Name
html_to_pdf

Convert HTML content or a web page URL to PDF.

url_to_pdf

Render a web page URL into a PDF document.

document_to_pdf

Convert DOC, DOCX, RTF, TXT, XPS, PPT, or PPTX files to PDF.

csv_to_pdf

Convert a CSV file to PDF.

image_to_pdf

Convert JPG, PNG, or TIFF images into a PDF document.

email_to_pdf

Convert EML or MSG email files to PDF and optionally include attachments.

merge_pdfs

Merge multiple PDF file URLs into a single PDF.

merge_various_documents

Merge PDFs, Office files, images, emails, or ZIP inputs into a single PDF.

extract_text

Extract text from PDF documents with OCR/layout processing.

pdf_to_text_simple

Extract plain text from a PDF with the fast non-OCR text endpoint.

pdf_to_csv

Convert PDF or scanned tables to CSV.

pdf_to_xls

Convert PDF to XLS spreadsheet format.

pdf_to_xlsx

Convert PDF to XLSX spreadsheet format.

pdf_to_json

Convert PDF to structured JSON with metadata.

pdf_to_json_ai

Convert PDF and scanned images to JSON using PDF.co AI extraction.

pdf_to_xml

Convert PDF to XML with text, tables, fonts, images, and positions.

pdf_to_html

Convert PDF to HTML with formatting preserved.

pdf_to_jpg

Convert PDF pages to JPG images.

pdf_to_png

Convert PDF pages to PNG images.

pdf_to_tiff

Convert PDF pages to TIFF images.

pdf_to_webp

Convert PDF pages to WEBP images.

excel_to_pdf

Convert XLS, XLSX, or CSV files to PDF.

excel_to_csv

Convert XLS or XLSX files to CSV.

excel_to_html

Convert XLS, XLSX, or CSV files to HTML.

excel_to_json

Convert XLS, XLSX, or CSV files to JSON.

excel_to_text

Convert XLS, XLSX, or CSV files to text.

excel_to_xml

Convert XLS, XLSX, or CSV files to XML.

get_pdf_info

Read PDF document metadata, security permissions, and page information.

get_pdf_form_fields

List fillable form fields inside a PDF.

extract_pdf_attachments

Extract embedded attachments from a PDF file.

split_pdf

Split a PDF into multiple files by page numbers or ranges.

split_pdf_by_text_or_barcode

Split a PDF at pages matching text search or barcode patterns.

compress_pdf

Compress a PDF to reduce file size.

make_pdf_searchable

Run OCR and add an invisible searchable text layer to a scanned PDF.

make_pdf_unsearchable

Rasterize a PDF into a flat image-only version.

rotate_pdf_pages

Rotate selected pages in a PDF.

auto_rotate_pdf_pages

Detect and fix page rotation in scanned PDFs using OCR.

delete_pdf_pages

Delete selected pages from a PDF.

add_password_to_pdf

Add password protection and security restrictions to a PDF.

remove_password_from_pdf

Remove password protection or security restrictions from a PDF.

add_to_pdf

Add text, images, forms, links, or external PDF elements to a PDF. Provide PDF.co edit arrays in Additional Parameters JSON.

find_text

Find text or regular expressions in a PDF and return coordinates.

find_table_ai

Detect tables in PDFs and scanned documents using AI.

delete_text

Search for text and remove it from a PDF.

replace_text

Search for text in a PDF and replace it with new text.

replace_text_with_image

Search for text in a PDF and replace it with an image.

ai_invoice_parser

Extract structured JSON data from invoices using PDF.co AI parsing.

document_classifier

Classify incoming PDFs or images using keyword rules or built-in AI.

parse_document

Extract fields, tables, values, and barcodes using PDF.co Document Parser templates.

list_document_parser_templates

List PDF.co Document Parser templates available to the account.

get_document_parser_template

Retrieve a PDF.co Document Parser template by ID.

list_html_templates

List HTML templates available for HTML-to-PDF rendering.

get_html_template

Retrieve a PDF.co HTML template by ID.

barcode_generate

Generate QR Code, DataMatrix, Code 39, Code 128, PDF417, and other barcode images.

barcode_read

Read barcodes from images, TIFF files, PDFs, and scanned documents.

email_decode

Decode an EML or MSG email file into headers, body, and parts.

email_extract_attachments

Extract attachments from an EML or MSG email file.

send_email_with_file

Send an email through PDF.co with optional file attachments.

get_account_balance

Get remaining PDF.co account credits.

check_job

Check the status of a background job created by an async PDF.co API call.

generate_presigned_upload_url

Generate a PDF.co presigned URL for uploading larger files.

upload_small_file

Upload a small local file to PDF.co temporary storage.

upload_file_base64

Upload a file to PDF.co temporary storage using a base64 payload.

upload_file_from_url

Download a source URL into PDF.co temporary file storage.

upload_to_presigned_url

PUT a file to a PDF.co presigned upload URL returned by Generate Presigned Upload URL.

delete_temporary_file

Delete a temporary PDF.co file by URL.

get_file_md5_hash

Calculate the MD5 hash for a source file URL.

download_file_by_token

Download a PDF.co stored file by file token and return base64 bytes when the response is binary.

custom_api_call

Make a bounded custom API call to documented PDF.co endpoints.

Triggers

Name
job_callback_received

Receive parsed PDF.co callback payloads from async jobs. PDF.co does not document a webhook signature scheme, so this trigger does not verify signatures.

async_job_completed_polling

Poll one PDF.co async job and emit once when it reaches a terminal status.

Quick Start

TypeScript
import { WeavzClient } from '@weavz-io/sdk'

const weavz = new WeavzClient({ apiKey: 'wvz_...' })

const result = await weavz.actions.execute('pdf-co', 'html_to_pdf', {
  workspaceId: '550e8400-e29b-41d4-a716-446655440000',
  integrationAlias: 'pdf-co',
  input: { /* ... */ },
})

Related Integrations

Works well with

Frequently Asked Questions

How do I connect PDF.co to my app?

Use Weavz Hosted Connect for API Key authentication. Install the SDK, create a connection through the connect portal or API, then execute tools programmatically.

What tools does PDF.co support?

PDF.co supports 69 tools including HTML to PDF, URL to PDF, Document to PDF, CSV to PDF, Image to PDF, and more.

Can I use PDF.co with AI agents?

Yes. Add PDF.co to an MCP server in Tool Mode or Code Mode. Code Mode provides 3 meta-tools with on-demand API discovery so agents can compose stateful workflows without loading every action schema up front.

How do I connect PDF.co to ChatGPT or Claude?

Open the Weavz connector setup, sign in, choose a workspace, and add PDF.co as an approved app. ChatGPT, Claude, and other remote MCP clients can then call the scoped PDF.co tools exposed by that workspace.

Does PDF.co work with Claude Code, Cursor, Codex, and local agents?

Yes. Remote and local MCP clients can connect to a Weavz MCP endpoint for the workspace. Local coding agents can also use the Weavz CLI to inspect apps, discover actions, run approved PDF.co work, and execute Code Mode workflows from a terminal.

What can I ask an AI agent to do with PDF.co?

PDF.co exposes 69 tools, including HTML to PDF, URL to PDF, Document to PDF, CSV to PDF, Image to PDF, and more. Use Weavz to keep credentials scoped, require approval for sensitive work, and audit what the agent did.

Can PDF.co be used in stateful agent workflows?

Yes. Agents can combine PDF.co tools with Filesystem, State KV, Human Gates, input partials, and other workspace integrations while keeping execution scoped to the selected workspace or end user.

What authentication does PDF.co use?

PDF.co uses API Key. Weavz stores credentials securely and uses them for authorized action execution.

How much does the PDF.co integration cost?

The PDF.co integration is included on all Weavz plans including the free tier with 20,000 actions per month. No credit card required.

What triggers does PDF.co support?

PDF.co supports 2 triggers including Job Callback Received, Async Job Completed Polling.

Connect PDF.co in minutes

Get 20,000 free action executions every month. No credit card required.