Free ERD Maker

DiagramGPT — Eraser

Start from a type

How it works

How to generate an erd

Tips on making an ERD:

Example diagrams

ERDs vs. database diagrams

Steps to generate a diagram:

  1. 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”).
  2. Make a diagram with the completed prompt.

  3. Edit the diagram with follow-up prompts.
    (This step requires signing in to Eraser)

More generators

FAQ