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

# StripWhitespace - ComfyUI Built-in Node Documentation

> This node removes any extra spaces, tabs, or newlines from the beginning and end of a text string.

This node removes any extra spaces, tabs, or newlines from the beginning and end of a text string. It takes a text input and returns a cleaned version with the leading and trailing whitespace trimmed off.

**Note: This node is deprecated and superseded by the Trim Text node.**

## Inputs

| Parameter | Description | Data Type | Required | Range |
| - | - | - | - | - |
| `text` | The text string from which to remove leading and trailing whitespace. | STRING | Yes | N/A |

## Outputs

| Output Name | Description | Data Type |
| - | - | - |
| `text` | The processed text with all leading and trailing whitespace characters removed. | STRING |

> This documentation was AI-generated. If you find any errors or have suggestions for improvement, please feel free to contribute! [Edit on GitHub](https://github.com/Comfy-Org/embedded-docs/blob/main/comfyui_embedded_docs/docs/StripWhitespace/en.md)

***

**Source fingerprint (SHA-256):** `182f01e15050b35cc33de7792886721873daf387a934befbe1ff37cbcd766143`


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.