---
title: "PDF Page Count"
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/pdfpagecount
markdown: https://docs.nodetool.ai/nodes/lib/pdf/pdfpagecount.md
product: NodeTool
source: https://github.com/nodetool-ai/nodetool/blob/main/docs/nodes/lib/pdf/pdfpagecount.md
---

# PDF Page Count

**Type:** `lib.pdf.PageCount`

**Namespace:** `lib.pdf`

## Description

Get the total number of pages in a PDF document.
    pdf, pages, count, length

## Properties

_(none)_

## Outputs

| Output | Type | Description |
|--------|------|-------------|
| output | `int` |  |

## Related Nodes

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