EVERYTHING XIAOMI
Get listed

D2

Place
#36 of 46
Score
6.6
D2's website

The facts below are what the maker publishes about D2, checked and dated. Our editors have not written about it yet.

The facts

Each one read from D2's own pages, with the date it was checked.

What it does

Diagram features
D2 supports themes, sketch mode, animations, LaTeX, Markdown, code snippets, tables, containers, imports, variables, and interactive links and tooltips.checked 5 Oct 2026
Diagram types
software architecture diagrams; UML class diagrams; sequence diagramschecked 20 Sep 2026
Editor integrations
The homepage lists official VSCode and Vim editor support, and the repository lists official VSCode, Vim, and Obsidian plugins.checked 4 Oct 2026
Export formats
The CLI exports diagrams to SVG, PNG, PDF, PPTX, GIF, and ASCII.checked 5 Oct 2026
Exports
D2 supports exports to SVG, PNG, PDF, PPTX, GIF, and ASCII.checked 4 Oct 2026
Funding
Donations support the project's public tools and infrastructure, and the project says donations do not affect its roadmap, governance, or license.checked 5 Oct 2026
Help and support
The repository recommends Discord for help, GitHub Issues for feature requests, proposals, or bug reports, and email for private inquiries.checked 4 Oct 2026
Import/export formats
D2 (.d2); SVG; PNG; PDF; PPTX; GIF; ASCIIchecked 20 Sep 2026
Integrations
Official integrations include extensions for VSCode, Vim, and Obsidian; the extensions page also lists community plugins and tools.checked 5 Oct 2026
Layout engines
The Playground offers Dagre, ELK, and TALA layout engines.checked 5 Oct 2026
Layouts
D2 offers three layout engines and also handles specialized layouts such as sequence diagrams and grids.checked 4 Oct 2026
License
The repository says D2 is open sourced under the Mozilla Public License 2.0.checked 4 Oct 2026
Offline and telemetry
The CLI does not use an internet connection after installation except to periodically check GitHub for version updates.checked 5 Oct 2026
Offline editing
Yeschecked 20 Sep 2026
Offline use
The homepage describes the local CLI as an offline workflow; the FAQ says D2 does not use an internet connection after installation except to check for version updates from GitHub periodically.checked 4 Oct 2026
Online playground
The hosted Playground is an online runner for playing, learning, and creating with D2.checked 4 Oct 2026
Open source
D2 is free and open source, and remains under the Mozilla Public License 2.0.checked 5 Oct 2026
Other integrations
The repository lists community plugins and integrations including Emacs, Telegram, Postgres import, Confluence, and MkDocs.checked 4 Oct 2026
Privacy
The repository FAQ says D2 does not use an internet connection after installation except to check periodically for version updates from GitHub.checked 4 Oct 2026
Programming API
D2 can be used as a library to produce diagrams from Go programs.checked 4 Oct 2026
Project sponsorship
D2 is an independent open-source project fiscally sponsored by Hack Club.checked 4 Oct 2026
Project status
D2 is an independent nonprofit project fiscally sponsored by Hack Club, and its maintainer says development time is limited.checked 5 Oct 2026

Money

Free plan
Yeschecked 20 Sep 2026

Where it runs

Platforms
The CLI supports macOS, Linux, and Windows, and D2 can also run in a browser through WebAssembly.checked 5 Oct 2026

Alternatives to D2

All alternatives
  1. 1Creately logo

    Creately

    Free planWebAPILinuxmacOS
    8.7Free plan
  2. 2Structurizr logo

    Structurizr

    Free planOpen sourceWebAPILinuxmacOS
    8.7From £300 a month
  3. 3SmartDraw logo

    SmartDraw

    AndroidiOSWebAPI
    8.6From $8.95 a month
  4. 4Sparx Enterprise Architect logo

    Sparx Enterprise Architect

    Free planWebAPILinuxmacOS
    8.6$245 one-time
  5. 5draw.io logo

    draw.io

    Free planOpen sourceAndroidiOSWebWindows
    8.4Free plan
  6. 6EdrawMax logo

    EdrawMax

    Free planAndroidiOSWebLinux
    8.3From $5.90 a month