API & MCP

Everything a person can do on PDF Merge, Split & Reorder, a program or AI agent can do with the same inputs and get the identical result.

HTTP API

PDF Merge, Split & Reorder

Combines several PDFs into one in the order you choose, splits a PDF every N pages or by page ranges (download as a ZIP), and rearranges pages with a simple page syntax such as "1-3,5,8-end", "odd" or "reverse". Shows page counts before and after and a preview of the first page.

Inputs of PDF Merge, Split & Reorder
FieldTypeDefaultDescription
modeselect (merge, split-every, split-ranges, pages, remove, rotate)"merge"What to do
file (required)file—PDF. Max 100 MB in total.
file2file—PDF 2 (merge only). Optional additional PDF for merging.
file3file—PDF 3 (merge only). Optional additional PDF for merging.
file4file—PDF 4 (merge only). Optional additional PDF for merging.
file5file—PDF 5 (merge only). Optional additional PDF for merging.
zipfile—ZIP with more PDFs (merge only). Optional: up to 25 PDFs in total, added after the single files in file-name order.
ordertext—File order (merge). Numbers of the files in the order to merge, e.g. "2,1,3". Files not listed follow in upload order. Empty = upload order.
pagestext—Pages. For select/reorder, remove and rotate. Page numbers start at 1. Examples: "1-3,5,8-end", "odd", "even", "reverse", "10-1" (descending), "1-9:odd". Leave empty for all pages. For select/reorder, repeated pages are duplicated.
everyNinteger1Pages per part (split every N pages)
rangestextarea—Ranges (split by ranges). One part per range, separated by ";" or new lines. Each range uses the page syntax above.
angleselect (90, 180, 270)"90"Rotation (clockwise)
passwordtext—PDF password (only if the file is protected). Used only to open the file for this conversion; it is written to a private temporary file, never to a command line, and deleted with the job.

Every result contains

inputs (normalised, defaults applied), summary, result (validated against the published schema), units, assumptions, sources, warnings, computedAt and links.

MCP (Model Context Protocol)

{
  "mcpServers": {
    "pdf-merge-split-reorder": { "type": "http", "url": "https://pdfmergesplitreorder.usefulweb.site/mcp" }
  }
}