D2 vs draw.io
D2
d2lang.comdraw.io
drawio.comSide by side
| Figure | D2 | draw.io |
|---|---|---|
| Price from | — | Free |
| Free plan | — | Yes |
| Free trial | — | — |
| Open source | — | Yes |
| Web | Yes | Yes |
| Windows | Yes | Yes |
| macOS | Yes | Yes |
| Linux | Yes | Yes |
| iOS | — | Yes |
| Android | — | Yes |
| API | Yes | — |
| Self-hosted | Yes | — |
| Plans published | 0 | 1 |
| Spec score · Diagramming Software | 7.9 (#31) | 8.7 (#10) |
| Spec score · Diagramming tools | 7.6 (#36) | 9.0 (#5) |
| Diagram types | software architecture diagrams; UML class diagrams; sequence diagrams | flow charts,mind maps,org charts,Venn diagrams,infographics,network diagrams,architecture diagrams,floor plans,electrical diagrams,rack diagrams,UML diagrams,BPMN diagrams,Kanban boards,ER diagrams,Mermaid diagrams,Gitflow diagrams,C4 models,threat models |
| Export formats | The CLI exports diagrams to SVG, PNG, PDF, PPTX, GIF, and ASCII. | Diagrams can be exported to SVG, PNG, or PDF, or kept editable. |
| Free plan | Yes | Yes |
| Integrations | Official integrations include extensions for VSCode, Vim, and Obsidian; the extensions page also lists community plugins and tools. | Integrations include Google, Microsoft, Atlassian, GitHub, VS Code, Notion, and Chrome. |
| Open source | D2 is free and open source, and remains under the Mozilla Public License 2.0. | draw.io is open source under the Apache 2.0 License. |
Plans
In their own words
draw.io
draw.io is a free, open-source diagramming tool for creating visual layouts, from flow charts and mind maps to network, architecture, UML, BPMN and floor-plan diagrams. It supports real-time collaboration, and files can be opened and edited across platforms. Users can choose their own storage or save locally with the desktop app; draw.io says it cannot access users' data. No sign-up or credit card is required to start diagramming, and the desktop app is free forever. Diagrams can remain editable or be exported to SVG, PNG or PDF. Supported imports include draw.io, XML, Gliffy, VSDX, Lucidchart, PNG, SVG and JPEG. Integrations include Google, Microsoft, Atlassian, GitHub, VS Code, Notion and Chrome. Interactive diagrams can be embedded in documents, wikis or applications. The listed platforms are web, Windows, macOS, Linux, iOS and Android. Support is available through GitHub Discussions and Stack Overflow. The site says there is no Enterprise tier for SSO.