For the complete documentation index, see llms.txt. This page is also available as Markdown.

Convert Mermaid to SVG

Render Mermaid diagram code as a downloadable SVG. Use it to turn a text-defined flowchart or diagram into a scalable image.

Use this tool

  1. Set File Name.

  2. Supply valid Mermaid Code for the diagram.

  3. Run the tool and open File URL.

  4. Check labels, connections, and layout in the rendered diagram.

Behavior and limits

Mermaid Code must be diagram syntax, not a natural-language request. If rendering fails, correct the syntax before retrying.

Inputs

Field
Parameter
Description

File Name (required)

file_name

The name of the SVG file (with or without .svg extension)

Mermaid Code (required)

mermaid_code

The Mermaid diagram code to convert to SVG

Outputs

Field
Parameter
Description

File URL

file_url

The download URL for the generated SVG file

Was this helpful?