What is D2?
D2 generates diagrams from a declarative text language.
Who is D2 for?
Teams evaluating D2 for diagramming workflows, particularly text-based diagrams and automatic layout. Check the edition and intended deployment before selecting a package.
D2 features
The core capabilities to consider for your workflow.
- Text-based diagrams
- Automatic layout
- Diagram rendering
D2 pricing
Open-source software
Review the software licence and distribution, then scope infrastructure, maintenance and support. Commercial hosting, proprietary extensions and managed services can be priced separately.
Calculate the cost of your quote →Free access & evaluation
An open-source software edition is available. Check the exact licence and distribution; hosting, operation, support and separately licensed extensions may still cost money.
Before you choose D2
Which diagram types and shape libraries must the editor support?
Who needs to edit, comment, view or receive the underlying file?
Explore related software
D2 FAQs
Does D2 have a free plan?
An open-source software edition is available. Check the exact licence and distribution; hosting, operation, support and separately licensed extensions may still cost money.
Who is D2 for?
Teams evaluating D2 for diagramming workflows, particularly text-based diagrams and automatic layout. Check the edition and intended deployment before selecting a package.
What should I compare before buying?
Check the tier that contains your essential features, confirm plan limits and compare the total quote with your own expected usage.

