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.
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
- An electronic filing system or court portal limits the size of each uploaded file.
- An email or file-transfer service will not accept a large PDF.
- A long document needs to be broken into volumes of a fixed number of pages.
How to run it
- Choose the folder of PDFs as Input and an Output folder outside it. Only
.pdffiles are processed. - Choose Split by:
SizeorPages. - Set Max size (MB) or Pages per part.
- Choose Name parts:
NumberedorBates. - Leave Keep bookmarks on unless the parts should have no bookmarks.
- 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
| Setting | What it does | Type and default |
|---|---|---|
Split by--mode |
Size: parts no larger than Max size (for upload limits). Pages: parts of Pages per part. | choice: Size, PagesSize |
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 |
number10 |
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 |
number100 |
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, BatesNumbered |
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/notrue |
Common settings
| Setting | What it does | Type 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/notrue |
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. | number4 |
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).
files\<name>\<name>_001.pdf …: The parts, in a folder per source PDF. A PDF within the limit is copied unchanged to its own path underfiles, not into a folder.split-pdfs.csv: One row per part: Part, FirstPage, LastPage, Pages, SizeBytes, Status (Written, Not split (within the limit) or Error), Destination, MD5 and Notes.errors.csv: PDFs that could not be opened (damaged or password-protected), with the reason.
Report columns
RelativePathFileNameStatusPartFirstPageLastPagePagesSizeBytesDestinationMD5NotesSourcePath
Check the result
- Read the notes. If a single page is larger than the limit on its own, it becomes a part by itself and is over the limit; the notes count these and the part's Notes give its size.
- Sort the report by SizeBytes to confirm every part is under the limit.
- Check for Error rows: a part that would have contained another page is not written.
- Open the first and last part of a large file and check the page ranges.
- 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
Batesnaming, 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.
- 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
- Split By Bookmarks: Splits each PDF into separate PDFs at its bookmarks (top level by default), one folder per document, with optional front matter. Links to pages outside a part are removed. PDFs without bookmarks are reported and not copied.
- Bates Stamp: Stamps sequential Bates numbers and an optional legend (e.g. CONFIDENTIAL) on every PDF page, correctly placed on rotated and cropped pages, writing stamped copies with a Beg/End Bates report.
- Combine PDFs: Combines PDFs into one: all of them, one per folder (e.g. an email with its attachments), or one per family by name. Each document is bookmarked, with its own bookmarks kept beneath.
- Resize PDFs: Normalises every page to A4, Letter, Legal or A3, scaling content to fit and centring it. Landscape pages stay landscape unless you force portrait. Text stays searchable and links keep working.