---
title: Split PDF into Single Pages API
slug: split-pdf-into-single-pages
url: https://apyhub.com/sarvasoft/service/split-pdf-into-single-pages
provider: SARVASOFT OPC PRIVATE LIMITED
categories: [Ingestion Kit, Document Intelligence Kit, Output Kit]
tags: [pdf-splitting, document-processing, page-extraction, file-conversion]
auth: api_key
version: 2.0.0
service_type: sync
endpoints: 1
atoms: 15
mcp: true
---

# Split PDF into Single Pages API

Split PDF into single pages API: send a PDF by URL or base64 and get every page back as its own PDF, as JSON, base64 or links. Free tier, no card.

## Endpoints

| Method | URL | Description | Atoms |
| --- | --- | --- | --- |
| POST | `https://api.eu.apyhub.com/sarvasoft/split-pdf-into-single-pages/pdf/split` | What it does Splits a PDF into single pages and returns each page as its own PDF. Send the PDF as a… | 15 |

## Endpoint reference

### Split PDF into pages

`POST https://api.eu.apyhub.com/sarvasoft/split-pdf-into-single-pages/pdf/split` · 15 atoms · accepts `application/json` · returns `application/json`

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `pdf_url` | body | string (uri) | no | Public URL of the PDF to split. Must be http or https. Provide exactly one of pdf_url or pdf_base64. Example: `https://assets.apyhub.com/samples/sample.pdf`. |
| `filename` | body | string | no | Name prefix for the page files. Default: `page`. Example: `page`. |
| `pdf_base64` | body | string | no | Base64-encoded PDF to split. The whole request body must be under 5 MB. Provide exactly one of pdf_url or pdf_base64. Example: `JVBERi0xLjQKJeLjz9MK...`. |
| `output_mode` | body | string | no | Legacy container option for older clients. Use response_mode instead. One of: zip, array. Default: `zip`. Example: `zip`. |
| `response_mode` | body | string | no | How the pages are returned: binary (a file), base64, json (base64 pages plus page count) or url (one temporary download link per page). One of: binary, base64, json, url. Default: `binary`. Example:… |

#### Quickstart

Split a PDF into single pages and get each page back as base64 in JSON.

```bash
curl -X POST "https://api.eu.apyhub.com/sarvasoft/split-pdf-into-single-pages/pdf/split" \
  -H "apy-token: $APY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"pdf_url":"https://assets.apyhub.com/samples/sample.pdf","response_mode":"json"}'
```

#### What you'll get back

Returns a JSON object with the page count and one base64 entry per page.

```json
{
  "page_count": 2,
  "pages": {
    "page_1.pdf": "JVBERi0xLjMKJb/3ov4KMSAwIG9iago8PCAvUGFnZXMgMiAwIFI...",
    "page_2.pdf": "JVBERi0xLjMKJb/3ov4KMSAwIG9iago8PCAvUGFnZXMgMiAwIFI..."
  }
}
```

## About

## What it does
The Split PDF into Single Pages API turns one PDF into many. Send a PDF as a public `pdf_url` or a `pdf_base64` string, and get every page back as its own single-page PDF.

Every page is split out. There is no page range input, so a 10-page PDF always returns 10 files. Set `filename` to choose the name prefix for those files, which defaults to `page`.

Choose how the pages come back with `response_mode`. `binary` returns a file and is the default. `base64` returns each page as a base64 string. `json` adds the page count. `url` returns one temporary download link per page.

Teams use the Split PDF into Single Pages API to break invoice packets apart for routing. They also turn scanned batches into one file per page and prepare pages for review or OCR. It works in backends and serverless functions that never write files to disk.

To keep only some pages, use the [Split PDF by Page Range API](https://apyhub.com/freedailypro/service/split-pdf-by-page-ranges) instead. Before splitting, the [Rotate PDF from URL API](https://apyhub.com/sarvasoft/service/rotate-pdf-from-url) can fix sideways pages. After splitting, the [Extract PDF Content API](https://apyhub.com/sarvasoft/service/extract-pdf-content) reads the text of each page.

AI agents can call it through ApyHub MCP.

## Usage

Base URL: `https://api.eu.apyhub.com` (default region — see
`GET https://apyhub.com/api/public/regions` for the rest).

Authenticate with an ApyHub API key in the `apy-token` header.
Full docs and a live playground: https://apyhub.com/sarvasoft/service/split-pdf-into-single-pages
