Save 4 hours! We auto-setup your workflow! Free!

Drop your workflow.json — we handle every dependency, custom node, and model. Just open the link and run.

Auto-Setup Workflow Json (Free) Now!
ComfyUI > Nodes > ComfyUI_AceNodes > 🅐 Text Concatenate

ComfyUI Node: 🅐 Text Concatenate

Class Name

ACE_TextConcatenate

Category
Ace Nodes
Author
hay86 (Account age: 0days)
Extension
ComfyUI_AceNodes
Latest Updated
2026-11-13
Github Stars
0.1K

How to Install ComfyUI_AceNodes

Install this extension via the ComfyUI Manager by searching for ComfyUI_AceNodes
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter ComfyUI_AceNodes in the search bar
After installation, click the Restart button to restart ComfyUI. Then, manually refresh your browser to clear the cache and access the updated list of nodes.

Visit ComfyUI Online for ready-to-use ComfyUI environment

  • Free trial available
  • 16GB VRAM to 80GB VRAM GPU machines
  • 400+ preloaded models/nodes
  • Freedom to upload custom models/nodes
  • 200+ ready-to-run workflows
  • 100% private workspace with up to 200GB storage
  • Dedicated Support

Run ComfyUI Online

🅐 Text Concatenate Description

Combines two text strings in order with a customizable separator, preserving their original content.

🅐 Text Concatenate:

ACE_TextConcatenate joins two pieces of text into one continuous phrase or passage, placing a chosen divider between them. It is useful when you want to assemble prompt fragments, labels, or other text without editing them manually each time. The node preserves the text as supplied and joins it in a fixed order; it does not add spaces, remove punctuation, or rewrite the wording for you.

🅐 Text Concatenate Input Parameters:

text1

The first required piece of text. It appears at the beginning of the combined result, exactly as supplied, including any spaces or line breaks. This is a STRING input configured for multiline text and a connected input. No default, minimum length, or maximum length is specified in the node source.

text2

The second required piece of text. It appears after the separator, exactly as supplied, including any spaces or line breaks. This is a STRING input configured for multiline text and a connected input. No default, minimum length, or maximum length is specified in the node source.

separator

The text placed between the first and second pieces. Its default is a comma followed by a space (", "), so portrait and soft lighting become portrait, soft lighting. You can change it to another string, such as a space, a line break supplied through a connection, or an empty string when no divider is wanted. The node configures this input as a single-line STRING field. No minimum or maximum length or predefined options are specified.

🅐 Text Concatenate Output Parameters:

string

The single STRING result, formed in this exact order: text1 + separator + text2. For example, with text1 set to portrait, separator set to ", ", and text2 set to soft lighting, the output is portrait, soft lighting. The value can be passed to another node that accepts text; check the resulting punctuation and spacing because this node does not adjust them automatically.

🅐 Text Concatenate Usage Tips:

  • Connect the two text sources in the order you want them to read. Put the opening phrase in text1 and the continuation in text2.
  • Set separator to match the task: use the default ", " for comma-separated prompt fragments, a single space for a sentence, or an empty string to join text without a divider.
  • Check the ends of your source text before adding a separator. A trailing comma in text1 plus the default separator, for example, will produce two commas.
  • If either source contains line breaks, preview the combined result in a downstream text display or other compatible node to confirm the layout.

🅐 Text Concatenate Common Errors and Solutions:

Missing required input

  • Explanation: text1, text2, and separator are all required. If one is unavailable when the node runs, the workflow may report a missing-input error. The source does not define a custom error message for this case.
  • Solution: Connect a STRING source to both text1 and text2, and ensure separator has a value.

Incompatible input type

  • Explanation: The node joins values using text addition. If a non-text value reaches an input, execution may fail with a Python error such as TypeError: can only concatenate str (not "int") to str. The exact message depends on the value and how the workflow passes it to the node.
  • Solution: Supply STRING values. Convert numbers or other data to text with a suitable upstream node before connecting them.

Unexpected punctuation or spacing

  • Explanation: This is generally an output issue, not an execution error. The node keeps existing spaces and punctuation and inserts the separator exactly once, so a source phrase that already ends with punctuation may produce a duplicate.
  • Solution: Remove the extra punctuation or spaces from a source phrase, or change separator to fit the text already present.

Words run together

  • Explanation: If separator is empty, or contains no spacing where spacing is needed, the two pieces of text can appear as one word. The node does not insert a space automatically.
  • Solution: Set separator to a space or another appropriate divider, then check the combined text.

🅐 Text Concatenate Related Nodes

Go back to the extension to check out more related nodes.
ComfyUI_AceNodes
RunComfy
Copyright 2025 RunComfy. All Rights Reserved.

RunComfy is the premier ComfyUI platform, offering ComfyUI online environment and services, along with ComfyUI workflows featuring stunning visuals. RunComfy also provides AI Models, enabling artists to harness the latest AI tools to create incredible art.

🅐 Text Concatenate