{
    "mode": "man",
    "parameter": "pdfseparate",
    "section": "1",
    "url": "https://www.chedong.com/phpMan.php/man/pdfseparate/1/json",
    "generated": "2026-06-15T14:37:30Z",
    "synopsis": "pdfseparate [options] PDF-file PDF-page-pattern",
    "sections": {
        "NAME": {
            "content": "pdfseparate - Portable Document Format (PDF) page extractor\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "pdfseparate [options] PDF-file PDF-page-pattern\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "pdfseparate extract single pages from a Portable Document Format (PDF).\n\npdfseparate  reads the PDF file PDF-file, extracts one or more pages, and writes one PDF file\nfor each page to PDF-page-pattern.\n\nPDF-page-pattern should contain %d (or any variant respecting printf format), since %d is re‐\nplaced by the page number.\n\nThe PDF-file should not be encrypted.\n",
            "subsections": []
        },
        "OPTIONS": {
            "content": "",
            "subsections": [
                {
                    "name": "-f",
                    "content": "Specifies the first page to extract. If -f is omitted, extraction starts with page 1.\n",
                    "flag": "-f"
                },
                {
                    "name": "-l",
                    "content": "Specifies  the  last  page to extract. If -l is omitted, extraction ends with the last\npage.\n",
                    "flag": "-l"
                },
                {
                    "name": "-v",
                    "content": "",
                    "flag": "-v"
                },
                {
                    "name": "-h -help --help",
                    "content": "",
                    "flag": "-h",
                    "long": "--help"
                }
            ]
        },
        "EXAMPLE": {
            "content": "pdfseparate sample.pdf sample-%d.pdf\n\nextracts all pages from sample.pdf, if i.e. sample.pdf has 3 pages, it produces\n\nsample-1.pdf, sample-2.pdf, sample-3.pdf\n",
            "subsections": []
        },
        "AUTHOR": {
            "content": "The pdfseparate software and documentation are copyright 1996-2004 Glyph & Cog, LLC and copy‐\nright 2005-2011 The Poppler Developers - http://poppler.freedesktop.org\n",
            "subsections": []
        },
        "SEE ALSO": {
            "content": "pdfdetach(1),    pdffonts(1),    pdfimages(1),   pdfinfo(1),   pdftocairo(1),   pdftohtml(1),\npdftoppm(1), pdftops(1), pdftotext(1) pdfsig(1), pdfunite(1)\n\n\n\n15 September 2011                           pdfseparate(1)",
            "subsections": []
        }
    },
    "summary": "pdfseparate - Portable Document Format (PDF) page extractor",
    "flags": [
        {
            "flag": "-f",
            "long": null,
            "arg": null,
            "description": "Specifies the first page to extract. If -f is omitted, extraction starts with page 1."
        },
        {
            "flag": "-l",
            "long": null,
            "arg": null,
            "description": "Specifies the last page to extract. If -l is omitted, extraction ends with the last page."
        },
        {
            "flag": "-v",
            "long": null,
            "arg": null,
            "description": ""
        },
        {
            "flag": "-h",
            "long": "--help",
            "arg": null,
            "description": ""
        }
    ],
    "examples": [
        "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"
    ],
    "see_also": [
        {
            "name": "pdfdetach",
            "section": "1",
            "url": "https://www.chedong.com/phpMan.php/man/pdfdetach/1/json"
        },
        {
            "name": "pdffonts",
            "section": "1",
            "url": "https://www.chedong.com/phpMan.php/man/pdffonts/1/json"
        },
        {
            "name": "pdfimages",
            "section": "1",
            "url": "https://www.chedong.com/phpMan.php/man/pdfimages/1/json"
        },
        {
            "name": "pdfinfo",
            "section": "1",
            "url": "https://www.chedong.com/phpMan.php/man/pdfinfo/1/json"
        },
        {
            "name": "pdftocairo",
            "section": "1",
            "url": "https://www.chedong.com/phpMan.php/man/pdftocairo/1/json"
        },
        {
            "name": "pdftohtml",
            "section": "1",
            "url": "https://www.chedong.com/phpMan.php/man/pdftohtml/1/json"
        },
        {
            "name": "pdftoppm",
            "section": "1",
            "url": "https://www.chedong.com/phpMan.php/man/pdftoppm/1/json"
        },
        {
            "name": "pdftops",
            "section": "1",
            "url": "https://www.chedong.com/phpMan.php/man/pdftops/1/json"
        },
        {
            "name": "pdftotext",
            "section": "1",
            "url": "https://www.chedong.com/phpMan.php/man/pdftotext/1/json"
        },
        {
            "name": "pdfsig",
            "section": "1",
            "url": "https://www.chedong.com/phpMan.php/man/pdfsig/1/json"
        },
        {
            "name": "pdfunite",
            "section": "1",
            "url": "https://www.chedong.com/phpMan.php/man/pdfunite/1/json"
        }
    ],
    "tldr": {
        "source": "official",
        "description": "Portable Document Format (PDF) file page extractor.",
        "examples": [
            {
                "description": "Extract pages from PDF file and make a separate PDF file for each page",
                "command": "pdfseparate {{path/to/source_filename.pdf}} {{path/to/destination_filename-%d.pdf}}"
            },
            {
                "description": "Specify the first/start page for extraction",
                "command": "pdfseparate -f {{3}} {{path/to/source_filename.pdf}} {{path/to/destination_filename-%d.pdf}}"
            },
            {
                "description": "Specify the last page for extraction",
                "command": "pdfseparate -l {{10}} {{path/to/source_filename.pdf}} {{path/to/destination_filename-%d.pdf}}"
            }
        ]
    }
}