Skip to content
D

D2 Docs

Language documentation and blog for D2

by d2langFree

#667in Design
0In stores

Description

D2 is a modern diagramming language. You write a short text description and D2 turns it into a diagram, which you can edit with your team. T…

Highlights

  • Text-to-diagram language
  • Themes, sketch mode and animations
  • Local CLI with watch mode
  • VSCode and Vim editor support
  • Three layout engines and an online playground

Ratings & Reviews

No ratings yet

Be the first to rate D2 Docs.

People also visit

T

Text To Diagram Site

Compare syntax, layouts, outputs between languages for generating diagrams

Design
Launch
L

Lini

One small language for every figure from plain text

Design
Launch
T

Technical diagrams from text

HTTPS://text2diagram.com/

Design
Launch
C

Cascii Core

A web-based ASCII and Unicode diagram builder written in vanilla Javascript

Design
Launch
M

markdown-mermaid-writing

Writes scientific Markdown documentation and Mermaid diagrams for workflows

AI Skills
Get
D

Drawthe.net

drawthe.net draws network diagrams dynamically

Design
Launch

D2 Docs FAQ

What is D2?

A declarative language that turns text into diagrams, with themes, sketch mode and animations.

How do I install it?

Install the local CLI, which runs on macOS, Linux and Windows. D2 is also included in package managers such as Homebrew and Winget.

Can I try it without installing?

Yes. The site has a hosted playground where you can create and share diagrams.

Is it open source?

Yes. The project is public on GitHub.

What are the best D2 Docs alternatives?

Popular alternatives to D2 Docs include Text To Diagram Site, Lini and Technical diagrams from text. See all D2 Docs alternatives

Developer Stuff

Badges