ComfyUI > Nodes > ComfyUI-EZ-AF-Nodes > EZ Text Concatenate

ComfyUI Node: EZ Text Concatenate

Class Name

EZ_Text_Concat

Category
EZ NODES
Author
ez-af (Account age: 599days)
Extension
ComfyUI-EZ-AF-Nodes
Latest Updated
2025-09-23
Github Stars
0.03K

How to Install ComfyUI-EZ-AF-Nodes

Install this extension via the ComfyUI Manager by searching for ComfyUI-EZ-AF-Nodes
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter ComfyUI-EZ-AF-Nodes 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

EZ Text Concatenate Description

EZ_Text_Concat merges multiple text inputs into a polished, cohesive output with delimiter options.

EZ Text Concatenate:

The EZ_Text_Concat node is designed to streamline the process of merging multiple text inputs into a single cohesive output. This node is particularly beneficial for AI artists and creators who need to manage and manipulate large volumes of text data efficiently. By allowing you to concatenate any number of string inputs, it simplifies the task of text aggregation, making it easier to prepare text for further processing or presentation. The node offers flexibility in how the text is combined, with options to insert delimiters between inputs and to clean up the text by removing unnecessary spaces, commas, and line breaks. This ensures that the final output is not only a simple concatenation but also a polished and readable text block, enhancing the overall quality and usability of the text data.

EZ Text Concatenate Input Parameters:

number_of_inputs

This parameter allows you to specify the number of text inputs you wish to concatenate. It dynamically adjusts the number of input slots available, ranging from a minimum of 2 to a maximum of 50, with a default value of 2. This flexibility enables you to tailor the node to your specific needs, whether you're working with a small or large set of text data.

delimiter

The delimiter parameter defines the string that will be inserted between each text input during concatenation. By default, it is set to ",\\n", which means a comma followed by a line break. You can customize this to any string, including special characters like \\n for line breaks, to control how the text inputs are separated in the final output.

beautify

This parameter determines whether and when the text should be cleaned up to remove excessive commas, spaces, and line breaks. It offers three options: "never," "before," and "after." "Never" means no text processing will occur, "before" processes each text input separately before concatenation, and "after" processes the concatenated text. The default setting is "never," allowing you to choose the level of text refinement needed for your project.

line_breaks

The line_breaks parameter controls whether line breaks in the text should be kept or deleted after processing. It has two options: "keep" and "delete," with "keep" as the default. This setting is applied after any text beautification, allowing you to maintain or remove line breaks based on the desired format of your final text output.

EZ Text Concatenate Output Parameters:

STRING

The output parameter is a single string that represents the processed and concatenated text. This output is the result of merging all the specified text inputs according to the chosen delimiter and beautification settings. It provides a clean and organized text block that can be used for further processing, display, or analysis, ensuring that the text is both functional and aesthetically pleasing.

EZ Text Concatenate Usage Tips:

  • Use the beautify option set to "before" if you want to clean up each text input individually before they are combined. This is useful for ensuring that each piece of text is formatted correctly before concatenation.
  • Set the delimiter to a specific character or string that suits your needs, such as a space or a custom separator, to control how the text inputs are visually separated in the final output.
  • If you need to maintain the original formatting of your text inputs, ensure that the line_breaks parameter is set to "keep" to preserve all line breaks in the final output.

EZ Text Concatenate Common Errors and Solutions:

No input provided

  • Explanation: This error occurs when no text inputs are given to the node for concatenation.
  • Solution: Ensure that you provide at least two text inputs, as the node requires a minimum of two inputs to function correctly.

Invalid delimiter format

  • Explanation: This error might occur if the delimiter string is not formatted correctly, especially when using special characters like line breaks.
  • Solution: Double-check the delimiter string for correct formatting, ensuring that special characters are properly escaped, such as using \\n for line breaks.

EZ Text Concatenate Related Nodes

Go back to the extension to check out more related nodes.
ComfyUI-EZ-AF-Nodes
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.

EZ Text Concatenate