PDF

Split PDFs

Splits PDFs into parts no larger than a set file size, for court and portal upload limits, or into parts of a set number of pages.

Free Command line: split-pdfs Version 1.0

Split PDFs breaks each large PDF into consecutive parts and writes them to a folder named after the source file, inside the run's files folder. By size, each part takes as many pages as will fit under the limit; the size is measured by actually saving the part, so the limit is met exactly rather than estimated. By pages, each part has the chosen number of pages and the last part has what is left. PDFs already within the limit are copied unchanged. The originals are not changed.

Parts are named name_001.pdf, name_002.pdf and so on, or by the Bates number of each part's first page. Each part keeps the bookmarks that point to its own pages. Each part contains only its own pages: links leading outside it are removed, and each saved part is checked to make sure it holds no other page.

Use it when

How to run it

  1. Choose the folder of PDFs as Input and an Output folder outside it. Only .pdf files are processed.
  2. Choose Split by: Size or Pages.
  3. Set Max size (MB) or Pages per part.
  4. Choose Name parts: Numbered or Bates.
  5. Leave Keep bookmarks on unless the parts should have no bookmarks.
  6. Click Run, read the notes, then click Open report to check each part's pages and size.

Settings

Every setting has the same help beside it in the app. On the command line, pass each as --name value; ltk help split-pdfs lists them.

Settings

SettingWhat it doesType and default
Split by
--mode
Size: parts no larger than Max size (for upload limits). Pages: parts of Pages per part. choice: Size, Pages
Size
Max size (MB)
--max-mb
Largest part, in megabytes (1 MB = 1,000,000 bytes, the stricter reading of a limit). PDFs already this small are copied unchanged.
Between 1 and 10,000. 1 MB is counted as 1,000,000 bytes, the stricter reading of a limit, so a part that meets a 10 MB limit here also meets a limit of 10 × 1,048,576 bytes.
Shown when mode = Size
number
10
Pages per part
--pages
Pages in each part (the last part has what is left). PDFs with this many pages or fewer are copied unchanged.
At least 1. Part numbers get more digits if needed, so they always sort in order.
Shown when mode = Pages
number
100
Name parts
--naming
Numbered: name_001.pdf, name_002.pdf… Bates: by the Bates number of each part's first page, counting on from the file name (ABC0001.pdf becomes ABC0001.pdf, ABC0051.pdf…).
Bates reads the number at the end of the file name and counts on by page: ABC000001.pdf split after page 50 gives ABC000001.pdf and ABC000051.pdf, so each part's name is its first page's Bates number. If the file name does not end in a number, the parts are numbered instead and the Notes column says so.
choice: Numbered, Bates
Numbered
Keep bookmarks
--bookmarks
Each part keeps the bookmarks that point to its own pages.
A bookmark goes into the part that contains the page it points to, so each part has the bookmarks for its own pages.
yes/no
true

Common settings

SettingWhat it doesType and default
Input required
--input
Folder (or single file) to read. It is opened read-only and never modified. folder
empty
Output required
--output
Folder for reports. Must not be inside the input folder. Each run gets its own sub-folder. folder
empty
Recurse
--recurse
Include sub-folders. yes/no
true
Extensions
--extensions
Only process these extensions (e.g. .pdf, .docx). Empty means the tool's default set. list
empty
Parallelism
--parallelism
Files processed at once. Use 1-2 for spinning disks or network shares. number
4

What you get

Each run creates its own folder inside the output folder, with the report split-pdfs.csv, errors.csv and manifest.json (see Run folders and manifests).

Report columns

Check the result

Tips
  • A page over the limit on its own, typically a high-resolution scan or photograph, must be made smaller before it can be uploaded; the part's note suggests resizing or compressing it.
  • Split after Bates stamping and use Bates naming, so each part's file name shows where it starts in the production.
  • If the PDFs contain form fields, flatten them first: form fields in the parts are not interactive, and the notes say so.
Watch out for
  • Splitting by size puts the break wherever the limit falls, which may be in the middle of a document within a bundle. Use Split By Bookmarks when parts must follow document boundaries.

From the command line

The command line is part of LitTechKit Pro. See Command line.

ltk run split-pdfs --input "D:\Matter\Filing" --output "D:\Matter\Filing split" --mode Size --max-mb 10 --naming Bates

Related tools