Free plan

Split PDF

Cut one PDF into several smaller PDFs
POST
/v1/pdfs/split

About this tool

This tool cuts one PDF into several. You can cut every set number of pages, at the top-level bookmarks (the chapter list), at blank separator pages, or into parts that each stay below a file size you choose. You can also add a name prefix to the parts.
For example, you split a 100-page scan into 10-page parts, or cut a big file into pieces small enough to e-mail.

How to use it

  1. Choose this tool.
  2. Add your PDF.
  3. Choose how to cut it: every number of pages, at bookmarks, at blank pages, or by maximum size.
  4. Fill in the number that goes with your choice, such as how many pages per part.
  5. Press Generate, then download the parts.

What you get back

You get several smaller PDFs, which you can download one by one or together in one bundle.
TEST IT LIVE

Try Split PDF in the Studio

One click opens the Studio with this tool already selected. Add your file and see the result in seconds.
Open in the Studio
Family
PDFs
Plan
Free
Method
POST
Endpoint
/v1/pdfs/split
Tool ID
pdfs.split
Authentication
API key
Accepts
PDF
Background jobs
Yes
Usage group
Pdf
For developers

Use it from your code

cURL

curl -X POST "https://app.h2i.davixlabs.io/v1/pdfs/split" \
  -H "X-Api-Key: $DAVIX_H2I_API_KEY" \
  -F 'file=@document.pdf' \
  -F 'mode=every' \
  -F 'every=1' \
  -F 'level=1'

Node.js

const { DavixH2I } = require('@davixlabs/h2i-sdk');

const h2i = new DavixH2I({ apiKey: process.env.DAVIX_H2I_API_KEY, baseUrl: process.env.DAVIX_H2I_URL });
const result = await h2i.pdfs.split({
    "file": 'document.pdf',
    "mode": "every",
    "every": 1,
    "level": 1
  });
console.log(result.data, result.requestId);

PHP

<?php
require 'vendor/autoload.php';

$h2i = new \Davix\H2I\Client(['apiKey' => getenv('DAVIX_H2I_API_KEY'), 'baseUrl' => getenv('DAVIX_H2I_URL')]);
$result = $h2i->pdfs()->split([
    'file' => 'document.pdf',
    'mode' => 'every',
    'every' => 1,
    'level' => 1,
]);
echo $result->requestId;
FAQ

Frequently asked questions

Cut one PDF into several: every N pages, at the top-level bookmarks, at blank separator pages, or into parts that stay under a file size.

Split PDF accepts PDF. You can send several files in one request.

Split PDF is included in every plan, including Free. Each run uses credits from your monthly allowance.

Send a POST request to /v1/pdfs/split with your API key in the X-Api-Key header. Official SDKs for Node.js, Python, PHP, Go, Java, .NET and Ruby do the same for you, and the code box on this page shows ready-to-copy examples. For large work it can also run as a background job, so your request returns straight away.