Logo
POST /api/pdf/file/split

Split PDF API

Send one PDF URL and get back several files — cut at the pages you name, or every few pages. Built for bulk invoices, payslips and statements.

  • Free plan
  • No credit card

Request

curl -X POST https://apdf.io/api/pdf/file/split \
  -H "Authorization: Bearer TOKEN" \
  -d file="FILE_URL" \
  -d pages="1-3,4,5-z"

One PDF in.
Many PDFs out.

Every comma in the pages value starts a new file. Or set a size and get a new file every N pages.

statements.pdf example
1 2 3
4
5 6 7 8 9 10
pages=1-3,4,5-z
-1-3.pdf
3 pages
381 KB
-4.pdf
1 page
236 KB
-5-z.pdf
6 pages
557 KB
pages=n3
1 2 3 4 5 6 7 8 9 10
The pages parameter
1-3,4,5-z
Three files: pages 1 to 3, page 4, then page 5 to the end
n3
A new file every three pages
n1
Every page as its own file
1-r2,z
All but the last page, then the last page alone
r3-r1
One file with the last three pages

One file per person.

Batch jobs produce one big PDF for many people. Splitting it gives every recipient only their own pages.

Bulk invoice runs

Your billing system prints a month of invoices into one PDF. Split it so every customer gets only their own pages.

Payslips per employee

Cut the payroll export into one payslip per person with n1 or n2, ready to upload to each employee's account.

Chapters and sections

Break a long manual or report into its chapters, so readers download the part they need instead of the whole book.

Batch scans

A scanner feeds a stack of forms into one file. Split it back into one PDF per form before it enters your system.

Split from anywhere.

Cut up big files right where your batch jobs drop them. One account and one monthly allowance behind every route.

Your code

One authenticated POST from any language. Copy-paste samples in cURL, Node.js, Python and more.

POST /api/pdf/file/split
Open the endpoint docs
Zapier

Pick the action in any Zap and map files from earlier steps. No code and no servers to run.

Split PDF
Use it in Zapier
n8n

Add the Apdf node to any workflow, on n8n Cloud or self-hosted, and chain it with your automation.

Split PDF
Use it in n8n
AI agents

Let Claude, ChatGPT, Gemini or your own agent run it through the MCP server, on any paid plan.

split-pdf-file
See what agents can do

1,000 splits
a month. Free.

Start on the free plan and move up only when your volume does — up to 1,000,000 operations a month on Business.

  • One call is one operation, however many pages.
  • Only calls that do the work are counted.
  • Hard limits, so no surprise overage charges.
Plan PDF operations / month
Hobby Free
$0 / month
1,000
Pro
$39–$99 / month
20,000 – 60,000
Business
$149–$899 / month
100,000 – 1,000,000

Splitting PDFs, answered

No. Each comma starts a new file, so every file is a single page or one continuous range. To combine pages like 1, 4 and 9 into one PDF, use the extract pages endpoint.
No. One call is one operation, no matter how many files it returns.
As a URL: Apdf downloads the file, up to 100 MB. In Zapier and n8n you can map the file from an earlier step instead.
Send async=1 and you get a job ID back right away. Check it on the job status endpoint, or pass a webhook_url and the result is posted to you when it is ready.
Each file in the response comes with its own download URL, valid for 60 minutes, plus its page count and size. Store the files on your side if you need them longer.
After the API call

Your code made the PDF.
Then it went dark.

Opened, read, signed or ignored — you never see any of it. Send the PDFs you generate as personal links, and every open, page read, comment and signature comes back to your software as a webhook. Need it signed? Same link. Same account, same API key, one more call.

Your PDF, after sending Live
document:loaded CFO
page:read p4 · 38s
signature:signed 11:48

API · Webhook · MCP

Turn one big PDF
into the files you need.