Select specific pages from a PDF


qpdf

qpdf input.pdf --pages . 64-68 -- output.pdf

pdftk

Use the pdftk command line tool to select pages 1 to n:

pdftk input.pdf cat 1-n output out.pdf

To select several sets of pages, add more groups separated by spaces:

pdftk input.pdf cat 1-2 10-15 31-32 output out.pdf

Date: 2019-09-29, Updated: 2026-01-29

Tags:  pdf

Share: