YC show text
A text passthrough that actually shows you the text
- text
You've got a prompt assembled from four concatenated widgets and you want to see what's actually going into the encoder. That's this node. YC_ShowText takes any STRING, displays it on the node face, and passes it through to whatever's downstream. Nothing more. If you know rgthree's Display Any or any of the ShowText clones floating around, you already know this family: no logic, no formatting, just visibility.
It's one of the small, forgettable nodes in ComfyUI-YCNodes_Toolkit that you'll quietly lean on every single workflow once you've used it. The printf of your graph.
How it works
Mechanically it's honest plumbing. It's marked as an output node, so its display shows up in the UI, and it accepts a list input (INPUT_IS_LIST), echoes the text back into the workflow's saved widget values, and returns the same text as a list output. The save/echo step is the part that matters: it uses the node's unique_id and extra_pnginfo to write the text back into the workflow JSON, so the text you see actually survives a save-and-reload instead of being a phantom preview.
- Input:
text(STRING). - Output:
text(STRING, as a list).
When you'd use it
Debugging prompt chains is the headline use - verify the exact string before it hits a CLIP or sampler, especially after a few concatenate/serialize hops. It's equally handy for confirming a wildcard resolved the way you expected, or that a LoRA name really is spelled right. Honestly, any spot where you'd otherwise be squinting at a wire and guessing what's in it.
Because it passes the text straight through, you can drop it inline anywhere without changing behavior - which makes it free to leave in a workflow. Install it the same way as the rest of the pack:
cd ComfyUI/custom_nodes
git clone https://github.com/yichengup/ComfyUI-YCNodes_Toolkit
Restart, find it under YCNodes Toolkit. It's one of the lightest nodes in the pack - just numpy and Pillow behind it, no models. Don't overthink this one; it's a display node, and it does exactly what it says on the box.
Inputs (1)
| Name | Type | Default | Description |
|---|---|---|---|
| text | STRING | — |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| text | STRING | — |