/// EDIT
Free

Reorder PDF Pages API

Rearrange pages by an explicit order list — duplicate a page by naming it twice.

/// Quick answer

Reorder rebuilds the PDF's pages in exactly the order you list, 1-based. By default the order must include every source page exactly once (validated: true) — set validated: false to allow a partial reorder, and allow_duplicates: true to let the same page number appear more than once, which duplicates that page in the output.

Try Reorder PDF Pages API — free →Read the docs

Free account. No card required.

How does the Reorder PDF Pages API work?

One HTTP request from any language. Every ASHDOCS endpoint uses the same X-API-Key header.

curl -X POST https://www.ashdocs.com/api/v2/tools/pdf-reorder \
  -H "X-API-Key: ash_live_..." \
  -F "file=@document.pdf" \
  -F 'options={"order":[2,1,3,4,5,6,7,8,9,10]}'

Common use cases

RELATED TOOLS