You can split PDF files manually, but that will take much of your time while giving you little value. The solution is to use code to split PDF files automatically.

With that in mind, we created a PDF Splitter that you can connect to via an API to split PDF files. Read on to discover the key benefits of using our PDF page splitter API, and the codes you may use to do so.

Why Use Our API to Split PDF Documents?

Split Large Files

Our PDF splitter API can split large and small files with ease, and it all happens in the cloud. In that regard, our API makes splitting large files as easy as splitting small files.

Auto Choose Where the PDF Files Split

Our PDF Split API allows you to input the page numbers you would want to split from the main document. Therefore, you do not have to open the document and browse/scroll through the document to choose which pages to split.

Securely Split PDF Pages

Security is important when handling confidential data such as ePHI. Therefore, for every document you upload to our API temporary storage, the app secures it with end-to-end SSL\TLS encryption.

That guarantees your documents remain private and protected from unauthorized third parties.

SIGN UP

Access to multiple apps via API integrations

We launched many integrations of our API and solid business automation platforms. These integrations include Zapier and Integromat plugins, UiPath, and BluePrism extensions, but we have 300+ more integrations ready. You can swiftly connect with the most common applications through our PDF.co API integrations.

Asynchronously Split PDF into Multiple Files

With our PDF page splitter’s asynchronous splitting feature, you can have multiple large files being split simultaneously and in the background. You then wait for the split PDF files to be output, and then download them.

The first step to enabling the asynchronous mode of splitting is setting the “async” input parameter to “true.” That will force the splitting process to run in the background. You may use the “/job/check” code to get it to return the “Success” status when the files are ready.

How to Run Asynchronous Modes and Execute Background Jobs

Step 1: Request URLs

You need two URLs when using the API to split PDF files, and they must be provided by our PDF splitter app. Use the “file/upload/get-presigned-url” code to request them.

The code will output “presignedUrl” as the upload destination URL, and “URL” as the access URL to the uploaded file.

Step 2: Upload PDF Files

You may use “PUT” to upload the PDF you want to split, to the app’s temporary storage URL: “presignedUrl.” Next, use “url,” to access the file while it is in the temporary storage.

Step 3: Call API Method

To call the API, set the input as “URL” and “async to “true,” in order to get the output URL/s immediately. You will also get a unique “jobId”, which uniquely identifies that PDF splitting job.

Step 4: Job Status

You can check the status of the splitting job using /job/check API method with jobId param.

Step 5: Download Split Files

Once the PDF split job is ready, the “/job/check API method with jobId param” will output “status” param as “success.” You may use the output URL/s from step three to access the split file or files.

We have multiple code samples per programming language to guide you. If you have any questions, please let us know, and will be happy to help.

SIGN UP

 

Check PDF.co API functions: