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/pdfAdvantages
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.
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?
The API accepts PDF files up to 50 MB on the Pro plan and up to 10 MB on the Free plan. If your document exceeds the limit, consider compressing it first using the Compress PDF endpoint before splitting.
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.
Related Tools
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.