D2
d2lang.com
- Free plan
- Windows
- macOS
- Linux
- Web
- API
- Self-hosted
8.0 Club score Visit d2lang.com
What the maker publishes
- Diagram features
- D2 supports themes, sketch mode, animations, LaTeX, code snippets, Markdown, and tables. source
- Diagram features
- D2 supports themes, sketch mode, animations, LaTeX, Markdown, code snippets, tables, containers, imports, variables, and interactive links and tooltips. source
- Diagram types
- software architecture diagrams; UML class diagrams; sequence diagrams source
- Editor integrations
- The homepage lists official VSCode and Vim editor support, and the repository lists official VSCode, Vim, and Obsidian plugins. source
- Export formats
- The CLI exports diagrams to SVG, PNG, PDF, PPTX, GIF, and ASCII. source
- Exports
- D2 supports exports to SVG, PNG, PDF, PPTX, GIF, and ASCII. source
- Free plan
- Yes source
- Funding
- Donations support the project's public tools and infrastructure, and the project says donations do not affect its roadmap, governance, or license. source
- Help and support
- The repository recommends Discord for help, GitHub Issues for feature requests, proposals, or bug reports, and email for private inquiries. source
- Import/export formats
- D2 (.d2); SVG; PNG; PDF; PPTX; GIF; ASCII source
- Integrations
- Official integrations include extensions for VSCode, Vim, and Obsidian; the extensions page also lists community plugins and tools. source
- Layout engines
- The Playground offers Dagre, ELK, and TALA layout engines. source
- Layouts
- D2 offers three layout engines and also handles specialized layouts such as sequence diagrams and grids. source
- License
- The repository says D2 is open sourced under the Mozilla Public License 2.0. source
- Offline and telemetry
- The CLI does not use an internet connection after installation except to periodically check GitHub for version updates. source
- Offline editing
- Yes source
- Offline use
- The homepage describes the local CLI as an offline workflow; the FAQ says D2 does not use an internet connection after installation except to check for version updates from GitHub periodically. source
- Online playground
- The hosted Playground is an online runner for playing, learning, and creating with D2. source
- Open source
- D2 is free and open source, and remains under the Mozilla Public License 2.0. source
- Other integrations
- The repository lists community plugins and integrations including Emacs, Telegram, Postgres import, Confluence, and MkDocs. source
- Platforms
- The homepage lists macOS, Linux, and Windows support and says D2 is included in package managers such as Homebrew and Winget. source
- Platforms
- The CLI supports macOS, Linux, and Windows, and D2 can also run in a browser through WebAssembly. source
- Privacy
- The repository FAQ says D2 does not use an internet connection after installation except to check periodically for version updates from GitHub. source
- Programming API
- D2 can be used as a library to produce diagrams from Go programs. source
Checked against the maker's pages on 5 Oct 2026.