How to Split PDF with UiPath

In this tutorial, we will see how to split PDF into two files. First of all drag and drop PDF split activity in the scope.

How to Configure Scope

Before running services, you should set up Scope enabling the correct usage of the API key. See the picture below for more information.

UiPath Scope

Please make sure that you perform all other activities (PDF Merge, PDF Split, PDF Filler, PDF to XML) within the Scope. The reason for that is that it contains the API key. And other activities use API key from Scope.

Proceed with request authentication using API key. You can grab it after you sign up.

Split PDF with UiPath

As you see, like the main inputs are the source PDF file, we can provide either by the URL or the absolute path and the number of pages of which we want to split.

Other input parameters are like a destination file path and the prefix which we want to use for the split its output pages. There are other output variables, for example, the Result file URL. This you will get as an array of the string and containing all URLs of the split pages. This can be very useful in a situation like we want to have the online page for the split pages.

Let’s see this in action how we split PDF into separate pages. I have an input file that is four pages long, you can see like page number one is containing the image and the rest of them are text only. Now get this document file and pasted it into a PDF file path. The pages we need to provide pages in a comma-separated way.

For example, if we want to split these into two parts, then in the first part we want page numbers 1 – 2 and in the second part, we want page numbers 3 and onwards.

UiPath Split PDF

We want this output in the folder that we have provided in the destination file path. We also have provided the output file prefix of the generated file. We are all done with the configuration and run it for execution.

Now that our execution is completed, check the output file. Here is part one. It contains two pages, pages one and two. The second part is contained with the two pages of page numbers three and four. This is how easy you can to use a split PDF activity.

Integrate with UiPath

To start, please use the button below:

Visit the UiPath Marketplace


Download the Latest UiPath Plugin for

Need help or support? Please contact us.

Video Guide