Skip to main content
Save SVG files on disk. This node takes SVG data as input and saves it to your output directory with optional metadata embedding. The node automatically handles file naming with counter suffixes and can embed workflow prompt information directly into the SVG file.

Inputs

ParameterDescriptionData TypeRequiredRange
svgThe SVG data to be saved to diskSVGYes-
filename_prefixThe prefix for the file to save. This may include formatting information such as %date:yyyy-MM-dd% or %Empty Latent Image.width% to include values from nodes. (default: “svg/ComfyUI”)STRINGYes-

Outputs

Output NameDescriptionData Type
uiReturns file information including filename, subfolder, and type for display in the ComfyUI interfaceDICT
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.
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): f8ac0c8aef01229f605c9b5b18e3f36996ef8bf6333fe31c9ebf32ae7ed76907