Categories

PDF Extract Selected Pages

Extract selected pages from one PDF and generate a new PDF

Create a focused PDF with only selected pages.

Examples:

  • Cover + summary: 1,10
  • Mixed ranges: 1-2,5,8-9
  • Keep order from input tokens and remove duplicates

Click to upload file or drag and drop file here

Maximum file size: 400MB Supported formats: application/pdf

Key Facts

Category
PDF Tools
Input Types
file, text
Output Type
file
Sample Coverage
4
API Ready
Yes

Overview

Create a focused PDF with only selected pages. **Examples:** - Cover + summary: `1,10` - Mixed ranges: `1-2,5,8-9` - Keep order from input tokens and remove duplicates

When to Use

  • Use it when you need to convert pdf content quickly in the browser.
  • Helpful for pdf tools workflows that need repeatable inputs and fast results.
  • A good fit when you want to test with real files before running the same workflow in code or API calls.

How It Works

  • Provide Source PDF File, Selected Pages as input to the tool.
  • The tool processes the request and returns a file result.
  • For file workflows, start with representative samples such as pdf test files to verify edge cases and output quality.

Use Cases

Convert pdf data during debugging or QA.
Validate expected output before using the API or automation flows.
Test the workflow with representative sample files and edge cases.

Try with Samples

pdf, file

Related Hubs

FAQ

What does PDF Extract Selected Pages do?

PDF Extract Selected Pages helps you convert pdf content online without setting up a separate local script or app.

When should I use this tool?

Use it when you need a quick convert workflow, want to verify output, or need a browser-based utility for pdf tools tasks.

Can I try this tool with sample data?

Yes. This page can recommend related sample files so you can test the workflow immediately.

What inputs does PDF Extract Selected Pages accept?

PDF Extract Selected Pages accepts Source PDF File, Selected Pages and supports file uploads for 1 field.

Is there an API for PDF Extract Selected Pages?

Yes. The tool page includes an API endpoint so you can move from manual testing to scripted usage.

API Documentation

Request Endpoint

POST /en/api/tools/pdf-extract-selected-pages

Request Parameters

Parameter Name Type Required Description
sourceFile file (Upload required) Yes -
selectedPages text Yes -

File type parameters need to be uploaded first via POST /upload/pdf-extract-selected-pages to get filePath, then pass filePath to the corresponding file field.

Response Format

{
  "filePath": "/public/processing/randomid.ext",
  "fileName": "output.ext",
  "contentType": "application/octet-stream",
  "size": 1024,
  "metadata": {
    "key": "value"
  },
  "error": "Error message (optional)",
  "message": "Notification message (optional)"
}
File: File

AI MCP Documentation

Add this tool to your MCP server configuration:

{
  "mcpServers": {
    "elysiatools-pdf-extract-selected-pages": {
      "name": "pdf-extract-selected-pages",
      "description": "Extract selected pages from one PDF and generate a new PDF",
      "baseUrl": "https://elysiatools.com/mcp/sse?toolId=pdf-extract-selected-pages",
      "command": "",
      "args": [],
      "env": {},
      "isActive": true,
      "type": "sse"
    }
  }
}

You can chain multiple tools, e.g.: `https://elysiatools.com/mcp/sse?toolId=png-to-webp,jpg-to-webp,gif-to-webp`, max 20 tools.

Supports URL file links or Base64 encoding for file parameters.

If you encounter any issues, please contact us at [email protected]