Skip to content
SPECIFICTION
Get listed

D2 vs Eraser

D2

d2lang.com

Eraser

eraser.io

Side by side

FigureD2Eraser
Price from—$15/mo
Free plan—Yes
Free trial——
Open source——
WebYesYes
WindowsYes—
macOSYes—
LinuxYes—
APIYesYes
Self-hostedYesYes
Plans published04
Spec score · Diagramming Software7.9 (#31)9.1 (#3)
Spec score · Diagramming tools7.6 (#36)9.1 (#4)
Diagram typessoftware architecture diagrams; UML class diagrams; sequence diagramsThe documented diagram-as-code types are flow charts, entity-relationship diagrams, cloud architecture diagrams, sequence diagrams and BPMN diagrams.
Free planYesYes
IntegrationsOfficial integrations include extensions for VSCode, Vim, and Obsidian; the extensions page also lists community plugins and tools.Official integrations include GitHub, Notion, Confluence and a VS Code extension.
SupportThe project directs users to Discord for help and GitHub Issues and Discussions for bugs, proposals, and feature requests.The Enterprise plan includes a customer success manager, and security reports are available under NDA.
What it doesD2 is a declarative diagramming language that turns text into diagrams.Eraser is a web platform for creating AI-assisted technical diagrams and documentation.

Plans

D2

No plans published.

D2 pricing →

Eraser

  • FreeFree
  • Starter$15 a month
  • Business$45 a month
  • EnterprisePriced on request

Eraser pricing →

In their own words

D2

D2 has no write-up on Specifiction yet; its figures are above.

Visit d2lang.com

Eraser

Eraser is a diagramming tool for technical teams that generates diagrams from prompts, code, files, and private Git repositories. It supports flow charts, entity-relationship diagrams, cloud architecture diagrams, sequence diagrams, and BPMN diagrams. Generated diagrams can be adjusted with diagram-as-code or AI edits, and reference libraries can align output with company building blocks. Collaboration includes real-time work, comments, tagging, and unlimited free guests. The service lists GitHub, Notion, Confluence, and a VS Code extension, as well as live diagram embeds and Git-powered updates. The free plan includes 3 files, 3 AI diagrams, and 7-day version history. Starter costs $15 a month when billed annually, or $20 monthly; it adds unlimited files, private files, and API calls. The diagram API is for paid users, while MCP operations are subject to plan AI-credit limits. Eraser says it is SOC 2 Type 2 certified, performs annual penetration testing, and does not train AI models on customer content. Enterprise deployment options include multi-tenant, single-tenant, and self-hosted setups.

Visit eraser.io