PDF to PDF API

Merge PDFs, extract or remove pages, and prepare documents for your application.

From separate PDFs to one document

Two PDF documents flow through the PDF to PDF API and return as one merged PDF.

Merge PDF files with one API call

Merge two local PDF files into one PDF, keeping their order.

curl --fail --user "demo:demo" \
  --form "input_format=pdf" \
  --form "output_format=pdf" \
  --form "f_1=@first.pdf" \
  --form "f_2=@second.pdf" \
  --output "document.pdf" \
  https://api.pdfcrowd.com/convert/24.04/
import pdfcrowd

api = pdfcrowd.PdfToPdfClient("demo", "demo")
api.addPdfFile("first.pdf")
api.addPdfFile("second.pdf")
api.convertToFile("document.pdf")
<?php
require "pdfcrowd.php";

$api = new \Pdfcrowd\PdfToPdfClient("demo", "demo");
$api->addPdfFile("first.pdf");
$api->addPdfFile("second.pdf");
$api->convertToFile("document.pdf");
var pdfcrowd = require("pdfcrowd");
var api = new pdfcrowd.PdfToPdfClient("demo", "demo");
api.addPdfFile("first.pdf");
api.addPdfFile("second.pdf");
api.convertToFile("document.pdf",
    function(error, fileName) {
        if (error) return console.error(error);
        console.log("Created " + fileName);
    });
import com.pdfcrowd.*;

Pdfcrowd.PdfToPdfClient api =
    new Pdfcrowd.PdfToPdfClient("demo", "demo");
api.addPdfFile("first.pdf");
api.addPdfFile("second.pdf");
api.convertToFile("document.pdf");
pdfcrowd.PdfToPdfClient api =
    new pdfcrowd.PdfToPdfClient("demo", "demo");
api.addPdfFile("first.pdf");
api.addPdfFile("second.pdf");
api.convertToFile("document.pdf");
require "pdfcrowd"

api = Pdfcrowd::PdfToPdfClient.new("demo", "demo")
api.addPdfFile("first.pdf")
api.addPdfFile("second.pdf")
api.convertToFile("document.pdf")
package main

import "github.com/pdfcrowd/pdfcrowd-go"

func main() {
    api := pdfcrowd.NewPdfToPdfClient("demo", "demo")
    api.AddPdfFile("first.pdf")
    api.AddPdfFile("second.pdf")
    err := api.ConvertToFile("document.pdf")
    if err != nil {
        panic(err)
    }
}

Use the PDFs your application already has

Upload PDF files or supply their binary data through an SDK. Join documents in the order you supply them, extract selected pages into a new PDF, or remove pages from an existing document.

PDFCrowd handles the PDF processing, so you can keep local PDF-tool dependencies out of your application server. Your application selects the documents and pages; the API returns the resulting PDF.

Choose pages and prepare the PDF

Page operations

Merge documents; interleave their pages; extract or delete selected pages.

Document appearance

Add a PDF watermark or background.

Document settings

Set metadata, password protection, and permissions; add attachments or configure viewer preferences.

Common uses

  • Assemble proposals with covers and supporting documents.
  • Create excerpts from selected report pages.
  • Remove unwanted pages before sharing a document.
  • Prepare watermarked copies for review.

From two PDFs to one document

First PDF — two-page report
Second PDF — delivery checklist

Other PDFCrowd products and tools

PDF to Text API

Extract the text from an existing PDF for further processing.

Ready to work with your PDF files?

Try the API with your own documents.