Generate and download diagrams in various formats using Kroki.io. Convert your Mermaid, PlantUML, and Graphviz diagrams to SVG, PNG, PDF, or JPEG files effortlessly.
Tools
generate_diagram_url
Generate a URL for a diagram using Kroki.io. This tool takes Mermaid diagram code or other supported diagram formats and returns a URL to the rendered diagram. The URL can be used to display the diagram in web browsers or embedded in documents.
download_diagram
Download a diagram image to a local file. This tool converts diagram code (such as Mermaid) into an image file and saves it to the specified location on your filesystem. Useful for generating diagrams for presentations, documentation, or other offline use.