Skip to content
cosmodev ~/tools/pdf-split

Séparateur de PDF

Images & Media

Divisez un PDF par page, taille de lot ou plages personnalisées — entièrement dans votre navigateur. Rien n'est téléversé.

Add a PDF to split it by page, chunk size, or custom ranges — everything runs in this tab.

(Documentation in English)

What it does

Splits one PDF into several smaller ones, entirely in your browser. The file is read with the File API and split with pdf-lib on your machine; nothing uploads, no server ever sees the bytes.

How to use

  1. Drop a PDF onto the drop zone (or click to browse). Its page count and size appear on the file card.
  2. Pick a mode: Every page, Chunk size, Ranges, or Extract.
  3. For Chunk size, enter the number of pages per output file. For Ranges or Extract, type a range spec — the planned output files are previewed live as you type.
  4. Press Split, then download each output file from the results panel.

Examples

  • A 12-page scan, Every page → page-1.pdf … page-12.pdf, one single-page file each.
  • A 5-page report with Chunk size 2 → chunk-1.pdf (pages 1–2), chunk-2.pdf (pages 3–4), chunk-3.pdf (page 5).
  • Ranges 1-3,5 on a 6-page document → pages-1-3.pdf and page-5.pdf.
  • Extract 1,3 → one output pages-1,3.pdf containing just those two pages.

Good to know

  • The range grammar has three forms: all (one file per page), N/chunk (groups of N pages in order — the last group may be short), and a comma-separated list of pages and a-b ranges (1-based, inclusive).
  • The spec is validated before splitting: empty input, unrecognised tokens, descending ranges (5-3), page numbers outside the document, and chunk sizes below 1 or above the page count all show an inline error instead of splitting.
  • Group names describe their contents: single pages get page-N.pdf, contiguous ranges get pages-A-B.pdf, chunks get chunk-K.pdf, and anything else joins its page numbers (pages-1,3.pdf).
  • Password-protected PDFs cannot be split — unlock them first; they show an inline error.
  • Everything runs in this tab. Reload the page and the files are gone — nothing is stored.
Code source14 languages

100% client-side · your data never leaves your browser. Found this useful? Share it with a teammate.