Merge PDF files

Welcome to the Merge PDF guide. This guide will teach you how to Merge two or more PDF files easily.

In case of Merge tool, there are no specific attributes so this guide will focus only on Merge basics while recommend you to take a look at Common features guide for an advanced use of Merge.

Also all Tool Guides takes into account that you have previous knowledge about the Basics to process a PDF with our REST API. We strongly recommend you to read the related guide before start with this one.

Basic Merge

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

Download the PHP library from GitHub
Download the Ruby library from GitHub
Download the .Net library from GitHub

With this, file1_name.pdf and file2_name.pdf will be merged in 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 features guide.