Merge and split PDF documents
The Pdftools SDK lets you assemble pages from one or more input PDF documents and images into any combination of output PDF documents and images. It offers complete control over the generated documents by providing copying options that you can configure to your needs.
The Pdftools SDK features fast performance and efficient memory usage, making it ideal for processing large batches of documents and time-sensitive processes.
Merge documents
Merge multiple PDF files and images into a single output PDF document using the DocumentAssembler
class of the Pdftools SDK.
For example, convert a portfolio of documents and images a customer uploaded into a single output PDF document, suitable for further processing and archiving.
During this process, duplicated resources such as fonts are identified and merged, significantly reducing the size of the output PDF document. The DocumentAssembler
class automatically resolves conflicts between named elements like form fields.
Learn to merge multiple PDF documents and images into one output PDF document on the Merge PDF documents page.
Split documents
Split a single PDF document into multiple output PDF documents and images using the DocumentAssembler
class of the Pdftools SDK.
For example, you can split an input PDF document, in which every page represents an invoice for a different customer into multiple output PDF documents with one output document for each customer.
During this process, only the resources required by each page are copied to the output document containing that page, ensuring that PDF documents do not have redundant or potentially sensitive information.
Learn to split one input PDF document into multiple output PDF documents on the Split a PDF document page.
Merge and split combined
You can also split and re-merge multiple input documents into numerous output documents simultaneously, allowing you to efficiently assemble documents without the hassle of temporary files representing intermediate states of the process.