D2 is a modern diagram scripting language that turns text to diagrams.
-
Updated
Oct 11, 2026 - Go
D2 is a modern diagram scripting language that turns text to diagrams.
Review code 100X faster. Lens draws every PR as animated architecture and data-flow walkthroughs, inside the pull request itself. Use it as a GitHub App, GitHub Action, CLI, or a Skill for your coding agent
Cloud architecture diagrams in both directions: AI prompt or JSON to diagram, diagram to Terraform via MCP server, and Terraform to diagram via CLI or CI/CD. Using Official AWS, Azure and GCP icons.
A text diagram language where you say where things go. Playground: reladraw.github.io/reladraw
Create and edit drawings through conversation.
Compare syntax, layouts, outputs between languages for generating diagrams with text.
The official D2 plugin for Obsidian. D2 is a modern diagram scripting language thats turns text to diagrams.
Language documentation and blog for D2.
The Vim plugin for D2 files
One small language for every figure from plain text — diagrams, charts, sequences, mindmaps, trees, ER schemas, schematics, floor plans and dimensioned technical drawings — compiled to clean, themeable SVG
AI diagram generator for software architecture - the open-source Eraser.io alternative. Describe your system in plain English, get editable system design, sequence, ERD & cloud diagrams on an Excalidraw canvas. Self-hostable, bring your own key. Vibe diagramming for engineers.
The animated diagram editor AI agents can draw on. Animated technical diagrams (architecture, sequence, BPMN, cloud icons) built by you and your agent together on the same live canvas, via WebMCP. Open-source, local-first.
A plugin for embedding D2 diagrams in MkDocs.
An open-source DSL and compiler for floor plans: write .arch source (or have an AI agent write it) and compile it to SVG, DXF or PDF with linting and geometric validation.
d2's 'datafied' companion!
Diagram all the things
DrakoFlow is a lightweight, offline-first text-to-diagram engine built in TypeScript. Turn clean, component-based DSL into beautiful, themeable architecture diagrams directly in your browser with zero server dependencies.
Deterministic geometry diagram DSL for AI agents — text in, precise math figures out (SVG/PNG). Zero-dependency compiler + Claude/Codex/agent skill.
Convert D2 diagrams to editable draw.io / diagrams.net files. Diagrams as code in, native .drawio out. CLI + Node API.
To associate your repository with the text-to-diagram topic, visit your repo's landing page and select "manage topics."