Free ERD Maker
DiagramGPT — Eraser
Start from a type
- Architecture
- Flowchart
- Business Process
- Data Flow
- Database Schema
How it works
How to generate an erd
Tips on making an ERD:
- If available, instead of writing a prompt from scratch, consider pasting excerpts from existing code (e.g. SQL schema, ORM schema), call transcripts, requirements docs, or image files.
- Iterating with an LLM to create a fleshed out diagram prompt can be effective. Ask it to list out entities including attributes and constraints. Then ask it to list out relationships between entities including cardinality.
Example diagrams
ERDs vs. database diagrams
- ERDs are often database diagrams, representing the data model or data schema that is stored in a RDBMS (relational database management system).
Steps to generate a diagram:
Write a prompt describing the data model in detail.
A simple one-liner (e.g. “draw a data model of a Twitter clone”) can work too but the best prompts are usually at least 3-4 sentences long. Apply the following framework:- First, write out the entities (i.e. tables). For the entities, you may want to specify attributes (i.e. columns) and their data types. You can also specify primary and foreign keys.
- Then, write out the relationship between tables including the relationship cardinality (e.g. “the user entity and the document entity have a one-to-many relationship via the userId attribute”).
Make a diagram with the completed prompt.
Edit the diagram with follow-up prompts.
(This step requires signing in to Eraser)
More generators
- Architecture Diagram Maker
- Swimlane Diagram Maker
- Sequence Diagram Maker
- Flowchart Diagram Maker
- Data Flow Diagram Maker
- Network Diagram Maker
- AWS Diagram Maker
- Azure Diagram Maker
- Terraform Diagram Maker
- Kubernetes Diagram Maker
- Use Case Diagram Maker
- State Diagram Maker
- UML Diagram Maker
- Block Diagram Maker
- Process Flow Diagram Maker
- Process Map Maker
- User Journey Map Maker
- Workflow Diagram Maker
- User Flow Diagram Maker
- Org Chart Maker
- System Architecture Diagram Maker
- Mermaid Editor
- PlantUML Editor
FAQ
- Can I edit the generated erd? Yes. Click “Save and Edit Diagram” to open it in Eraser, where you can edit using diagram-as-code syntax or the visual GUI.
- What can I use as a prompt? Plain English, a nested list, or a code snippet. You can also paste excerpts from requirements docs, transcripts, or knowledge-base articles.
- Can I use this from an AI agent? Yes. Eraser runs an MCP server, so any MCP-compatible client – Claude, Cursor, or ChatGPT – can create and edit these diagrams directly. See the MCP catalog for more information.
- Who created this tool? The erd maker was created by the team at Eraser, leveraging frontier AI models. Eraser is an AI tool for technical design and documentation.
- Is it free? Generating an erd is free and requires no sign-up. Sign in to a free Eraser account to edit, save, and export your diagrams.
- Is there an API? Yes, you can read our API documentation. The API is only available to Starter, Business, and Enterprise Plan teams.
- Is there an MCP server? Yes. The Eraser MCP server lets an agent create, search, read, update and export diagrams from clients like Claude, Cursor, VS Code, and ChatGPT. It is free to use, subject to the AI credit limits of your plan.
- Do you use my data to train AI models? No. Neither Eraser nor our model providers use your data to train AI models. Eraser may analyze usage to improve and enhance our AI features.
- How do I get started? Describe what you need in the prompt box above and generate. You can keep refining the result with follow-up prompts.
- What’s next for this tool? It only gets better from here. We’re working to improve accuracy and layout customization. If there’s something you’d like to see, drop us a note at hello@eraser.io.
- How do I get in touch? We’d love to hear from you. Reach out at hello@eraser.io, on X (@eraserlabs), or join our Slack community.