# Reverse the pages of a PDF
Reverse the page order of a PDF in a Power Automate flow, so the last page becomes the first and the first becomes the last.
Use this action to reverse the order of the pages of a PDF document.
<PowerAutomateAction
title="Reverse the pages of a PDF"
caption="Reverse the pages of a PDF."
fields={[
{ label: "File Content", kind: "token", value: "File Content", required: true },
]}
/>
## Parameters
<ParamField name="File Content" type="File" required>
The content of the input PDF document.
</ParamField>
## Response
<ParamField name="Reversed PDF File Content" type="File">
The content of the PDF document with the pages reversed. You can use it as an input to other actions in your flow.
</ParamField>
## Related actions
<CardGroup cols={2}>
<Card title="Reorder pages" href="/docs/power-automate/reorder-pages-of-pdf">
Rearrange pages into any order you specify.
</Card>
<Card title="Rotate pages" href="/docs/power-automate/rotate-pages-in-pdf">
Turn selected pages.
</Card>
<Card title="Remove pages" href="/docs/power-automate/remove-pages-from-pdf">
Drop pages you no longer need.
</Card>
<Card title="Extract pages" href="/docs/power-automate/extract-pages-from-pdf">
Keep only some pages.
</Card>
</CardGroup>
Reverse the pages of a PDF
Reverse the page order of a PDF in a Power Automate flow, so the last page becomes the first and the first becomes the last.
Use this action to reverse the order of the pages of a PDF document.
ParametersSettingsCode viewTestingAbout
File Content
File Content
Parameters
File ContentFilerequiredThe content of the input PDF document.
Response
Reversed PDF File ContentFileThe content of the PDF document with the pages reversed. You can use it as an input to other actions in your flow.