# Split PDF

> Extract a page range, or split a PDF into single pages or chunks, then download a PDF or a ZIP.

Free split PDF tool. Extract pages with a range such as 1-3,5, save every page as its own PDF, or split every N pages. The work runs in the browser and the file is not uploaded. Several files download as a ZIP.

- Page: https://benchline.fabwaseem.com/t/pdf-split
- Runs: in the browser. Input stays on the device.
- Price: free, no account
- Input: One PDF, a page range such as 1-3,5, and a mode: one file, every page, or every N pages.
- Output: A PDF for a single extract, or a ZIP of PDFs when the split produces more than one file.
- Keywords: split pdf, extract pdf pages, pdf splitter
- Updated: 2026-10-18
- Built by: Waseem Anjum (https://fabwaseem.com)

## How to use it

1. **Add a PDF.** Drop one PDF. It stays in this browser.
2. **Choose the pages and the mode.** Write a range, or leave it blank. Then extract one file, every page, or every N pages.
3. **Download.** One result downloads as a PDF. Several results download as a ZIP.

## Use it from an AI agent

MCP tool name: `split_pdf`
MCP endpoint: https://benchline.fabwaseem.com/mcp (Streamable HTTP, no key)
HTTP: POST https://benchline.fabwaseem.com/api/v1/tools/pdf-split with the input as the JSON body
This call fetches a public URL on the server. Private addresses are refused.

Extract a page range into one PDF, or split into single pages or chunks of N. Send base64 or a public URL. Private addresses are refused. Returns PDF base64 and a ZIP when there are several files.

### Input schema

```json
{
  "type": "object",
  "properties": {
    "name": {
      "default": "document.pdf",
      "type": "string"
    },
    "data": {
      "description": "PDF bytes as base64 or a data URI. Decoded size is capped at 10 MB. Provide data or url.",
      "type": "string"
    },
    "url": {
      "description": "Public URL of a PDF. Private and local addresses are refused. Provide data or url.",
      "type": "string"
    },
    "filename": {
      "type": "string"
    },
    "mimeType": {
      "type": "string"
    },
    "range": {
      "default": "",
      "description": "Pages to keep, such as 1-3,5. Blank keeps every page.",
      "type": "string"
    },
    "mode": {
      "default": "extract",
      "type": "string",
      "enum": [
        "extract",
        "pages",
        "chunks"
      ]
    },
    "every": {
      "default": 1,
      "description": "Used when mode is chunks.",
      "type": "integer",
      "minimum": 1,
      "maximum": 500
    }
  },
  "required": [
    "name",
    "range",
    "mode",
    "every"
  ],
  "additionalProperties": false
}
```

### Example tools/call

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "split_pdf",
    "arguments": {
      "name": "document.pdf",
      "url": "https://example.com/file",
      "range": "",
      "mode": "extract",
      "every": 1
    }
  }
}
```

Setup for Claude, Cursor, and VS Code: https://benchline.fabwaseem.com/mcp/guide

## Questions

### Are the pages uploaded?

No. The PDF is read and split in this browser. The download is built on this device.

### How do I write a page range?

Use page numbers from 1, separated by commas. 1-3,5 keeps pages 1, 2, 3, and 5. A blank box keeps every page.

### What is the difference between the three modes?

Extract builds one PDF from the range. Every page writes one PDF per selected page. Every N pages groups the selection into chunks.

### Why do I get a ZIP?

A single extract is one PDF. Every page and every N pages produce several PDFs, packed in a ZIP so you can download them together.

## Related tools

- [Merge PDF](https://benchline.fabwaseem.com/t/pdf-merge): Combine PDFs in the browser. Reorder them, keep a page range from each file, and download one document.
- [Compress PDF](https://benchline.fabwaseem.com/t/pdf-compress): Shrink a PDF in the browser. Pick a preset or a target size and compare the file before and after.
- [Image to PDF](https://benchline.fabwaseem.com/t/image-to-pdf): Turn JPG, PNG, and WebP images into one PDF. Set the page size, orientation, margin, and order.
- [QR code generator](https://benchline.fabwaseem.com/t/qr-code-generator): Make a static QR code for text, a URL, Wi-Fi, or a vCard. Set the colors and error correction, then download SVG or PNG.
