Skip to content
whatismyalternative

D2 (D2Lang)

A modern language that turns text to diagrams

Visit D2 (D2Lang)

D2 is an open-source diagramming language with a simple syntax for producing diagrams from text. It supports multiple layout engines, themes, sketch mode, animations, LaTeX, containers, images and icons, imports, variables, globs, autoformatting, a language API, interactive tooltips and links, UML class diagrams, sequence diagrams, adaptive dark mode, and extensions. It runs on macOS, Linux and Windows and is available through package managers such as Homebrew and Winget, with official editor support for VSCode and Vim.

12 alternatives to D2 (D2Lang)

Ranked by how well each tool replaces D2 (D2Lang): shared features, audience, price and popularity.

  1. Diagram software for flowcharts, org charts, UML, ER, and network diagrams

    Covers 9 of 15 key features.

    Free planOpen source
    68 out of 100 matchContact sales
  2. Free diagramming application with over 100 million users. Your data, your control.

    Covers 8 of 15 key features.

    Free planOpen source
    66 out of 100 matchContact sales
  3. Draw UML diagrams from simple text descriptions.

    Covers 9 of 15 key features.

    Open source
    65 out of 100 match—
  4. Unlock diagram possibilities.

    Covers 2 of 15 key features.

    Free plan
    63 out of 100 matchContact sales
  5. Open source graph visualization software

    Covers 5 of 15 key features.

    Open source
    63 out of 100 match—
  6. Draw entity-relationship diagrams by writing code with dbdiagram.io.

    Covers 9 of 15 key features.

    Free plan
    62 out of 100 match$8/mo
  7. Free and open-source mind mapping.

    Covers 6 of 15 key features.

    Free planOpen source
    61 out of 100 matchContact sales
  8. AI-powered online flowchart and mind map tool for real-time collaboration and knowledge

    Covers 3 of 15 key features.

    Free plan
    59 out of 100 matchFree
  9. The best way to make flowcharts, org charts, floor plans, and more.

    Covers 3 of 15 key features.

    58 out of 100 match—
  10. The expert's design tool.

    Covers 7 of 15 key features.

    Free plan
    58 out of 100 matchFree
  11. Network data integration, analysis, and visualization

    Covers 10 of 15 key features.

    Open source
    57 out of 100 match—
  12. Turn ideas into plans, and plans into action

    Covers 6 of 15 key features.

    Free plan
    57 out of 100 matchContact sales