---
title: "PDF Search Text"
description: "Local-first visual environment for building and running AI workflows. Build agents visually, deploy anywhere, privacy by design."
canonical: https://docs.nodetool.ai/nodes/lib/pdf/pdfsearchtext
markdown: https://docs.nodetool.ai/nodes/lib/pdf/pdfsearchtext.md
product: NodeTool
source: https://github.com/nodetool-ai/nodetool/blob/main/docs/nodes/lib/pdf/pdfsearchtext.md
---

# PDF Search Text

**Type:** `lib.pdf.SearchText`

**Namespace:** `lib.pdf`

## Description

Search a PDF for a phrase and return each match with its page number and bounding box.
    pdf, search, find, phrase, text, location, bbox

## Properties

| Property | Type | Description | Default |
|----------|------|-------------|---------|
| phrase | `str` | Text phrase to search for | `` |
| case_sensitive | `bool` | Whether the search is case-sensitive | `false` |
| start_page | `int` | First page to search (0-based) | `0` |
| end_page | `int` | Last page to search (-1 for all) | `-1` |

## Outputs

| Output | Type | Description |
|--------|------|-------------|
| output | `list[dict]` |  |

## Related Nodes

Browse other nodes in the [lib.pdf](./) namespace.
