Split PDF

Split PDF

Split PDF is a REST API tool that separates a single PDF file into any number of separate PDF files, each with specified pages.

Get the best with pdfRest

Page Range Power

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.

Optimized Content
When pages are split out from PDFs with many PDF tools in the wild, some of the “removed” content can actually be left behind in the file. This might not appear to users when viewing the document, but a rogue embedded font can easily linger around without serving a purpose for the pages that remain in the new, smaller file.

pdfRest to the rescue! Every split-out PDF created by the Split PDF tool is optimized to contain only the relevant content for the pages in that file. Smaller file sizes, faster user experience.
Export or Delete Pages
pdfRest’s Split PDF tool can be used to save many output files, but it also can be used to simply save one output PDF with just the page or pages you need. This allows you to isolate just the content you need in a streamlined document.

Export all the pages you need into your one output file, or select all pages other than the ones you’d like to delete. The Split PDF tool serves many functions.

Start from Code Examples

  1. First, you'll need an API Key - visit Get Started to:
    • Stay anonymous with a Guest API Key for 50 free API Calls
    • Sign up for an upgraded API Key with unlimited, continuous service
  2. Choose your programming language
  3. Copy and paste the code to your project
  4. Update Api-Key field with your unique API Key
  5. Update file with the local path to your input
  6. Run this code to send an API Call
See more code examples in our
GitHub repository
Try pdfRest with just a few clicks
Download our Postman Postman Collection
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" 
  -F "file=@PATH_TO_FILE/example_file.pdf"

Customize Your Solution

File

The file parameter allows you to select two or more local PDF files to be uploaded to pdfRest’s processing server.

Generate a self-service API Key now!

Create your FREE Guest API Key to start processing PDFs in seconds, only possible with pdfRest.