# Split a PDF at a page
Split a PDF into two documents at a page boundary, in a Power Automate flow: everything before the split page, then the split page onward.
Use this action to split a PDF document into two documents at a page boundary. The
pages before the split page form the first part; the split page and everything after
it form the second.
<PowerAutomateAction
title="Split a PDF at a page"
caption="Split a PDF at a page."
fields={[
{ label: "File Content", kind: "token", value: "File Content", required: true },
{ label: "Page", value: "5", required: true },
]}
/>
## Parameters
<ParamField name="File Content" type="File" required>
The content of the input PDF document.
</ParamField>
<ParamField name="Page" type="Integer Number" required>
The page number that begins the second part. Must be between 2 and the number of
pages in the document, so that both parts contain pages.
</ParamField>
## Response
This action returns a list of PDF documents. Add an **Apply to each** over the
**Documents** output to process every part.
<ParamField name="Documents" type="Array">
The output PDF documents, in order. Each item has:
- **File Name**: the name of the PDF document (`00001.pdf`, `00002.pdf`, and so on).
- **File Content**: the content of the PDF document, which you can use as an input to other actions.
</ParamField>
## Related actions
<CardGroup cols={2}>
<Card title="Split by page count" href="/docs/power-automate/split-pdf-by-page-count">
Split into fixed-size parts.
</Card>
<Card title="Split by file size" href="/docs/power-automate/split-pdf-by-file-size">
Cap each part by byte size.
</Card>
<Card title="Split into page groups" href="/docs/power-automate/split-pdf-into-page-groups">
Define arbitrary page groups by hand.
</Card>
<Card title="Extract pages" href="/docs/power-automate/extract-pages-from-pdf">
Keep just one part of the document.
</Card>
</CardGroup>
Split a PDF at a page
Split a PDF into two documents at a page boundary, in a Power Automate flow: everything before the split page, then the split page onward.
Use this action to split a PDF document into two documents at a page boundary. The pages before the split page form the first part; the split page and everything after it form the second.
ParametersSettingsCode viewTestingAbout
File Content
File Content
Page
5
Parameters
File ContentFilerequiredThe content of the input PDF document.
PageInteger NumberrequiredThe page number that begins the second part. Must be between 2 and the number of pages in the document, so that both parts contain pages.
Response
This action returns a list of PDF documents. Add an Apply to each over the Documents output to process every part.
DocumentsArrayThe output PDF documents, in order. Each item has:
- File Name: the name of the PDF document (
00001.pdf,00002.pdf, and so on). - File Content: the content of the PDF document, which you can use as an input to other actions.