Skip to content
ComPDF
New Release

Open-Source PDF SDK & AI Document Processing

Get the full self-hosted SDK and AI document processing on GitHub. One-click deploy to quickly build your document workflows.

API Tool List

This page summarizes every high-level API capability ComPDF provides, with each feature's purpose and how to invoke it.

PDF API

Page Edit

FunctionDescription
MergeMerge multiple PDF files into one.
SplitSplit a PDF by custom pages or ranges.
DeleteDelete specific pages from a PDF.
ExtractExtract specific pages to create a new PDF.
Insert PagesInsert pages from another PDF or blank pages into a target PDF at a specified position.
RotateRotate PDF pages in 90° increments.

PDF Standard

FunctionDescription
PDF to PDF/AConvert a PDF to the long-term-archival PDF/A specification.

PDF Generation

FunctionDescription
PDF GenerationGenerate a PDF from JSON (or other data sources) and a template.

PDF Security

FunctionDescription
PDF EncryptionSet open passwords, owner passwords, and operation permissions for PDFs through the Server API.
PDF DecryptionRemove password protection from PDFs through the Server API and get the result file from the response download URL.
Add WatermarkAdd text or image watermarks to a PDF.
Remove WatermarkRemove existing watermarks from a PDF.

PDF Advanced

FunctionDescription
CompressionLosslessly compress and reduce PDF file size.
Document ComparisonCompare two documents and highlight differences.