Some test text!

Hamburger Icon

Cli / Guides / Overview

PDF PageMaster: Command-line PDF Editor

PDF PageMaster is an industrial-strength, stand-alone solution for splitting, merging, editing, and securing PDF documents. It is offered as an easy-to-use command-line application for client and server-based applications.

The split functionality allows you to split one or more PDF documents based on page groups, page ranges, bookmarks and file size, while the merge functionality enables you to quickly sort and then combine a collection of PDF documents and page sets.

PDF PageMaster also allows you to apply or modify PDF security as well as to edit document metadata (e.g. document title, author information, keywords, etc.) on resulting documents.

Download PDF PageMaster

Like other Apryse products, PDF PageMaster does not rely on any other third-party software. PDF PageMaster can be used in server environments or as a batch conversion process.

PDF PageMaster is based on PDF SDK, Apryse's own core technology. Our PDF SDK is a comprehensive developer library for PDF creation, manipulation and rendering, offered on a wide range of platforms and programming environments. If you require functionality for integration in your own applications beyond that which is provided as part of PDF PageMaster, please visit ( or contact a Apryse representative.

SDK Guide SDK Sample

Why PDF PageMaster?

Apryse's PDF PageMaster is an a command-line application providing users with an efficient means of splitting, editing, merging and securing PDF documents.

For developers who are looking for a software development component to integrate into their application, Apryse also offers PDFNet SDK, an easy-to-use, yet powerful software component for embedding into client and server based applications. PDFNet SDK is available as a plain 'C DLL' and can be easily accessed from any programming language (including C#, VB.NET, C/C++, Java, VB6, Perl, Python, Ruby, Delphi, etc).

  • Encryption. PDF PageMaster supports standard PDF security (RC4 and AES).

  • Efficiency. PDF PageMaster is based on PDFNet, making it extremely fast and efficient.

  • Support for very large documents.

  • PDF PageMaster can detect shared resources between pages (e.g. fonts, images, color-spaces) and ensures that only necessary objects are imported. All generated documents contain the minimum amount of information necessary, guaranteeing decreased file sizes.

  • Built-in support for multi-threading makes PDF PageMaster a good match for multi-threaded, server-based applications.

  • Support for all PDF formats (PDF 1.0 to ISO32000) and Acrobat documents.

Key Functions

  • Generate a new PDF file or compilation by merging one or more PDF documents into one.

  • Split PDF documents into several files based on various options (e.g. page number, odd/even, page ranges, etc.)

  • Break PDF documents into pieces based on chapters, bookmarks or file size.

  • Extract or move specific pages or page ranges into new PDF documents.

  • Remove specific pages from existing PDF documents.

  • Assemble new files by inserting or appending new pages to any PDF document.

  • Reverse or rearrange pages within a PDF document.

  • Apply security settings, permissions, and document metadata to output PDF files.

  • Get the number of pages in a given PDF document.

  • Simple to use batch mode for processing entire folders with PDF documents.

  • Options to preserve bookmarks, links, markup annotations and forms in the output PDF.

  • Support for large PDF documents containing any number of pages.

  • Create linearized and web ready PDF files with smallest file size.

  • Get and set PDF document metadata.

  • Fast, reliable and suitable for server use.

  • Support for all versions of the PDF format (PDF 1.0 to ISO32000).

  • Support for 128-bit AES (Advanced Encryption Standard) encryption and Crypt filters.

  • Files with broken cross reference tables are automatically repaired.

Common Use Case Scenarios

PDF PageMaster is ideally suited to legal, insurance, and accounting firms, governments, healthcare, as well as any many other market sectors that extensively rely on documents in the PDF format. Some common-use case scenarios include:

  • Server-based, on-demand delivery of dynamically assembled PDF documents.

  • Assembling PDF books, brochures and catalogues by merging a set of input PDF documents, while preserving bookmarks, page links and forms.

  • Inserting a cover page or appending a legal notice to every PDF document in a given directory.

Operating Systems Supported

  • Windows, Linux and Mac.

System Requirements

  • At least 20 MB of free disk space.

  • Memory requirement is heavily dependent on the nature of the document(s) being processed.


echo "Example 1) Split the documents in this folder into files one per page:"
./pagemaster -s -o test_out/ex1/ *.pdf --lic_key "<PDFNET_LICENSE_KEY>"
echo "Example 2) Merge all created PDF documents using default options:"
./pagemaster -m -o test_out/ex2/out.pdf test_out/ex1/ --lic_key "<PDFNET_LICENSE_KEY>"
echo "Example 3) Remove all even pages of the resulting document:"
./pagemaster -r -o test_out/ex3/ test_out/ex2/out.pdf,e --lic_key "<PDFNET_LICENSE_KEY>"
echo "Example 4) Append the file created in example 2 to the one created in example 3:"
./pagemaster -i test_out/ex2/out.pdf -o test_out/ex4/ test_out/ex3/out.pdf --lic_key "<PDFNET_LICENSE_KEY>"

Get the answers you need: Chat with us