DiagramGPT by Eraser is an architecture diagram tool that turns a text prompt into a polished technical diagram in seconds. DiagramGPT by Eraser converts a written prompt into flowcharts, entity relationship diagrams, cloud architecture diagrams, sequence diagrams and BPMN charts, then lets you save the result into Eraser and refine it with diagram-as-code editing.
DiagramGPT is a text to diagram generator built by Eraser, a documentation and diagramming tool aimed at engineering teams. A plain language prompt describing a system, a process or a database produces a finished diagram, and the tool presents it together with the underlying diagram-as-code syntax so the result can be checked rather than taken on faith. Eraser states that the generator runs on OpenAI models.
Five diagram types are supported: flowcharts, entity relationship diagrams, cloud architecture diagrams, sequence diagrams and BPMN diagrams. Eraser also publishes a much longer list of specialised generators that cover the same ground in more depth, including AWS, Azure, GCP, Kubernetes and Terraform architecture, C4 and context diagrams, UML and class diagrams, org charts, swimlanes, user journeys, threat models and network topologies. The product suits software engineers, architects, security reviewers and technical writers who need a diagram to explain a decision but do not want to spend an afternoon dragging boxes.
The homepage invites users to add context before generating. Files such as images, draw.io and Visio exports and PDFs can be attached, and the tool can read from GitHub or GitLab repositories or connect to cloud platforms, CMDBs and enterprise architecture tools including AWS, Azure, GCP and ServiceNow. These deeper inputs require a free sign up. A generated diagram can be saved and opened in Eraser for further editing, where changes are made through the diagram-as-code syntax rather than purely by hand.
Against general purpose image generators that produce decorative output, DiagramGPT is deliberately narrow: it targets notation-heavy technical drawings where boxes, arrows and labels need to mean something. Eraser also offers an API for paid plan tiers and an MCP server, so coding agents in Claude, Cursor, VS Code or ChatGPT can create, search, read, update and export diagrams directly.