PDF to PDF in Command Line

This page describes how to join multiple PDF files or update PDF attributes from the command line using the Pdfcrowd API.



Install the application from PyPI
pip install pdfcrowd

We also offer other installation options.


Authentication is needed in order to use the Pdfcrowd API. The credentials used for accessing the API are your Pdfcrowd username and the API key.

You can try out the API without registration using the following demo credentials:
  • Username: demo
  • API key: ce544b6ea52a5621fb9d55f8b542d14d

To get your personal API credentials, you can start a free API trial or buy the API license.


pdf2pdf -user-name "demo" -api-key "ce544b6ea52a5621fb9d55f8b542d14d" \
    /path/to/cover.pdf \
    /path/to/proposal.pdf \
    /path/to/price.pdf \
    /path/to/contact.pdf > "offer.pdf"
pdf2pdf -user-name "demo" -api-key "ce544b6ea52a5621fb9d55f8b542d14d" \
    -page-watermark "/path/to/watermark.pdf" \
    /path/to/proposal.pdf > "company_offer.pdf"
pdf2pdf -user-name "demo" -api-key "ce544b6ea52a5621fb9d55f8b542d14d" \
    -linearize \
    /path/to/not_linearized.pdf > "linearized.pdf"


  • List of API Status Codes if an error code is returned.
  • You can use -debug-log to get detailed info about the conversion, such as conversion errors, time, console output.
  • Take a look at the FAQ section.
  • Are you missing a feature? Contact us, we look forward to your suggestions.

User Manual

Refer for details to the User Manual.