Back to library
Design & ValidateToolOpen sourceFreemium

D2

Terrastruct's open diagram-as-code tool with multiple layout engines, themes, icons, containers, animation, and SVG or PDF exports.

Visit official siteContent record updated Aug 1, 2026Official site reached automatically · Checked Aug 3, 2026

Why it’s here

It is freer than formal UML for quickly expressing service topology, production flows, and system boundaries while reviewing sources alongside specs.

Best fit

Prototype systems, stories, and interactions, then validate them with real players.

technical-designdocumentation

Before you commit

Layout engines can produce different results and dense diagrams still need manual constraints; distinguish the local CLI from paid cloud collaboration features.

Search resources

Type to search the entire resource library

    Privacy settings

    This first release does not use behavioral analytics, advertising, or third-party tracking. Only your language choice and home-section state are stored in your browser.