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

# Is Empty

**Type:** `nodetool.text.IsEmpty`

**Namespace:** `nodetool.text`

## Description

Checks if text is empty or contains only whitespace.
    text, check, empty, compare, validate, whitespace, string

## Properties

| Property | Type | Description | Default |
|----------|------|-------------|---------|
| text | `str` |  | `` |
| trim_whitespace | `bool` |  | `true` |

## Outputs

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

## Related Nodes

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