# phpman > man > pdfseparate(1)

> **TLDR:** Portable Document Format (PDF) file page extractor.
>
- Extract pages from PDF file and make a separate PDF file for each page:
  `pdfseparate {{path/to/source_filename.pdf}} {{path/to/destination_filename-%d.pdf}}`
- Specify the first/start page for extraction:
  `pdfseparate -f {{3}} {{path/to/source_filename.pdf}} {{path/to/destination_filename-%d.pdf}}`
- Specify the last page for extraction:
  `pdfseparate -l {{10}} {{path/to/source_filename.pdf}} {{path/to/destination_filename-%d.pdf}}`

*Source: tldr-pages*

---

[pdfseparate(1)](https://www.chedong.com/phpMan.php/man/pdfseparate/1/markdown)                         General Commands Manual                        [pdfseparate(1)](https://www.chedong.com/phpMan.php/man/pdfseparate/1/markdown)



## NAME
       pdfseparate - Portable Document Format (PDF) page extractor

## SYNOPSIS
       **pdfseparate** [options] _PDF-file_ _PDF-page-pattern_

## DESCRIPTION
       **pdfseparate** extract single pages from a Portable Document Format (PDF).

       pdfseparate  reads the PDF file _PDF-file_, extracts one or more pages, and writes one PDF file
       for each page to _PDF-page-pattern._

       PDF-page-pattern should contain **%d** (or any variant respecting printf format), since %d is re‐
       placed by the page number.

       The PDF-file should not be encrypted.

## OPTIONS
### -f
              Specifies the first page to extract. If -f is omitted, extraction starts with page 1.

### -l
              Specifies  the  last  page to extract. If -l is omitted, extraction ends with the last
              page.

### -v

### -h -help --help

## EXAMPLE
       pdfseparate sample.pdf sample-%d.pdf

       extracts all pages from sample.pdf, if i.e. sample.pdf has 3 pages, it produces

       sample-1.pdf, sample-2.pdf, sample-3.pdf

## AUTHOR
       The pdfseparate software and documentation are copyright 1996-2004 Glyph & Cog, LLC and copy‐
       right 2005-2011 The Poppler Developers - <http://poppler.freedesktop.org>

## SEE ALSO
       [**pdfdetach**(1)](https://www.chedong.com/phpMan.php/man/pdfdetach/1/markdown),    [**pdffonts**(1)](https://www.chedong.com/phpMan.php/man/pdffonts/1/markdown),    [**pdfimages**(1)](https://www.chedong.com/phpMan.php/man/pdfimages/1/markdown),   [**pdfinfo**(1)](https://www.chedong.com/phpMan.php/man/pdfinfo/1/markdown),   [**pdftocairo**(1)](https://www.chedong.com/phpMan.php/man/pdftocairo/1/markdown),   [**pdftohtml**(1)](https://www.chedong.com/phpMan.php/man/pdftohtml/1/markdown),
       [**pdftoppm**(1)](https://www.chedong.com/phpMan.php/man/pdftoppm/1/markdown), [**pdftops**(1)](https://www.chedong.com/phpMan.php/man/pdftops/1/markdown), [**pdftotext**(1)](https://www.chedong.com/phpMan.php/man/pdftotext/1/markdown) [**pdfsig**(1)](https://www.chedong.com/phpMan.php/man/pdfsig/1/markdown), [**pdfunite**(1)](https://www.chedong.com/phpMan.php/man/pdfunite/1/markdown)



                                          15 September 2011                           [pdfseparate(1)](https://www.chedong.com/phpMan.php/man/pdfseparate/1/markdown)
