This article discusses some of the free methods/tools for merging of PDF files.


For GUI based fans, PDFsam is a good choice with an intuitive interface.

As of now, there are 3 different versions available for download and they are Trial, Pro and Education. The Trial allows for 14 days of free usage with all capabilities enabled. After the 14 day trial, the Merge feature will still continue to function.


MergePdf Powershell module, written by Sergey Pavlyukovich, utilises the PDFsharp .NET open source library for merging of multiple PDFs.

The module can be installed using Powershell.


By default, the Powershell package repository is set as “untrusted”.

To trust this repo, run:

Install the module using:

Syntax and Usage Examples

Syntax details can be found using:

Examples of command invocations can be obtained by running:

Example 1
Gets all .PDF files in current location and merges them into .\Merged.pdf

Example 2
Appends in.pdf to out.pdf

Example 3
Merges all .PDF files in current location into c:\out\out.pdf

Example 4
Merges all .PDF files in folder c:\input into c:\output\out.pdf

Merges .PDF files provided from pipeline into c:\output\out.pdf


Ghostscript can be downloaded from here. Once downloaded, complete the installation and add the bin directory (in the case of Windows, the default is C:\Program Files\gs\gs9.50\bin) to your system PATH.

Launch cmd/powershell prompt and using the following to merge your PDFs. The ^ designates a line continuation when using Windows Cmd.exe. If you are using Powershell, replace with `

Learner. Interests include Cloud and Devops technologies.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store