Go to example tasks

Extract Pages From a PDF: Keep Only the Pages You Need

Pull a page range out of a PDF into a new, smaller file. This example keeps pages 1 and 2 of the IRS W-9 form. Change the page range to extract a cover page, one chapter or any set of pages from your own PDF.

Try for free
PDF Merger & Splitter: Merge, Split, Extract Pages
PDF Merger & Splitter: Merge, Split, Extract Pagesdata-done-right/pdf-merger-splitter
File
Download
Pages
Size (bytes)
+5 fields
Text
Number
Boolean
List
Object

Input

Operation:extract
PDF URLs(required):https://www.irs.gov/pub/irs-pdf/fw9.pdf
Page ranges:1-2
Merged file name:w9-first-pages.pdf

Output fields

File
Download
Pages
Size (bytes)
Operation
Status
Error
Source files
Source pages

How it works

Sign up on Apify or log in

The PDF Merger & Splitter: Merge, Split, Extract Pages Actor is ready to run with the inputs already set for "Extract Pages From a PDF: Keep Only the Pages You Need". Sign up or log in and you'll land in Apify Console with a copy of this exact task.

Start the "Extract Pages From a PDF: Keep Only the Pages You Need" task

The PDF Merger & Splitter: Merge, Split, Extract Pages Actor will start running based on the input automatically. You can also change all the input fields, like operation, PDF URLs, and more, to match your specific use case.

Receive the "Extract Pages From a PDF: Keep Only the Pages You Need" output

Monitor the progress in real time. You will be notified as soon as your dataset is complete and ready for review. Each result includes data such as file, download, pages, and more.

Integrate into your workflow

The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow. You can also run the "Extract Pages From a PDF: Keep Only the Pages You Need" task via API.

Image

Integrate "Extract Pages From a PDF: Keep Only the Pages You Need" into your workflow

Connect "Extract Pages From a PDF: Keep Only the Pages You Need" with 100+ integrations, or run it via API or MCP.

Webhook

Webhook

n8n

n8n

Make

Make

Zapier

Zapier

Airbyte

Airbyte

Keboola

Keboola

IFTTT

IFTTT

Hubspot

Hubspot

GDrive

GDrive

Gmail

Gmail

Apify MCP

Apify MCP

GitHub

GitHub

Slack

Slack

LangChain

LangChain

LlamaIndex

LlamaIndex

Flowise

Flowise

Pinecone

Pinecone

OpenAI

OpenAI

Mastra

Mastra

Clay

Clay