Nodes/Info Utils/Text Box
ComfyUI Node

Text Box

The big multiline text field that outputs exactly what you type

By exectails·Created 2 years ago·Updated 2 years ago· 3
Text Box
    • text
    text

    It's a text field. That's it. That's the whole node.

    Text Box (ETTextBoxNode) from the Info Utils pack is a multiline string input that returns exactly the text you typed in it. No processing, no truncation, no surprises - a passthrough box with a wide text area, in the exectails/Info category.

    ComfyUI already ships a do-everything "Primitive" node, so you might wonder why this exists. It's a single-purpose alternative for one common job: holding a long prompt or negative prompt that you keep editing. A dedicated box is easier to spot in a big graph, doesn't carry the extra widget clutter of the primitive, and its output plugs straight into CLIP Text Encode's text socket.

    How it works

    Dead simple under the hood. The node declares one required input, text (a multiline STRING, default empty), and one output, also named text (STRING). Its process method just returns the string it was given. That's the whole mechanism - which is exactly what you want from an input node: no hidden behavior between what you type and what the graph receives.

    The one thing to keep in mind is that it's a single-string node. Feed it a list (say, from a Dynamic Prompts node) and you won't get useful behavior out of it - if you're inspecting what a node is actually producing, that's what the pack's Show Data or Inspect Text nodes are for.

    How to install it

    Text Box ships in the Info Utils pack by exectails. There are no model downloads and no pip dependencies - the pack only uses libraries ComfyUI already bundles. Two ways in:

    Via ComfyUI Manager (easiest): open Manager → Custom Nodes → Install, search for "Info Utils", install, restart.

    Manually:

    cd ComfyUI/custom_nodes
    git clone https://github.com/exectails/comfyui-et_infoutils
    

    Then restart ComfyUI. You'll find Text Box under exectails/Info in the node menu (or use the search box and type "Text Box").

    The only gotcha worth knowing

    Because the output is a STRING, it only satisfies STRING sockets. Don't expect it to feed an INT input (say, steps or seed) - ComfyUI won't coerce it, so wire it to text inputs only. And remember that ComfyUI's SD 1.5/SDXL-era CLIP encoders quietly truncate prompts past 77 tokens; this node won't warn you about that. If you're wondering whether your prompt is getting cut off, that's what the pack's Token Counter node is for.

    Categoryexectails/Info

    Inputs (1)

    NameTypeDefaultDescription
    textSTRING

    Outputs (1)

    NameTypeDescription
    textSTRING