Skip to main content
Skip table of contents

D2

D2 is a modern diagram scripting language that makes it easy to create different types of diagrams using simple text input. It’s an open-source, declarative language that emphasizes ease of use, human-readability, and quick generation of diagrams, making it suitable for software architecture, ER diagrams, flowcharts, and more.

Screenshot 2024-10-22 at 15.18.16.png

D2 Editor

Screenshot 2024-10-22 at 15.17.22.png

D2 Templates

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.