D2 Alternatives

Modern text-to-diagram language. Compared with 8 alternatives by price, platform, and license. About D2.

Price
Platform
License
Order
D2PriceOpen sourcePlatformsLocal
MermaidPriceOpen sourcePlatformsWeb, Markdown
PlantUMLPriceOpen sourcePlatformsLocal, Web
ExcalidrawPriceOpen sourcePlatformsWeb
diagrams.netPriceOpen sourcePlatformsWeb, Desktop
nomnomlPriceOpen sourcePlatformsWeb
GraphvizPriceOpen sourcePlatformsLocal
LucidchartPriceFreemiumPlatformsWeb
StructurizrPriceFreemiumPlatformsWeb

Details

Mermaid

Since 2014

Diagrams as text: flowcharts, sequences, ER.

Switch for Web, Markdown.

More about Mermaid · 8 alternatives · Medium to switch

Graphviz

Since 1991

Classic graph layout from DOT files.

Same price, platforms, and license as D2.

More about Graphviz · 8 alternatives · Medium to switch

Lucidchart

Since 2010

Collaborative diagram suite for teams.

Switch for Freemium instead of Open source · Web · Proprietary.

More about Lucidchart · 8 alternatives · High to switch

Structurizr

Since 2014

C4 architecture diagrams as code.

Switch for Freemium instead of Open source · Web · Proprietary.

More about Structurizr · 8 alternatives · High to switch

Comparisons

D2 vs MermaidMore Diagrams

Catalogued 2026-11-09.