Split PDF is a REST API tool that separates a single PDF file into any number of separate PDF files, each with specified pages.
Start right from your browser - upload files, choose parameters, generate code, and send API Calls directly from API Lab!
to receive your free API Key.curl -X POST "https://api.pdfrest.com/split-pdf" \ -H "Accept: application/json" \ -H "Content-Type: multipart/form-data" \ -H "Api-Key: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" \
The response for your API Call will display here.
You have document processing problems, we have Solutions. Explore the many ways pdfRest can align your documents with your business objectives.
pdfRest offers the best solution for splitting a PDF input into multiple PDF outputs, because it supports flexible page ranges, optimized content, and deleting or exporting pages.
Easily split a 100-page PDF into 100 one-page PDFs, or pick and choose each output PDF you’d like to create from the original PDF source. Maybe you need pages 1-10 in a file, pages 2,5,15-20 in another file, all the even page numbers in a third file, and pages 25-50 in reverse order in a fourth file. No problem - every possible permutation of pages can be saved out to any number of target output files with one single API Call.
Api-Key
field with your unique API
Key
file
with the local path to your
input
Need more help?
Start with a Tutorial for step-by-step guidance
The pages[]
parameter allows you to identify pages and/or page ranges that you would like to split into one or more new PDFs. This is a versatile parameter that allows you to precisely construct your output document(s) by specifying the exact pages, page order, and number of documents that you want.
Each instance of pages[]
creates one new output PDF containing the specified pages. For example, the values “3”, “4-10”, and “2,3,4” will create three new PDFs, each containing the pages that were specified for that particular document.
If a page number is included more than once (e.g., “1,2,3,3,4,5”), then the page will be duplicated in the output file. Pages may also be reordered (e.g., “1,5,3,2,4”), and page ranges may be reversed by listing the higher page number first (e.g., “2,4,9-5,12”).
pages[]
also accepts a few keywords to quickly identify pages to split. The keywords “even” and “odd” will select only those pages to split into a new PDF, and the keyword “last” may be used to represent the final page of the input PDF.
One trick using pages[]
is to effectively delete one or more pages from a document. For example, the value “1-5,7-last” will create a new document without page 6.
(If pages[]
is omitted entirely, the default behavior is to split the input PDF into one document for each page.)
Create your FREE API Key to start processing PDFs in seconds, only possible with pdfRest.