> ## 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.

# ReplaceText - ComfyUI Built-in Node Documentation

> Complete documentation for the ReplaceText node in ComfyUI. Learn its inputs, outputs, parameters and usage.

> 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/ReplaceText/en.md)

The Replace Text node performs a simple text substitution. It searches for a specified piece of text within the input and replaces every occurrence with a new piece of text. The operation is applied to all text inputs provided to the node.

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

## Inputs

| Parameter | Data Type | Required | Range | Description                                   |
| --------- | --------- | -------- | ----- | --------------------------------------------- |
| `text`    | STRING    | Yes      | -     | The text to process.                          |
| `find`    | STRING    | Yes      | -     | Text to find (default: empty string).         |
| `replace` | STRING    | Yes      | -     | Text to replace with (default: empty string). |

## Outputs

| Output Name | Data Type | Description                                                                                |
| ----------- | --------- | ------------------------------------------------------------------------------------------ |
| `text`      | STRING    | The processed text with all occurrences of the `find` text replaced by the `replace` text. |

***

**Source fingerprint (SHA-256):** `38beeabc232b19efedf2dcf4e2490f537d9a07d60c89de2811b7a4bddb98cf57`
