Nodes/comfyui-fb-utils/FB Multiline String
ComfyUI Node

FB Multiline String

The text box that actually hands you a string

By FredBill1·Created 2 years ago·Updated about a year ago· 3
FB Multiline String
    • STRING
    value

    ComfyUI gives you single-line text boxes everywhere, which is fine until it isn't. You want to write a long prompt, a file path, a chunk of metadata - something you can actually read and edit in one place - and the default primitive text node's one-line box is a fight. FB Multiline String is exactly that missing thing: a big text area with exactly one output, the string you typed.

    It's the most boring node in the pack and somehow one of the most useful, because it's the source node a dozen little workflows quietly depend on.

    How it works

    There's no magic here. The node's execute just returns the value input unchanged. You type, it passes the text through, done. What you're really paying for is the interface: a multiline box that outputs a plain STRING you can wire into anything that accepts text - a CLIP Text Encode, a filename prefix, or any of the other FB string nodes.

    One detail worth knowing: dynamic prompts are explicitly disabled on this node. If you're coming from A1111-style wildcards or ComfyUI's {a|b} dynamic prompt syntax, that {this|that} in your text is passed through literally, not expanded. It's a one-line behavior change if you were hoping for batch variation - use a dedicated dynamic-prompts node for that, not this one.

    Inputs and outputs

    There's exactly one of each:

    • value - the multiline text field you type into.
    • STRING - the output. Wire it anywhere a string is expected.

    That's the whole node. Don't go looking for more.

    Why you'd reach for it

    Use it as your workflow's shared text source. Write a long prompt once in a roomy box, then feed that one output into FB String Replace for cleanup, FB String Split for breaking it apart, or straight into your text encoder. Keeping the text in one visible place beats hunting through a dozen cramped single-line fields when you need to tweak something mid-run.

    It also pairs naturally with the rest of the pack - Multiline String List gives you the same idea but outputs a list instead of a single string, so pick whichever matches where the text is going.

    Install

    This is one of seven nodes in the comfyui-fb-utils pack, and installing the pack installs them all. No dependencies, no models, nothing to download beyond the clone:

    cd ComfyUI/custom_nodes
    git clone https://github.com/FredBill1/comfyui-fb-utils
    

    Restart ComfyUI and it shows up under the FredBill1 category (ComfyUI Manager works too - search comfyui-fb-utils). The whole pack is pure Python standard library, so there's no pip step and nothing that can break your environment. The README is a single line, so if you're curious what the other nodes do, the code is the doc - and most of them are as transparent as this one.

    CategoryFredBill1

    Inputs (1)

    NameTypeDefaultDescription
    valueSTRING

    Outputs (1)

    NameTypeDescription
    STRINGSTRING