Multiline String Node (zer0)
A text box that actually hands its contents to the next node
- Output
ComfyUI's built-in Note node is fine for leaving yourself a sticky note, but it has a frustrating limitation: the text you type into it stays in the note. There's no output port, so the words can't flow into the rest of the graph. The Multiline String Node (zer0) is the fix - a multiline text box that also has an output wire, so you can write long text once and route it anywhere.
It's the simplest node in the zer0 Comfy Utilities pack, and honestly one of the more useful ones for that exact reason. The README describes it as "similar to a Note node" with an output widget, and that's the whole pitch. Where people actually reach for it: a shared positive prompt you don't want to retype into every workflow, a character description that gets reused, or a block of text that has to stay visible and editable in the graph instead of being buried in a converted widget on some other node.
What it does
One input, one output, nothing to misconfigure:
- input_string - a multiline STRING field, empty by default. Type (or paste) as much text as you want. The multiline flag means Enter makes a new line instead of confirming.
- Output - the same text, as a STRING output you can wire into a CLIP Text Encode, a text concat node, or anything else that takes a string.
That's it. It doesn't count tokens, it doesn't process anything, it doesn't call an API. It's a constant box with a wire.
Why this beats the alternatives
Core ComfyUI has gotten better at this - you can convert most widgets into inputs and use the Converted-Widget-to-Input trick, or wire from a Primitive node. But those are fiddly, and on a busy graph it's genuinely handy to have a big obvious text block labeled "THE PROMPT." The one thing to know before you build around it: the output is a plain string, not a list, so a node expecting a list of strings (like the pack's own List Combine Node) won't get what it wants if you wire this straight in. If your downstream node wants a list, use a string-to-list step first.
Install
Same as every node in this pack:
cd ComfyUI/custom_nodes
git clone https://github.com/zer0thgear/zer0-comfy-utils
Restart ComfyUI and it shows up under text utility. Or use ComfyUI Manager → Install Custom Nodes → search "zer0 Comfy Utilities" and let it pull the repo and its one dependency (tiktoken, needed by the sibling splitter node) automatically.
Nothing to download, no models, no VRAM touched. It's a personal utility from a small pack, not a maintained platform, but a four-line node doesn't need a support team. If all you want is a place to keep a long prompt that stays wired to your graph, this is the least fuss you'll find.
Inputs (1)
| Name | Type | Default | Description |
|---|---|---|---|
| input_string | STRING | — |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| Output | STRING | The multiline string |