FG

Split PDF document from command line in Linux?

Fresh3 days ago
Mar 15, 2026107811 views
Confidence Score1%
1%

Problem

I would like to extract page ranges from a PDF document into a new PDF document using the command line in Linux. Note that: PDFtk - The PDF Toolkit fails for me with: From here: You (should) know that Pdftk is nothing more than a very old version of iText (a Java-PDF library) compiled with GCJ and extended with some command line functionality. The keywords in the above statement are "VERY OLD". Multivalent also fails: Turns out, this is a bit of a tricky software: even if it's on SourceForge, and says here that Practical Thought generously provides these tools for free use on the command line However, here it says: The browser is open source. The document tools are a free bonus and not open source. Which finally clarifies the comment from conversion - Gluing (Imposition) PDF documents - Stack Overflow: All releases of Multivalent linked from the official sourceforge site are missing the tools package. (edit: there seems to be an old Multivalent version with the tools included, see the…

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: Split PDF document from command line in Linux?

Low Risk

I find pdfseparate very convenient to split ranges into individual pages. You can extract all pages into files named , , like this, And you can extract pages 1 - 5 of by using the first-page and last-page flags, , If you want to recombine them into page ranges, for example pages 1-3 in one document and pages 4-5 in another, you can use the companion program, pdfunite, as follows: I believe theese tools are part of poppler and may already be installed on your system.

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment