Modern text-to-diagram language.
| Official site | None on file |
|---|---|
| Price tier | Open source |
| Platforms | Local |
| License | MPL-2.0 |
| Since | 2022 |
| Origin | United States |
| Status | Active |
| Category | Diagrams |
D2 is a Diagrams tool from United States, first released in 2022. Modern text-to-diagram language. Status: Active.
D2 is Open source. Confirm the current plan on the official site before you quote a number.
What holds up: D2 runs on Local, so a workflow does not have to stay inside a hosted editor.
What does not: D2 is proprietary. If the vendor shuts the account, you do not have a license to run the service yourself. D2 dates from 2022. Newer tools have fewer years of file formats and fewer written guides.
The closest listed alternative is Mermaid: Diagrams as text: flowcharts, sequences, ER.
Other tools compared in the same sitting: PlantUML (2009, Open source): Text diagrams, especially UML. Excalidraw (2020, Open source): Hand-drawn style whiteboard.
Where to compare
8 alternatives to D2. Open that page to compare them.
Catalogued 2026-11-09.