---
title: "Check Length"
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/nodetool/text/checklength
markdown: https://docs.nodetool.ai/nodes/nodetool/text/checklength.md
product: NodeTool
source: https://github.com/nodetool-ai/nodetool/blob/main/docs/nodes/nodetool/text/checklength.md
---

# Check Length

**Type:** `nodetool.text.HasLength`

**Namespace:** `nodetool.text`

## Description

Checks if text length meets specified conditions.
    text, check, length, compare, validate, whitespace, string

## Properties

| Property | Type | Description | Default |
|----------|------|-------------|---------|
| text | `str` |  | `` |
| min_length | `int` |  | `0` |
| max_length | `int` |  | `0` |
| exact_length | `int` |  | `0` |

## Outputs

| Output | Type | Description |
|--------|------|-------------|
| output | `bool` |  |

## Related Nodes

Browse other nodes in the [nodetool.text](./) namespace.
