---
title: "Extract pages from PDFs easily"
canonical_url: "https://www.nutrient.io/guides/document-automation-server/content-extraction/kingfisher-operations/extract-pages-from-pdf-file/"
md_url: "https://www.nutrient.io/guides/document-automation-server/content-extraction/kingfisher-operations/extract-pages-from-pdf-file.md"
last_updated: "2026-06-08T17:26:16.293Z"
description: "Utilize Document Automation Server to extract pages from PDFs based on text or barcode, enabling single page or merged document outputs."
---

# Efficiently extract PDF pages using DAS

![Extract Pages From File Based on Text Match](@/assets/guides/document-automation-server/content-extraction/image69.png)

## Extract pages from file based on text match

This step allows you to extract single pages from a PDF file based on the presence of a text value in a zone. For example, in the image below you might want to extract any page that has a date value (Jun. 25, 2002) at that location, all you need to do is to:

- Set up an **Extract Pages from File based on Text Match** job.

- Select the zone.

- Provide a matching pattern to make sure a date is extracted.

Document Automation Server (DAS) Content Extraction also gives you the ability to rename the output file based on the text extracted from the PDF page.![Extract PDF Pages Options](@/assets/guides/document-automation-server/content-extraction/image70.png)

The extract step has the following settings:![Extract Step Settings](@/assets/guides/document-automation-server/content-extraction/image71.png)

| Screen Field/Button                                        | Description                                                                               |
| ---------------------------------------------------------- | ----------------------------------------------------------------------------------------- |
| **Extract as Single Pages**                                | This option copies all the extracted pages as single page PDF files to the output folder. |
| **Merge All Extracted Pages**                              | Merges all the pages that were extracted into one document.                               |
| **Merge Extracted Pages on Unique Expressions That Merge** | Merges All the extracted pages that have equal `%VALUE1%` values.                         |

## Extract pages from file name based on barcode

This step allows you to extract single pages from a PDF file based on the presence of a barcode value in a zone. For example, in the image below, you might want to extract any page that has a barcode at that location. All you need to do is to set up an “Extract Pages from File based on Barcode” job and select the zone you are interested in. If no zone is selected, the first barcode found in a page will be used.

DAS Content Extraction also gives you the ability to rename the output file base on the value extracted from the PDF page.![Extract Pages Based on Barcode](@/assets/guides/document-automation-server/content-extraction/image72.png)

The extract step has the following settings:![Extract Step Settings](@/assets/guides/document-automation-server/content-extraction/image71.png)

| Screen Field/Button                                        | Description                                                                               |
| ---------------------------------------------------------- | ----------------------------------------------------------------------------------------- |
| **Extract as Single Pages**                                | This option copies all the extracted pages as single page PDF files to the output folder. |
| **Merge All Extracted Pages**                              | Merges all the pages that were extracted into one document.                               |
| **Merge Extracted Pages on Unique Expressions That Merge** | Merges All the extracted pages that have equal `%VALUE1%` values.                         |

---

## Related pages

- [Effortless content extraction from PDF files](/guides/document-automation-server/content-extraction/kingfisher-operations/extract-content-from-pdf-file.md)
- [Explore document automation and content extraction](/guides/document-automation-server/content-extraction/kingfisher-operations.md)
- [How to rename PDF files using barcodes and text](/guides/document-automation-server/content-extraction/kingfisher-operations/rename-pdf-file.md)
- [Effortlessly split PDF files based on criteria](/guides/document-automation-server/content-extraction/kingfisher-operations/split-pdf-file.md)

