Key differences

  • D2 has 1.9× as many GitHub stars as PlantUML (25.9K vs 13.4K).
  • PlantUML had more development activity over the last 12 months: 935 commits vs 328.
  • D2 is licensed under MPL-2.0; PlantUML under LGPL-3.0.
  • D2 is written primarily in Go, PlantUML in Java.
  • PlantUML is the older project: its repository was created in 2010, D2's in 2022.

By the numbers

  • D2
  • PlantUML
GitHub stars
25.9K 13.4K
Commits, last 12 months
328 935
Contributors
66 140
Forks
779 1.3K
Show data as a table
D2 vs PlantUML by the numbers
MetricD2PlantUML
GitHub stars25,85913,425
Commits, last 12 months328935
Contributors66140
Forks7791,277

Development activity

Commits per month to each default branch, last 12 complete months.

  • D2
  • PlantUML
0100200 Nov 2025 Dec Jan 2026 Feb Mar Apr May Jun Jul Aug Sep OctD2PlantUML
0100200 Nov 2025 Feb 2026 May Aug D2PlantUML
Show data as a table
D2 vs PlantUML: commits per month
MonthD2PlantUML
Nov 2025048
Dec 2025027
Jan 2026048
Feb 20260101
Mar 20260140
Apr 2026250
May 20260111
Jun 2026067
Jul 2026043
Aug 202616076
Sep 202615893
Oct 20268131

Side by side

AttributeD2PlantUML
DescriptionDeclarative diagram scripting language that turns text into diagrams.Generates UML, Gantt, mind map and other diagrams from plain text.
CategoryDiagrams as codeDiagrams as code
LicenseMPL-2.0LGPL-3.0
LanguageGoJava
StatusActiveActive
Latest releasev0.9.0 ()v1.2026.10 ()
Last commit
Repository created
Open issues486576
Install
go get github.com/d2lang/d2
implementation("net.sourceforge.plantuml:plantuml:1.2025.4")

Which should you choose?

Popularity and activity are only part of the story. Consider which ecosystem you work in, the chart types and interactions you need, how much data you render, and whether the license fits your project. Both tool pages list alternatives if neither is quite right.

  • D2

    Declarative diagram scripting language that turns text into diagrams.

    25.9K starsGoMPL-2.0

  • PlantUML

    Generates UML, Gantt, mind map and other diagrams from plain text.

    13.4K starsJavaLGPL-3.0

More comparisons