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 > DenRakEiw_Nodes > 📝 UTF-8 Caption Saver

ComfyUI Node: 📝 UTF-8 Caption Saver

Class Name

UTF8CaptionSaver

Category
denrakeiw/text
Author
DenRakEiw (Account age: 1831days)
Extension
DenRakEiw_Nodes
Latest Updated
2026-08-30
Github Stars
0.03K

How to Install DenRakEiw_Nodes

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

📝 UTF-8 Caption Saver Description

Specialized node for saving text captions in UTF-8 encoded `.txt` files, ideal for AI training datasets.

📝 UTF-8 Caption Saver:

The UTF8CaptionSaver is a specialized node designed to facilitate the saving of text captions into UTF-8 encoded .txt files, making it an ideal tool for AI training datasets. This node ensures that the text is stored in a clean and simple format, devoid of any metadata, which is crucial for maintaining the integrity and usability of training data. By focusing on UTF-8 encoding, it guarantees compatibility with a wide range of systems and applications, ensuring that the text can be easily read and processed. The node is particularly beneficial for AI artists and developers who need to manage large volumes of text data efficiently, as it automates the process of cleaning filenames and organizing files into specified directories, thus streamlining the workflow and reducing the potential for errors.

📝 UTF-8 Caption Saver Input Parameters:

caption_text

The caption_text parameter is a string input that represents the text you wish to save as a caption. This parameter supports multiline input, allowing you to enter detailed and descriptive captions that can be used for AI training purposes. The length of the caption can vary, but it is important to ensure that it is concise and relevant to the training data. The default value is "Enter caption text here...", and it serves as a placeholder to guide you in providing the necessary text input.

folder_path

The folder_path parameter specifies the directory where the caption file will be saved. This string input allows you to organize your caption files into specific folders, making it easier to manage and retrieve them later. If the provided path is not absolute, the node will automatically create a directory within the "output" folder. The default value is "output/captions", which serves as a placeholder to indicate where the files will be stored.

filename

The filename parameter is a string input that determines the name of the file in which the caption text will be saved. It is important to note that the filename should not include the .txt extension, as this will be added automatically. The node will clean the filename by replacing spaces with underscores and removing any invalid characters to ensure compatibility with different file systems. The default value is "caption", serving as a placeholder for you to specify a unique and descriptive filename.

📝 UTF-8 Caption Saver Output Parameters:

file_path

The file_path output parameter is a string that provides the full path to the saved caption file. This output is crucial as it confirms the successful execution of the node and allows you to easily locate the file for further use or verification. The path includes the directory and the cleaned filename, ensuring that you have a clear reference to where the caption text has been stored.

📝 UTF-8 Caption Saver Usage Tips:

  • Ensure that your caption_text is relevant and concise to maximize its effectiveness in AI training datasets.
  • Use descriptive and unique filenames to avoid overwriting existing files and to make it easier to identify the content of each file.
  • Organize your caption files into specific folders using the folder_path parameter to maintain a structured and efficient file management system.

📝 UTF-8 Caption Saver Common Errors and Solutions:

✗ Error: [Errno 2] No such file or directory: '...'

  • Explanation: This error occurs when the specified folder path does not exist and cannot be created due to permission issues or incorrect path specifications.
  • Solution: Ensure that the folder_path is correctly specified and that you have the necessary permissions to create directories in the specified location. If the path is relative, make sure it is within the "output" directory.

✗ Error: [Errno 13] Permission denied: '...'

  • Explanation: This error indicates that the node does not have the necessary permissions to write to the specified directory.
  • Solution: Check the permissions of the directory and ensure that the application has write access. You may need to adjust the permissions or choose a different directory where write access is allowed.

📝 UTF-8 Caption Saver Related Nodes

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

📝 UTF-8 Caption Saver