ComfyUI Node

ShowText

See what your string actually contains before it hits the sampler

By jjkramhoeft·Created 3 years ago·Updated 2 years ago· 46
ShowText
    • text
    text

    Strings move through a ComfyUI graph invisibly. A CLIPTextEncode node doesn't show you what it's actually encoding once that text came from three concatenated nodes and a wildcard replacement upstream - you're just trusting the wiring did what you think it did. Show Text is the fix: hook any STRING output into it, run the queue, and the node displays the exact value it received, right there on the canvas.

    What it's for

    This is a debug node, plain and simple - the string equivalent of a print statement. It's most useful paired with the other nodes in this pack: build a prompt with Jjk Concat out of a few Jjk Text blocks, and before you trust the result you route it through Jjk Show Text once to actually look at it. Did the delimiter land where you expected? Did an empty slot leave a stray comma? You stop guessing and just read the answer off the node.

    It's the same category of tool as the display/inspection nodes bigger utility packs ship - rgthree-comfy's Display Any is the well-known example, showing whatever backend value a node produced after execution finishes. Jjk Show Text is a narrower, string-only version of that idea: no bells and whistles, just "show me what's actually in this string."

    Inputs and outputs

    • text (required, STRING) - whatever string you want to inspect. Wire in the output of Jjk Text, Jjk Concat, or any other STRING-producing node.

    The output is also named text, but it's worth noting it's typed as a list rather than a single string - a small quirk of how the node is built. In practice you can still chain it into another string input if you want to keep using the value further down the graph after inspecting it; you're not forced to make it a dead end.

    This node is also flagged as an output node, which matters practically: it's allowed to actually run and display its result even if nothing downstream is wired to its output. You don't need to route it anywhere for it to do its job - plug in the string you want to check, queue the workflow, and read the value off the node itself.

    Installing it

    ComfyUI Manager: search ComfyUI-Jjk-Nodes, install, restart. Manual install is just as easy:

    cd ComfyUI/custom_nodes
    git clone https://github.com/jjkramhoeft/ComfyUI-Jjk-Nodes
    

    Restart ComfyUI. Nothing to download, no extra dependencies - the whole pack is small, self-contained Python (the author's own README calls it "minimal code to get a few nodes working"), so this installs and uninstalls cleanly with zero side effects on the rest of your setup.

    Where people get tripped up

    The one thing that catches people: nothing appears until you actually run the queue. Unlike Jjk Text's box, which shows you what you typed the moment you type it, Show Text is displaying a runtime value - it has nothing to show until the workflow executes and a real string reaches it. If you're staring at an empty node, that's normal before the first run, not a bug. If it's still empty after running, the problem is upstream: either the wire isn't actually connected, or whatever feeds it produced an empty string (a common cause when it's downstream of Jjk Concat and every optional slot got left disconnected). Beyond that, treat it the way you'd treat any small personal utility pack - there's no active community thread to search if something looks off, so the fastest path to an answer is usually just testing the wiring directly.

    Categoryjjk

    Inputs (1)

    NameTypeDefaultDescription
    textSTRING

    Outputs (1)

    NameTypeDescription
    textSTRING