Split merged PDFs into separate documents

Nutrient Data Extraction API splits merged PDFs — such as scanned batches, loan packages, and claim files — into separate documents. One call finds where every document starts and ends, with a confidence score for each boundary. No page ranges to set upfront.


Trusted by enterprises, governments, and teams building document workflows at scale

Used by Lufthansa, Disney, Autodesk, UBS, Dropbox, IBM
Lufthansa
Disney
Autodesk
UBS
Dropbox
IBM

$0.003 per page

Whatever the output

$5 of free usage

Every month, no credit card

PDF, images, Office files

Scans, PNG, JPEG, TIFF, and DOCX, uploaded or by URL

HOW IT WORKS

Automatic document separation, page by page

The Nutrient Data Extraction API split endpoint scores every page of a merged file for whether it starts a new document. It reads the page image as well as the text, and each boundary gets a confidence score. Auto-accept confident boundaries, review uncertain ones, and route each document onward.

Send the file

A merged PDF or scan, uploaded or by URL.

The split endpoint finds the document boundaries

Each page is scored for whether it starts a new document. Every point where one document ends and the next begins is a document boundary.

Check the uncertain boundaries

Auto-accept confident boundaries; send low-confidence ones for review.

Route each document

Send each document to classify, extract, or your own queue.


Nothing to set upfront

No document count, positions, or layouts to define.

No templates, barcodes, or separator sheets

No patch codes, blank pages between documents, keyword rules, or template per document type. Send the batch as it comes off the scanner.

Reads the page, not just the text

Scores the page image as well as the text, so it works on scans where the text alone looks the same from page to page.

ONE CALL

One file in, documents out

POST /extraction/split returns one entry per document, in page order, with the confidence that a new document starts on its first page.

Request

Multipart upload with options

curl
curl -X POST https://api.nutrient.io/extraction/split \
-H "Authorization: Bearer your_api_key_goes_here" \
-F "file=@merged-batch.pdf" \
-F 'instructions={"options":{"output":"json","boundaryThreshold":0.8}}'

Response

One page range per document

.json
{
"status": 200,
"requestId": "req_sp_001",
"output": {
"segments": [
{ "startPage": 1, "endPage": 3, "pageCount": 3, "boundaryConfidence": 1 },
{ "startPage": 4, "endPage": 5, "pageCount": 2, "boundaryConfidence": 0.95 },
{ "startPage": 6, "endPage": 10, "pageCount": 5, "boundaryConfidence": 0.84 },
{ "startPage": 11, "endPage": 12, "pageCount": 2, "boundaryConfidence": 0.97 }
]
},
"metrics": {
"processingTimeMs": 2310,
"pagesProcessed": 12
},
"usage": {
"global_usd": {
"cost": "0.04248",
"currency": "USD",
"includedBalance": "72.40",
"walletBalance": "0.00"
}
}
}

OUTPUT

Choose your output

Request a confidence score for every page. Then auto-accept high-confidence boundaries and send low-confidence ones to a person.

Boundaries as JSON

The page range of each document, ready to route in your own code. The default output.

JSON

Separate files

A ZIP with one PDF per document, served from the stored run with a download link.

ZIP

Both

The page ranges for your pipeline and the files for your archive, in one response.

JSON + ZIP

ONE API

Parse, split, classify, extract

The split endpoint is part of the Data Extraction API, the same API that parses, classifies, and extracts. Every step returns deterministic JSON with confidence scores and page context, ready for agents, RAG, search, automation, and human review.

A merged document stack split into an invoice, a bank statement, and an ID card, each classified and extracted into fields such as invoice number, total, account holder, and date of birth

USE CASES

Which merged batches can you split?


STUDIO

Tune the threshold in Studio. Then call the endpoint.

Run a merged document or the built-in example in the split workbench before wiring the endpoint into a pipeline. Adjust the boundary threshold, check the per-page confidences, choose the output, and save the settings as a preset.

Split workbench configuration with the boundary threshold set to 0.8, page confidences turned on, and the output options page ranges (JSON), split documents (ZIP), or both

Tested in the open

The splitting model behind split is scored on a public document-splitting leaderboard on Hugging Face, alongside other splitters and cloud vision models.

A flat $0.003 per page

One price per page, whatever the number of documents in the file or the output you choose: A 10-page file costs $0.03. Start free with $5 of usage every month and no credit card, the same free plan as the rest of the Data Extraction API.

Runs on Nutrient DWS

The split endpoint runs on Nutrient DWS, a SOC 2 Type 2-audited API, with HTTPS/TLS encryption in transit. Data retention depends on your plan, and ZIP output is always stored as a run so the archive can be downloaded.


Document separation questions

Send the file to the split endpoint of the Nutrient Data Extraction API. It returns where each document starts and ends, as JSON page ranges, a ZIP of separate PDFs, or both.

Document separation is finding the boundaries between documents in one scanned batch or merged file, so each document can be classified, extracted, and filed on its own.

No. The endpoint finds the boundaries from the pages themselves, so you can send batches as they come off the scanner.

The split PDF API cuts a file at page ranges you choose. The split endpoint finds the ranges for you when you don’t know them. Learn about the split PDF API.

PDFs, images such as PNG, JPEG, and TIFF, and Office documents such as DOCX. Upload the file, or pass the URL of a document that’s already hosted.

Yes. The endpoint scores each page from its image as well as its text, so it finds boundaries in scans where the wording alone looks the same from page to page.

Each boundary comes with a confidence score. Accept high scores automatically and send low-scoring ones to a person for review. The boundary threshold defaults to 0.8: Lower it to cut more often, or raise it to keep uncertain pages together. Set includePageConfidences to true to get the score for every page.

No. It returns page ranges. To label each document, send it to the classify endpoint with your own labels, and then to the extract endpoint for the fields you need. Explore document classification.

No. Split runs on the Nutrient document decision model, which is trained for document tasks. It reads the page image as well as the text, answers each boundary question with a choice and a score instead of generating text, and runs on Nutrient’s own servers.

A flat $0.003 per page of the source document, whatever the output. New accounts start free with $5 of usage every month, no credit card.

It depends on your plan and the output you choose. ZIP and both outputs are always stored as a run, which lets the archive be served. Stored runs count against your run-storage quota and expire when the run is deleted. Read the security guide.

The split endpoint runs on Nutrient DWS, a managed cloud API. To split documents locally, use Nutrient Python SDK or Java SDK, which detect document boundaries on your own machine. See the Python guide or the Java guide.


Start free

Send your messiest batch

Get an API key and split your first merged PDF in minutes.

Your free plan includes:

    • $5 of usage every month, priced per page in US dollars
    • Split PDFs, images, and Office files
    • Page ranges, a ZIP of PDFs, or both
    • $0.003 per page, whatever the output