Log in Sign up

Merge PDF Guide
Develop your own solution to combine multiple PDF files by integrating with iLovePDF’s REST API.

Remember that in order to use our Tool Guides, you need to have previous knowledge about the basics to processing a PDF with our REST API. We strongly recommend that you read the Processing a PDF guide before starting this one.

Basic merge

Merge is one of the simplest iLovePDF API tools to use and can be done by simply uploading two or more files, as shown in this example code:

Examples using a library

In this example, file1_name.pdf and file2_name.pdf will be merged into a single PDF with a default filename.


Merge is that simple. Remember that you can explore more functions like setting the output filename in the Common functions guide.