Skip to main content

Split PDF

Merge & SplitSplit PDF

The Split PDF API splits a PDF into multiple documents. You send the PDF (docContent Base64, docName), splitAction (SplitAfterPage, RecurringSplitAfterPage, SplitSequence, SplitRanges), and the corresponding parameters (splitActionNumber, splitSequence, splitRanges), optional fileNaming, and async. The API returns an array of split PDFs. Use the tester below to try it; more details are in the sections that follow.

Try the Split PDF API

:::note Quick reference Endpoint: POST /api/v2/SplitPdf · Required: api-key, docContent, docName, splitAction :::

:::info Try it live Use the form below to send your API key, PDF (Base64), and split action (page-based, recurring, sequence, or range). The response is an array of split PDFs. No code required—fill the fields and click Send request. :::

Loading API Tester...

Overview, parameters, and use cases

What is Split PDF?

This endpoint splits a PDF into multiple documents. You choose splitAction: SplitAfterPage (split after a specific page), RecurringSplitAfterPage (split every N pages), SplitSequence (split at specific page numbers), or SplitRanges (extract specific page ranges). Use splitActionNumber, splitSequence, or splitRanges as needed. The API returns an array of split PDFs.

Split action types

  • SplitAfterPage – Split after a specific page number.
  • RecurringSplitAfterPage – Split every N pages.
  • SplitSequence – Split at specific page numbers (e.g. 1, 3, 8).
  • SplitRanges – Extract specific page ranges (e.g. 1-4).

:::tip Best for Use when dividing a PDF by page count or ranges. For splitting by content use Split PDF by Text, Split PDF by Barcode, or Split PDF by Swiss QR. :::

Prerequisites

Before using this endpoint, make sure you have:

Response Format

The API returns an array of split PDF documents, each containing the specified pages.

Get Help