API & MCP

Everything a person can do on Sketchboard draw.io to SVG, a program or AI agent can do with the same inputs and get the identical result.

HTTP API

Sketchboard draw.io to SVG

Reads a .drawio / diagrams.net XML file (plain or compressed pages) or an Excalidraw .excalidraw file, maps shapes, connectors, arrowheads, labels and styles to Sketchboard, and returns a standalone SVG plus a Sketchboard board you can keep editing. It lists what was mapped and what was drawn as a plain shape.

Inputs of Sketchboard draw.io to SVG
FieldTypeDefaultDescription
diagramtextarea—draw.io or Excalidraw file content. Paste the XML of a .drawio file (or the JSON of an .excalidraw file), or upload the file below.
diagramFilefile—File (optional). Used instead of the pasted text when given.
pageinteger1Page number (files with several pages)
styleselect (clean, sketchy, file)"clean"Drawing style

Every result contains

inputs (normalised, defaults applied), summary, result (validated against the published schema), units, assumptions, sources, warnings, computedAt and links.

MCP (Model Context Protocol)

{
  "mcpServers": {
    "sketchboard-drawio-to-svg": { "type": "http", "url": "https://sketchboarddrawiotosvg.usefulweb.app/mcp" }
  }
}