D2
Terrastruct
D2 turns a plain text file into a tidy diagram. You write shapes and connections in a short syntax, and the tool lays them out automatically with three built-in layout engines and exports to SVG, PNG, PDF, PPTX, GIF or ASCII. There is a hand-drawn sketch mode, sequence diagrams and grids, and a watch mode that refreshes the diagram on every save. Work is fully local, and the diagram is stored as text that can be kept in Git next to the documents. Engineers use it for process diagrams, block diagrams of control and communication systems and architecture documentation that is easy to update. Limitation: it is a command-line tool with no graphical editor; an online playground is available for quick tests.
Ratings & Reviews
| Licence type | Completely Free, Open Source |
|---|---|
| Licence terms | Open source under the MPL 2.0 licence: free for any use, including commercial, with no registration and no payment. |
| Platforms | Linux, macOS, Windows |
| Engineering field | Architecture, Civil Engineering, Electrical & Electronics, Mechanical Engineering |
| Tool type | General Productivity |
| Vendor site | d2lang.com |
This link goes to the vendor site. EngiFree hosts no installers and distributes no cracked versions.
Last verified: 2026-10-23




