# PDFBase ## Docs - [Introduction](https://pdfbase.dev/docs/welcome.md): Everything PDF in one API. Generate, edit, extract, and convert — built for developers and AI agents. - [Quickstart](https://pdfbase.dev/docs/quickstart.md): Generate your first PDF in under 2 minutes. - [Authentication](https://pdfbase.dev/docs/authentication.md): API key management, test vs. live environments, and security best practices. - [Pricing](https://pdfbase.dev/docs/pricing.md): Prepaid credits. Pay for what you use. No monthly subscriptions, no use-or-lose. - [Errors](https://pdfbase.dev/docs/errors.md): Error types, codes, and how to handle them. - [Rate Limits](https://pdfbase.dev/docs/rate-limits.md): Request limits, concurrency caps, and how to handle throttling. - [Webhooks](https://pdfbase.dev/docs/webhooks.md): Receive real-time notifications when async operations complete. - [Idempotency](https://pdfbase.dev/docs/idempotency.md): Safely retry requests without creating duplicate resources. - [Chromium Version](https://pdfbase.dev/docs/chromium-version.md): PDFBase pins its Chromium version and gives 30 days' notice before upgrades. - [Security](https://pdfbase.dev/docs/security.md): How PDFBase handles your data, encryption, and infrastructure security. - [HTML to PDF](https://pdfbase.dev/docs/guides/html-to-pdf.md): Everything you need to know about generating PDFs from HTML content. - [Templates](https://pdfbase.dev/docs/guides/templates.md): Build reusable, data-driven PDF templates with Handlebars and CSS. - [Batch Processing](https://pdfbase.dev/docs/guides/batch-processing.md): Generate hundreds of PDFs in a single API call. - [Debug Mode](https://pdfbase.dev/docs/guides/debug-mode.md): Diagnose rendering issues with screenshots, console output, and failed resource tracking. - [Asset Loading](https://pdfbase.dev/docs/guides/asset-loading.md): Control how fonts, images, and stylesheets load during PDF rendering. - [MCP Server](https://pdfbase.dev/docs/mcp/overview.md): Use PDFBase as a tool for AI agents via the Model Context Protocol. - [Changelog](https://pdfbase.dev/docs/changelog.md): What's new, improved, and fixed in PDFBase. - [API Reference](https://pdfbase.dev/docs/api-reference/overview.md): Complete reference for every PDFBase endpoint. - [Create a PDF](https://pdfbase.dev/docs/api-reference/pdfs/create.md): Generate a PDF from HTML content, a URL, or raw markup. - [Retrieve a PDF](https://pdfbase.dev/docs/api-reference/pdfs/retrieve.md): Get metadata and a fresh download URL for a previously generated PDF. - [List PDFs](https://pdfbase.dev/docs/api-reference/pdfs/list.md): Retrieve a paginated list of generated PDFs. - [Create a template](https://pdfbase.dev/docs/api-reference/templates/create.md): Store a reusable HTML template with a data schema for repeated rendering. - [Retrieve a template](https://pdfbase.dev/docs/api-reference/templates/retrieve.md): Get a template's definition, schema, and defaults. - [List templates](https://pdfbase.dev/docs/api-reference/templates/list.md): Retrieve a paginated list of your templates. - [Update a template](https://pdfbase.dev/docs/api-reference/templates/update.md): Update a template's HTML, CSS, schema, or defaults. Increments the version number. - [Delete a template](https://pdfbase.dev/docs/api-reference/templates/delete.md): Permanently delete a template. Existing PDFs generated from this template are unaffected. - [Render a template](https://pdfbase.dev/docs/api-reference/templates/render.md): Generate a PDF by merging a stored template with data. - [Create a batch](https://pdfbase.dev/docs/api-reference/batches/create.md): Generate multiple PDFs in a single request. Each item can use HTML, URL, or a template. - [Retrieve a batch](https://pdfbase.dev/docs/api-reference/batches/retrieve.md): Get the status, progress, and results of a batch job. - [Merge PDFs](https://pdfbase.dev/docs/api-reference/edit/merge.md): Combine multiple PDFs into a single document. - [Split a PDF](https://pdfbase.dev/docs/api-reference/edit/split.md): Split a PDF into individual pages or page ranges. - [Compress a PDF](https://pdfbase.dev/docs/api-reference/edit/compress.md): Compression is available as a parameter on PDF creation and edit endpoints. - [Add watermark](https://pdfbase.dev/docs/api-reference/edit/watermark.md): Add a text or image watermark to an existing PDF. - [Extract text](https://pdfbase.dev/docs/api-reference/extract/text.md): Extract raw text content from a PDF without OCR. - [OCR extraction](https://pdfbase.dev/docs/api-reference/extract/ocr.md): Extract text from scanned documents and images using OCR. - [Extract tables](https://pdfbase.dev/docs/api-reference/extract/tables.md): Extract structured table data from PDFs as JSON or CSV. - [Structured extraction](https://pdfbase.dev/docs/api-reference/extract/structured.md): Extract structured data from PDFs using AI. Turns invoices, receipts, and documents into typed JSON. - [Office to PDF](https://pdfbase.dev/docs/api-reference/convert/office-to-pdf.md): Convert DOCX, XLSX, or PPTX files to PDF. - [Generate thumbnail](https://pdfbase.dev/docs/api-reference/convert/pdf-to-image.md): Generate a PNG thumbnail from a single page of a PDF. - [CLI Overview](https://pdfbase.dev/docs/cli/overview.md): Generate and manage PDFs from your terminal. - [CLI Commands](https://pdfbase.dev/docs/cli/commands.md): Full reference for every CLI command. - [TypeScript SDK](https://pdfbase.dev/docs/sdks/typescript.md): Auto-generated TypeScript/JavaScript SDK with full type safety. - [Python SDK](https://pdfbase.dev/docs/sdks/python.md): Auto-generated Python SDK with type hints and async support. ## OpenAPI Specs - [openapi](https://pdfbase.dev/docs/api-reference/openapi.json) ## Optional - [Status](https://status.pdfbase.dev) - [Changelog](https://pdfbase.dev/changelog)