ComfyUI > Nodes > ComfyUI Level Pixel > Tag Merger [LP]

ComfyUI Node: Tag Merger [LP]

Class Name

TagMerger|LP

Category
LevelPixel/Tags
Author
LevelPixel (Account age: 647days)
Extension
ComfyUI Level Pixel
Latest Updated
2026-02-24
Github Stars
0.03K

How to Install ComfyUI Level Pixel

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

Tag Merger [LP] Description

TagMerger|LP combines two tag sets into a unified list, removing duplicates and offering flexible formatting.

Tag Merger [LP]| Tag Merger [LP]:

The TagMerger| Tag Merger [LP] node is designed to streamline and enhance the process of combining two sets of tags into a unified list. This node is particularly useful for AI artists who work with large datasets or need to manage extensive tag lists efficiently. By merging tags from two different sources, it ensures that all unique tags are included while avoiding duplicates. The node also offers flexibility in formatting, allowing users to choose whether to separate words within tags using underscores or spaces. This functionality is crucial for maintaining consistency and readability in tag lists, which can significantly impact the organization and retrieval of data in creative projects.

Tag Merger [LP]| Tag Merger [LP] Input Parameters:

tags1

This parameter represents the first set of tags that you want to merge. It accepts a string of tags, which can be separated by commas, periods, or new lines. The tags are processed to remove any leading or trailing spaces, and they are converted to lowercase to ensure uniformity. The default value is an empty string, meaning no tags are provided initially. This parameter is essential as it forms one half of the tag sets to be merged.

tags2

Similar to tags1, this parameter represents the second set of tags to be merged. It also accepts a string of tags, formatted in the same way as tags1. The default value is an empty string. This parameter is crucial as it provides the additional tags that will be combined with those from tags1, ensuring a comprehensive and complete tag list.

under_score

This boolean parameter determines whether spaces within tags should be replaced with underscores. If set to True, spaces are replaced with underscores, which is the default behavior. If set to False, underscores are replaced with spaces. This option allows you to control the formatting of the merged tags, which can be important for maintaining consistency with existing tag conventions or preferences.

Tag Merger [LP]| Tag Merger [LP] Output Parameters:

result

The output parameter result is a string that contains the merged list of tags. This list includes all unique tags from both tags1 and tags2, formatted according to the under_score setting. The tags are separated by commas, making it easy to read and use in subsequent processes. This output is valuable for organizing and managing tags efficiently, ensuring that no duplicates exist and that the list is formatted consistently.

Tag Merger [LP]| Tag Merger [LP] Usage Tips:

  • To ensure the most comprehensive tag list, provide complete and well-formatted inputs for both tags1 and tags2. This will help the node effectively merge and deduplicate the tags.
  • Use the under_score parameter to match the formatting style of your existing tag lists, whether you prefer underscores or spaces between words.

Tag Merger [LP]| Tag Merger [LP] Common Errors and Solutions:

Empty Input Strings

  • Explanation: If both tags1 and tags2 are empty, the node will return an empty result.
  • Solution: Ensure that at least one of the input parameters contains tags to merge.

Incorrect Tag Formatting

  • Explanation: Tags that are not properly separated by commas, periods, or new lines may not be processed correctly.
  • Solution: Verify that your input strings are correctly formatted with appropriate separators to ensure accurate merging.

Tag Merger [LP] Related Nodes

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

Tag Merger [LP]