Page Ranges, Selective Extraction

Split and Extract Pages from Any PDF

Extract specific pages or page ranges from any PDF document via REST API. Use flexible page selectors like "1,3,5-7" to get exactly the pages you need. Perfect for document processing pipelines.

# Extract specific pages from a PDF
curl -X POST \
  https://api.convertfilefast.com/v2/pdf/split \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -F "file=@document.pdf" \
  -F "pages=1,3,5-7" \
  --output extracted.pdf

# HTTP 200 OK — Content-Type: application/pdf
Conversion completed in <2s

Advantages

Why use our API?

Complete and reliable solution for integration in any tech stack.

Flexible Page Selection

Use comma-separated pages (1,3,5) and ranges (2-8) in any combination. Example: "1,3,5-7".

Single Request

Extract all desired pages in one API call. Get the result as a new, clean PDF document.

Preserve Formatting

Extracted pages retain all original formatting, fonts, images, and layout from the source PDF.

High Performance

Extract pages from large documents in seconds. No processing delays regardless of source file size.

Pipeline Integration

Chain with other PDF operations in n8n workflows or custom scripts for full document automation.

Secure Processing

Source PDFs are processed in memory and discarded immediately. No files stored on our servers.

How it works

4 steps to run this conversion

  1. 1

    Create an API key

    Sign up at convertfilefast.com/signup and copy your cff_ API key from the dashboard. The free tier includes 10 conversions per month.

  2. 2

    POST the PDF to the endpoint

    Send a multipart/form-data POST to https://api.convertfilefast.com/v2/pdf/split with header X-API-Key: cff_your_key (Authorization: Bearer also works), the PDF as a file field or a public url field, and a pages field such as 1,3,5-7.

  3. 3

    Receive the PDF

    The response body is the resulting PDF, streamed back with a Content-Disposition filename. Save it or pass it straight to the next step of your pipeline — nothing is stored on our side.

  4. 4

    Or invoke it from an AI agent

    Add the MCP server to Claude, Cursor or any MCP-compatible client using https://mcp.convertfilefast.com/mcp, then call split_pdf({ source_url: '...', pages: '1,3,5-7' }) as a single tool call — no HTTP client, no file handling.

For AI agents

Or call this from Claude, Cursor, or any MCP client

Convert File Fast ships a native Model Context Protocol server. Give this conversion to an AI agent as a single tool call — no HTTP client, no binary handling, per-user API keys.

Local install
npx -y convertfilefast-mcp
MCP tool call
split_pdf({ source_url: "https://example.com/doc.pdf", pages: "1,3,5-7" })

Compared with

Convert File Fast vs alternatives

ProductNative MCPFree tierPrice
Convert File FastYes10/month$0.004/conv from $4
SmallpdfNo2/day (unregistered)$9/mo Pro
iLovePDFNoRate-limited$7/mo Premium
Adobe Acrobat OnlineNoLimited trials$19.99/mo Acrobat Standard
CloudConvertNo25 conv-minFrom $0.01/min

Competitor pricing checked on 2026-07-16.

FAQ

Frequently Asked Questions

Can I specify a page range to split a PDF?

Yes. Use the `pages` parameter to specify individual pages or ranges — for example `1,3,5-7` extracts pages 1, 3, 5, 6, and 7 into a single output PDF. You can combine comma-separated pages with dash-delimited ranges in any order.

What is the maximum file size supported?

Limits depend on your plan and are enforced per API key — the API reports the ceiling it currently accepts at https://api.convertfilefast.com/v1/info, and your own plan limit is shown in your dashboard. If a file exceeds it, compress it first with the Compress PDF endpoint.

Does the API return a ZIP file when splitting into multiple parts?

No. Each API call returns a single PDF containing the pages you selected. If you need to extract multiple separate sections, make one API call per section. The response Content-Type is always `application/pdf`.

How many splits can I perform per API call?

Each API call produces one output PDF. There is no limit on how many pages you select per call. To split a document into N independent parts, send N requests — each request counts as one conversion against your monthly quota.

Start Splitting PDFs via API

Get your API key and extract pages from PDF documents in seconds. Free plan includes 10 conversions per month.

No credit card. 10 free conversions on Free plan.