# D2

> Modern diagram scripting language to turn text to diagrams

Page: https://nowfound.app/launch/d2

- Launched: 2022-12-20
- Launch-day votes: 7, 2 comments; #1,296 of 3,296 launches that month (top 39%)
- Website: [github.com](https://github.com/d2lang/d2), online when checked 2026-09-16
- Category: [Dev tools](https://nowfound.app/c/developer-tools.md)
- Pricing: Free. Free and open source (checked 2026-11-22 on its site)
- Forecast: 79% chance its website is still online in November 2031 (95% in November 2027, 87% in November 2029). Made 2026-11-29 and not revised. Typical launch of 2022: 80%. [Method](https://nowfound.app/forecast.md)
- Originality: 55/100 (familiar idea). More original than 55% of products launched in 2022. On its launch day the archive already held 1 similar product; 7 products like it have launched since.
- Makers: Alexander Wang
- Topics: Productivity, Developer Tools, GitHub, Tech

## What it does, from its own words

D2 is a modern diagram scripting language that turns text to diagrams.

D2 is a modern diagram scripting language that turns text to diagrams. - d2lang/d2

## Does a similar job

- [Code2Flow](https://nowfound.app/launch/code2flow): An easy solution to create product flows. (2019-04-12, 247 votes, from $10/mo, forecast: 80% online in 2031, code2flow.com)
- [Sketch2scheme](https://nowfound.app/launch/sketch2scheme): Convert hand-drawn flow charts and diagrams to digital schemes (2024-07-16, 208 votes, from $11.99/mo, forecast: 87% online in 2031, sketch2scheme.com)
- [Diagram as code tool with draggable](https://nowfound.app/launch/diagram-as-code-tool-with-draggable-customizations): This diagram-as-code tool combines declarative syntax with manual customization, letting users quickly generate diagrams and then drag elements to refine their layout. (2025-10-25, 266 votes, free, forecast: 93% online in 2031, github.com)
- [Sketch2Code](https://nowfound.app/launch/sketch2code): Turn hand-drawn design into a HTML with AI. By Microsoft. (2019-12-30, 407 votes, forecast: 89% online in 2031, learn.microsoft.com)
- [dbdiagram.io](https://nowfound.app/launch/dbdiagram-io): Quick and simple free tool to help you draw your database relationship diagrams and flow quickly using simple DSL language. (2018-09-27, 176 votes, free tier, from $5/mo, forecast: 81% online in 2031, dbdiagram.io)
- [Reladraw](https://nowfound.app/launch/reladraw-a-diagram-language-where-you-decide-where-to-place): Reladraw is a diagram language that gives users control over element placement. (2026-09-26, 411 votes, free, forecast: 92% online in 2031, github.com)

All alternatives: https://nowfound.app/alternatives/d2.md

## For the maker of D2

- Feature it at the top of the NowFound home page for $19 for 30 days, marked sponsored: https://nowfound.app/feature/d2
- Free: put the badge on the product's own site and it joins Featured products after the paid spots, and this page links to the site with a normal link search engines follow. HTML for the footer: `<a href="https://nowfound.app/launch/d2"><img src="https://nowfound.app/badge/d2.svg" alt="D2 on NowFound" height="32"></a>`

Source: [Product Hunt launch](https://www.producthunt.com/products/d2/launches/d2)
