Free UML Diagram Maker
DiagramGPT — Eraser
Start from a type
- Architecture
- Flowchart
- Business Process
- Data Flow
- Database Schema
Eraser AI supports diagrams from source data
- Use an existing image, Visio, or draw.io diagram
- Use a spreadsheet, slide show, or PDF
- Use a connected GitHub or Gitlab repo
How it works
How to generate an uml diagram
Tips on making a UML diagram
- Instead of writing a prompt from scratch, consider pasting excerpts from existing documentation, product code, system output, project description, or uploading image files.
- Working with an LLM to create a fleshed out diagram prompt can be effective. Specify to the LLM the type of UML diagram and system or flow that you’re trying to visualize, and ask it to create a list of what should be shown on the diagram.
Example diagrams
- Video streaming app data model (Class Diagram)
- Auth0 SSO (Sequence Diagram)
- Uber rider session state machine (State Diagram)
Determine the type of UML diagram you’d like and specify that in the prompt
For example, start the prompt with “Make a sequence diagram”. UML diagram types include:
- Class Diagram (supported by Eraser)
- Use Case Diagram (supported by Eraser)
- Sequence Diagram (supported by Eraser)
- State Diagram (supported by Eraser)
- Activity Diagram
- Component Diagram
- Deployment Diagram
- Object Diagram
- Package Diagram
- Communication Diagram
- Interaction Overview Diagram
- Timing Diagram
Describe the content of the diagram
A simple one-liner can work too but the best prompts are usually at least 3-4 sentences long:
- Class Diagram: 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.
- Use Case Diagram: Describe users (e.g. student, teachers) and use cases (e.g. submit homework, view grades). Include visual requirements of a use case diagram.
- Sequence Diagram: Write a prompt describing a user flow or a data flow as a sequence of events.
- State Diagram: Describe states (e.g. logged in, logged out) and transitions (e.g. submit credentials, session expiry).
Make a diagram with the completed prompt
Edit the diagram with follow-up prompts (this step requires signing in to Eraser)
Manually adjust the layout using GUI controls (this step requires signing into Eraser)
FAQ
- Can I edit the generated UML diagram?: Yes. Click “Save and Edit Diagram” to open it in Eraser.
- What can I use as a prompt?: Plain English, a nested list, or a code snippet.
- Can I use this from an AI agent?: Yes. Eraser runs an MCP server.
- Who created this tool?: The UML diagram maker was created by the team at Eraser.
- Is it free?: Generating a UML diagram is free and requires no sign-up.
- Is there an API?: Yes, you can read our API documentation.
- Do you use my data to train AI models?: No. Neither Eraser nor our model providers use your data to train AI models.
- How do I get started?: Describe what you need in the prompt box above and generate.
- What’s next for this tool?: We’re working to improve accuracy and layout customization.
- How do I get in touch?: Reach out at hello@eraser.io.