String To Bool
Turn a text value into a real boolean pin
- BOOLEAN
JNodes isn't a generation pack - it's a big pile of quality-of-life tooling for ComfyUI: a proper lora/embedding browser, an extension manager, prompt comments, and a "parameter lists" system that lets you drive workflow settings straight from text typed into your prompt. String To Bool is one of the small conversion nodes that make the bigger features actually plug together. It doesn't do anything flashy on its own - it takes a string and hands you back a BOOLEAN, so a value that started life as text can flip a switch somewhere else in your graph.
Where it actually gets used
You rarely reach for this node in isolation. It shows up as the glue step after something else has already produced a string that's conceptually a yes/no: a value pulled out of a JNodes_GetParameterFromList (JNodes' parameter-list feature lets you write something like <params:enable_hires:true> right in your prompt), a field read out of a JNodes_SyncedStringLiteral, or a key you pulled from a JNodes_StringToJsonObject result. Most ComfyUI nodes want a genuine BOOLEAN pin for their toggles, not a string that merely looks like one, and this node is the bridge between the two worlds.
Inputs and outputs
There's exactly one input and one output - this is a one-job node:
string- a single-line text field, empty by default. Whatever you type or wire in here is what gets evaluated.BOOLEAN(output) - the converted value, ready to plug into any toggle input in your graph.
That's the entire surface. There's no mode switch or documented parsing rule exposed in the UI, and the README doesn't spell out exactly which spellings count as true versus false. Before you build a chain of logic around it, wire it up once with a Preview/print node or a Reroute and test it with "true" and "false" so you know precisely what it does with your input rather than assuming.
Installing it
Two ways in, both from the README:
- ComfyUI Manager - search "JNodes", install, restart.
- Manual -
cd ComfyUI/custom_nodes && git clone https://github.com/JaredTherriault/ComfyUI-JNodes, thenpip install -r requirements.txt, then restart.
There's no model to download for this node - it's pure Python logic, so once the pack is installed you're done.
Where people get tripped up
The trap here isn't the node, it's the pack around it. JNodes adds floating UI the second it's installed - a status/progress indicator, an image drawer that docks to a screen edge, custom favicon behavior - and if you didn't know that's what you added, it can look like ComfyUI broke on its own. One user spent a chunk of a Sunday afternoon chasing down a "strange overlay box stuck in the top-left corner" before someone identified it as JNodes; when they tried to remove the pack, ComfyUI Manager threw a deletion error and they had to delete the custom_nodes/ComfyUI-JNodes folder by hand and restart. If you just want to quiet the UI pieces without losing access to nodes like this one, go to ComfyUI Settings > JNodes > Extension Management instead of uninstalling - you can toggle individual web extensions off there, and the README ships a one-click "Disable Recommended Extensions" button for the known trouble spots. It also explicitly tells you to disable pysssss.ImageFeed, since JNodes' own ImageDrawer replaces it outright and running both fights over the same UI space.
Inputs (1)
| Name | Type | Default | Description |
|---|---|---|---|
| string | STRING | — |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| BOOLEAN | BOOLEAN | — |