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
- Choose this tool.
- Add your PDF.
- Choose how to cut it: every number of pages, at bookmarks, at blank pages, or by maximum size.
- Fill in the number that goes with your choice, such as how many pages per part.
- 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.
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;Documentation
Guides that use this tool
More in PDFs
