---
title: "Page ranges"
description: "Learn how to process specific pages or ranges of pages in your documents"
---

> Documentation Index
> Fetch the complete documentation index at: https://docs.reducto.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Page ranges

Reducto allows you to specify which pages of a document to process using the `page_range` parameter in the advanced options. You can either specify a single range of pages or multiple ranges for more complex scenarios.

## Single range configuration

For processing a continuous range of pages, specify a single object with `start` and `end` page numbers:

```python
{
  "advanced_options": {
    "page_range": {
      "start": 1,
      "end": 10
    }
  }
}
```

This configuration will process pages 1 through 10 of your document.

## Multiple ranges configuration

For processing multiple distinct ranges of pages, provide a list of range objects:

```python
{
  "advanced_options": {
    "page_range": [
      {
        "start": 1,
        "end": 5
      },
      {
        "start": 10,
        "end": 15
      }
    ]
  }
}
```

This configuration will process:
- Pages 1 through 5
- Pages 10 through 15

## Notes

- Page numbers are 1-indexed (first page is page 1)
- If no page range is specified, the entire document will be processed
- The `end` page must be greater than or equal to the `start` page
- For multiple ranges, they do not need to be in order
- Overlapping ranges are allowed and will be processed only once

Source: https://docs.reducto.ai/v/legacy/parsing/configs/page-ranges/index.mdx
