Nodes/ComfyUI_DD_Nodes/DD Show Text
ComfyUI Node

DD Show Text

Finally see what's on your text wire

By digital-divas-admin·Created 7 months ago·Updated 5 months ago· 0
DD Show Text
    • text
    text

    Every ComfyUI beginner has run a graph, stared at the result, and wondered what string actually went into the prompt encoder. DD Show Text is the node that answers that question: drop it on any text wire, run, and the text appears right on the node in the UI. It's a debug tool that doubles as a handy way to check your prompt-building chain without guessing.

    How it works

    The node takes one input, text (STRING), and - this is the important bit - it's set up to receive a wire, not to be typed into. In ComfyUI terms the input is forceInput, so there's no text box to fill; you connect a text-producing node to it. When the graph runs, it's an output node: it displays the string on the canvas so you can read it, and it also passes the text straight through as a text output on the other side.

    That pass-through is the clever part. Show Text isn't a dead end - it's a tap. You can drop it in the middle of a chain, run, read the intermediate result, and leave it wired, because whatever follows still gets its string. It returns the text both to the UI (for your eyeballs) and onward (for the graph), so it costs you nothing but a node on the canvas.

    Where you'll reach for it

    Whenever a prompt pipeline has more than two steps. Build a concatenation chain with DD Text Concatenate, run a cleanup through DD Text Replace, and before it hits CLIP Text Encode, tack on a Show Text to confirm the final string is actually what you designed - especially the separator and whitespace details that are easy to get subtly wrong. Same trick applies to negative prompts, wildcard expansions, or any text you've assembled programmatically. Debug once, then leave it in place as a permanent readout.

    The one caveat

    It only shows you something when the graph actually runs - the display populates at execution time, not when you place the node. And if the incoming text is empty, you'll see exactly that: an empty display, which is itself useful information when you're hunting for a dead wire. There's also no "copy to clipboard" button here; for that you'd want a richer text-display node from a bigger pack. This one stays minimal on purpose.

    Installing it

    It ships in the ComfyUI_DD_Nodes pack by Digital Divas. ComfyUI Manager → search "DD Nodes", or:

    cd ComfyUI/custom_nodes
    git clone https://github.com/digital-divas-admin/ComfyUI_DD_Nodes.git
    

    Restart ComfyUI. The pack's requirements.txt is empty - no extra Python packages, no model downloads. When Manager lists results, make sure the repo is digital-divas-admin/ComfyUI_DD_Nodes and not the unrelated project that shares the "DD-Nodes" name.

    CategoryDD Nodes/Text

    Inputs (1)

    NameTypeDefaultDescription
    textSTRING

    Outputs (1)

    NameTypeDescription
    textSTRING