Loading editor...

Quick Answer

Our free D2 diagram editor lets you create system architecture diagrams, flowcharts, and sequence diagrams using D2's modern declarative syntax. Features live preview, multiple themes, and SVG/PNG export.

How It Works

1

Write your diagram using D2 syntax

2

See the live preview update automatically

3

Customize with themes and layout options

4

Export your diagram as SVG or PNG

Key Facts

  • Create diagrams with D2 declarative syntax
  • System architecture and network diagrams
  • Sequence diagrams and flowcharts
  • Multiple layout engines and themes
  • Live preview as you type
  • Export as SVG or PNG

Frequently Asked Questions

What is D2?

D2 is a modern declarative diagramming language that makes it easy to create professional diagrams using simple text syntax. It was created by Terrastruct.

What diagram types does D2 support?

D2 supports flowcharts, sequence diagrams, entity-relationship diagrams, class diagrams, network topologies, and system architecture diagrams.

How is D2 different from Mermaid?

D2 offers more layout options, better styling control, SQL table support, and is designed specifically for software architecture diagrams.

Can I customize the appearance?

Yes, D2 supports multiple themes, custom colors, shapes, icons, and extensive styling options for nodes and edges.