Splitting a PDF: page ranges, extraction and file size
The ways a PDF can be split, how to write a page range, and why the pieces do not always get smaller.
Updated
Splitting a PDF makes one or more new files that each contain some of the original's pages. The original file is not changed. As with merging, pages are copied rather than redrawn, so text stays selectable and images keep their quality.
Ways to split
- Extract a range. Pull out a run of pages, such as 5 to 12, into a new file.
- Extract selected pages. Pick pages that are not next to each other, such as 1, 4 and 9.
- Split every N pages. Cut the file into equal parts, for example one file per page or one file per ten pages.
- Split by bookmark. Start a new file at each top-level bookmark, which usually means one file per chapter. This only works if the file has bookmarks.
Writing a page range
Most tools accept the same shorthand: a dash for a run and a comma between items. 1-3, 7, 10-12 means pages 1, 2, 3, 7, 10, 11 and 12.
Count pages by their position in the file, starting at 1. The number printed on a page often does not match, because of covers, contents pages and roman-numeral front matter. If a PDF viewer shows something like "iv (4 of 120)", the second figure is the one to use.
Why the pieces may not be smaller
Pages in a PDF share resources. A font or a logo used on every page is stored once and referenced by each page. When you extract a single page, it needs its own copy of everything it uses, so:
- One page from a 100-page file is often much more than one hundredth of the original size.
- The sizes of all the pieces added together are usually larger than the original.
A good tool copies only the resources each piece actually uses.
What can be lost
- Bookmarks and links that point to pages no longer in the file.
- Form logic that depends on fields on other pages, such as a total that adds up values from elsewhere.
- Digital signatures. They apply to the original file and do not validate on a piece of it.
Removing pages is not redaction
Splitting off the pages you want to share is a sound way to leave the rest out; the removed pages are not in the new file. That is different from hiding content on a page you keep. Drawing a black box over text does not remove the text underneath. Use a proper redaction tool for that.
Related
To combine files, see merging PDFs. To turn pictures into a PDF, see JPG to PDF.