# D2 **D2** is a modern, open‑source **diagram scripting language**: you write simple, human‑readable text, and it automatically renders that text into a diagram. --- [Architecture Diagram (D2)](https://diagrams.gocapable.com/diagrams/architecture-diagram-d2.html)[Containers & Icons (D2)](https://diagrams.gocapable.com/diagrams/containers-icons-d2.html)[Sequence Diagram (D2)](https://diagrams.gocapable.com/diagrams/sequence-diagram-d2.html)[Shape Variations (D2)](https://diagrams.gocapable.com/diagrams/shape-variations-d2.html)[SQL Schema Diagram (D2)](https://diagrams.gocapable.com/diagrams/sql-schema-diagram-d2.html)[UML Class Diagram (D2)](https://diagrams.gocapable.com/diagrams/uml-class-diagram-d2.html)