Empty String
The node that outputs nothing (and why that's the point)
- string
This is the smallest honest node you'll ever meet. Empty String takes no inputs, does no computation, and returns exactly one thing: an empty string. In a workflow editor that's occasionally exactly what you need.
The situation it solves: you've got a text-concatenation node - WAS Node Suite's Text Concatenate, or any prompt-builder - where every input socket needs a feed, or an optional STRING input that stays None until something is wired into it. You want the branch to exist but contribute nothing. ComfyUI core already ships PrimitiveString for text values; this node is the degenerate sibling that always outputs "". You never have to type anything, and more importantly, nobody can accidentally bump the value to "cat" and silently change a prompt you were sure was blank.
Under the hood it's embarrassingly simple. The class returns a one-item tuple with an empty string, exposed on a single output named string of type STRING. Because the output never changes, ComfyUI caches it happily - this node costs you nothing at runtime. No IS_CHANGED trickery, no always-rerun, no downside. That's genuinely different from the pack's other two nodes, which force themselves to rerun every execution on purpose.
It's part of ArtemKo7v/ComfyUI-UsefulStuffNodes, a small MIT-licensed utility pack with zero dependencies - requirements.txt is literally empty, so there's nothing to download and nothing to break.
To install, either use ComfyUI Manager (search "ComfyUI-UsefulStuffNodes") or:
cd ComfyUI/custom_nodes
git clone https://github.com/ArtemKo7v/ComfyUI-UsefulStuffNodes
Then restart ComfyUI and reload the browser tab.
One thing worth knowing before you wire it up: not all downstream nodes treat "" and None the same way. Some string-handling nodes treat None as "skip me" and "" as "print nothing," so an empty string won't always behave like the absence of an input. If you're using this to silence an optional prompt branch, glance at how the node you're feeding treats blank text.
Honest verdict: you install this pack for the Unix Timestamp and Random Long INT nodes, and Empty String is the free third wheel. It's a two-second convenience. But for the specific job of "I need a STRING socket that is always empty," it's about as foolproof as a node gets.
Inputs (0)
No inputs
Outputs (1)
| Name | Type | Description |
|---|---|---|
| string | STRING | — |