docubend

Split a PDF

Pick the pages you want. Take them as one file or as one file each.

How it works

  1. Drop your PDF in.
  2. Click the pages you want.
  3. Download them as one file, or one file per page.

What it does

Splitting is two different jobs wearing one name, and this does both. You can pull out the pages you want as a single new document, or break a file into one PDF per page. Pick the pages by clicking their thumbnails, so you are choosing what you can see rather than typing page numbers and hoping.

Choosing by looking

Every page is drawn as a thumbnail. Click the ones you want; click again to change your mind. For a long document that beats a range like 4-9, 14, 22, which is easy to get wrong by one and impossible to check afterwards without opening the result.

Keeping a range, or exploding the file

Keeping a selection gives you one PDF containing exactly those pages, in the original order. The other mode writes a separate file per page, which is what you want when a scanner has handed you thirty invoices in one document and each needs to go somewhere different.

The original is left alone

Splitting never modifies the file you started with — it is read, and new documents are written from it. Since all of that happens in this tab, the document you split does not go anywhere either. Nothing to upload, nothing waiting to be deleted afterwards.

Doing this from your own code

GET /api/v1/documents/{id}.pdf

?page= renders one page of a document as its own PDF.

curl
curl -s "https://docubend.com/api/v1/documents/$ID.pdf?page=4" \
  -H "Authorization: Bearer $TOKEN" -o page-4.pdf
JavaScript
const r = await fetch(`${BASE}/api/v1/documents/${id}.pdf?page=4`,
  { headers: { Authorization: `Bearer ${TOKEN}` } });
await writeFile("page-4.pdf", Buffer.from(await r.arrayBuffer()));
Python
pdf = requests.get(f"{BASE}/api/v1/documents/{id}.pdf",
    params={"page": 4},
    headers={"Authorization": f"Bearer {TOKEN}"}, timeout=60).content
open("page-4.pdf", "wb").write(pdf)
What it does not do. One page at a time, and no “one file per page”. Ranges and the zip are things the browser tool does that no endpoint does.

Read the reference for this endpoint · Get a credential

Questions

Can I split into a page range rather than single pages?

Yes. Select the pages you want and download them as one document, or switch to one-file-per-page.

Do the split files keep the original quality?

Yes. Pages are copied rather than re-rendered, so text stays text and images keep their resolution.

What happens to bookmarks and links?

Links to pages that are not in the new document have nothing to point at. Check the result if internal links matter to you.

Is there a page limit?

No page limit is enforced, but the file has to be under 25 MB and the work happens in your browser, so a very large document depends on your machine.

Can I split a scanned PDF?

Yes. Splitting works on pages, and a scanned page is still a page.

Next

Tool What it does Runs in Same thing, programmatically
Merge PDF files Join several PDFs into one, in the order you choose. your browser no endpoint
Delete pages from a PDF Remove the pages you do not want to send. your browser the document model
Reorder PDF pages Drag pages into the right order. your browser the document model
Convert PDF to JPG Get every page as a JPG or a PNG. your browser GET /api/v1/documents/{id}.png

All 16 tools · API documentation · What an account adds