How to use VeryPDF PDFToolbox to merge PDF?

With the help of VeryPDF PDFToolbox, you can do whatever you want to merge and split PDF files: you can freely choose the pages from different PDF files and merge them together,  reverse page order, rotate specified pages, delete PDF pages, extract PDF pages, encrypt PDF, set permissions, etc. This article aims to show you how to use VeryPDF PDFToolbox to merge PDF files: merge multiple PDF files, merge specified pages from PDF files, delete some pages from a PDF file, rotate some pages when merge PDF files.

Firstly, let’s take a look at the basic usage of PDFToolbox and two terms.

Usage: pdftoolbox <input files> [options] <-outfile output >


<input files> stands for a list of input PDF file names or a single PDF file name. Each input file name can occur with a handle.

Handle: handles are capital letters which are useful when specify pages or page ranges, or encrypt PDF. They occur with input file names.

Handle arguments: there are two types of Handle arguments. One is for specifying page ranges, and the other type is for rotating pages. Handle arguments can be added to the end of handles with no space between them.

1. Merge multiple PDF files

To merge multiple PDF files, you can choose one of the following ways:

a. list all the file names

pdftoolbox 1.pdf 2.pdf 3.pdf -merge -outfile 4.pdf

b. use handles

pdftoolbox A=1.pdf B=2.pdf C=3.pdf –merge A B C -outfile 4.pdf

c. use wildcards

pdftoolbox *.pdf -merge -outfile outfile.pdf

2. Reverse PDF order

Supposing you need to merge three files and plan to reverse the page order of one file, you can type a command line as the following:

pdftoolbox A=1.pdf B=2.pdf C=3.pdf -merge A Bend-1 C -outfile 4.pdf

  • pdftoolbox stands for the executable file.
  • A=1.pdf B=2.pdf C=3.pdf stand for the three input files.
  • -merge A Bend-1 C means to merge file A, file B with pages in reverse order, and file C. Bend-1 refers to reverse the page order of file B. A, B and C are handles, and end is a handle argument standing for the last page.
  • -outfile is the option requiring an output file name.
  • 4.pdf is the output file name.

3. Merge specified pages from PDF files

Supposing you want to merge page1-5 of a file, and page 4-9 of another file into one PDF file, you can type a command line as the following one:

pdftoolbox A=1.pdf B=2.pdf -merge A1-5 B4-9 -merge -outfile out.pdf

4. Delete some pages

If you want to delete some pages form the input file, you can use the option -merge to solve the problem. You can type a command line as the following one which can delete the pages from 6 to 10 from the input files:

pdftoolbox input.pdf -merge 1-5 11-end -merge -outfile out.pdf

5. Rotate specified pages when merge PDF

You can rotate some specified pages in a PDF, or rotate some pages when merge PDF files. The first example rotates the first page clockwise:

pdftoolbox in.pdf -merge 1R 2-end -outfile out.pdf

The second example can rotate all the pages of file A and combine it with file B:

pdftoolbox A=in1.pdf B=in2.pdf -merge AE B -outfile out.pdf

This is only a small part of PDFTool  features . If you are interested in this application, and want to have a try, please download the tool at

VN:F [1.9.20_1166]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.20_1166]
Rating: 0 (from 0 votes)

Related Posts

This entry was posted in @VeryPDF News and tagged , , , . Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

Verify Code   If you cannot see the CheckCode image,please refresh the page again!