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.
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.
A plugin for embedding D2 diagrams in MkDocs.
d2's 'datafied' companion!
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.
Diagram all the things
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.
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.
Convert D2 diagrams to editable draw.io / diagrams.net files. Diagrams as code in, native .drawio out. CLI + Node API.
Deterministic geometry diagram DSL for AI agents — text in, precise math figures out (SVG/PNG). Zero-dependency compiler + Claude/Codex/agent skill.
TermDraw-Bench: a benchmark for whether LLMs and VLMs can generate and edit structured ASCII diagrams. 80 tasks across 4 categories, scored by a DeepEval LLM judge.
Turn a prompt or image into a live, editable Excalidraw diagram. An agent skill (Claude Code, Cursor, Codex, Copilot & 70+ agents) with auto-layout and a self-refreshing local board.
To associate your repository with the text-to-diagram topic, visit your repo's landing page and select "manage topics."