D2 Studio

turn plain text into clean SVG diagrams with automatic node

D2 Studio!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! — turn plain text into clean SVG diagrams with automatic node layout

How to use D2 Studio

  1. Type diagram text on the left, e.g. web -> api: REST calls
  2. Name nodes with web: Web App and add # comments anywhere
  3. Press Render diagram to rebuild the layout from your text
  4. Click any node in the diagram to highlight its connections
  5. Download the result as an SVG file with the SVG button

Features

  • Plain-text diagram language: nodes, connections, labels and comments
  • Deterministic layered auto-layout engine with cycle-safe depth assignment
  • Live SVG rendering with arrowheads, edge labels and back-edge curves
  • Click a node to highlight its connections across the diagram
  • One-click export to a standalone, self-contained SVG file

Frequently asked questions

Is it free?

Yes, unlimited.

Login to use this free online tool. Create a free account to get started.

Featured on Twelve Tools Launch Llama Tools Launch your MCP