Skip to main content
Save SVG files on disk. This node takes SVG data as input and writes it to the ComfyUI output directory, automatically handling file naming with counter suffixes. When workflow prompt information is available, it is embedded directly into the SVG file as a metadata element.

Inputs

Outputs

Note: This node automatically embeds workflow metadata (prompt and extra PNG information) into the SVG file when available. The metadata is inserted as a CDATA section within the SVG’s metadata element. Files are saved using the pattern filename_prefix_00001_.svg; when processing a batch, %batch_num% in the prefix is replaced with the index of the current batch item. The node is an output node, so it produces a saved result in the output folder even though the file itself is not displayed as an image preview.
This documentation was AI-generated. If you find any errors or have suggestions for improvement, please feel free to contribute! Edit on GitHub

Source fingerprint (SHA-256): 365137d5dacab3142c25945fd97bce4b827d9d7d4dd839986c68f491a28fb805