open-diagram vs Eraser for architecture diagrams
This page is for teams deciding where to keep architecture diagrams: in Eraser's hosted workspace, or as files next to their code, drawn by open-diagram. Both work with or without AI.
Updated
What is the difference?
Eraser is a hosted app for technical diagrams and documents. You draw by hand, write its diagram-as-code language, or describe the diagram to its AI, then edit the result any of those three ways. open-diagram is a free, MIT-licensed library that runs on your computer. You or an AI agent write the diagram in Python, JSON or a Mermaid flowchart. It draws SVG files, which stay sharp at any size, and PNG files, then checks the layout.
When should you pick Eraser?
Pick Eraser when a team wants diagrams and documents in one shared workspace.
It can start from a sentence: its AI drafts a diagram from a description or from pasted code. Its diagram-as-code covers five kinds of diagram: flow charts, entity relationship diagrams, cloud architecture, sequence diagrams and BPMN, a notation for business processes. Eraser lays these out by itself, and a freeform diagram lets you place every element instead.
It exports PDF, PNG, SVG and Markdown on every plan. Its official MCP server, a program that lets an AI coding agent work in an Eraser workspace, can create, read, search and update diagrams, documents and files. The server is free to use within the free plan's limits, and calls that use AI spend AI credits.
The free plan includes 3 files and 3 AI credits. Business costs "$45 / member / mo billed annually, or $60 monthly", with 100 AI credits a month.
When does open-diagram fit better?
Pick open-diagram when diagrams belong in a repository next to the code. The file is text, so a pull request shows each changed word. A GitHub Action checks the diagrams on every push, fails if a layout problem appears, and can redraw them.
For diagrams that should not leave your computer, the library and its MCP server run locally, with no account to create.
When the layout has to be right without a person looking, open-diagram check names each problem by the labels involved:
'Storage' and 'Recommendations' are only 9 px apart (minimum 16)An AI agent reads the message, moves a box and checks again. open-diagram costs nothing at any number of diagrams or users.
Can I move from Eraser to open-diagram?
Only by hand: open-diagram does not read Eraser's diagram-as-code. Each node becomes a panel, open-diagram's box, and each connection becomes a link with the same label.
How do they compare on input, output, license and price?
| open-diagram | Eraser | |
|---|---|---|
| Input | Python, JSON, Mermaid flowcharts | Editor, diagram-as-code, AI prompts |
| Layout | You choose the columns; it spaces the boxes and routes the lines | Automatic for diagram-as-code; by hand for freeform |
| Checks layout | Yes, and names each problem | Not in its docs |
| Output | SVG, PNG | PDF, PNG, SVG, Markdown |
| MCP server | Yes, runs on your computer | Yes, hosted; AI calls use credits |
| License | MIT | No license in its docs; a hosted service |
| Price | Free | Free: 3 files, 3 AI credits. Business "$45 / member / mo billed annually, or $60 monthly". Business Plus "$42 / member / mo", "Min. 10 seats", billed annually. Enterprise "Custom" |
Sources: open-diagram's README, command line and AI agents docs. Eraser's docs home (sections, no license), diagram-as-code (diagram kinds, automatic layout, freeform), Eraser AI (prompts, pasted code, three ways to edit), MCP server (tools, free tier, credits) and pricing (plans, credits, exports). "Not in its docs" means the linked pages do not mention it.
Checked November 25, 2026