AI diagram generator

Entity Relationship (ERD) Diagram Generator

Describe your schema — or import the repo — and get an ERD with every column.

Free to start · $9/mo for 50 generations · No credit card to begin

Three steps to a diagram you own

Step 1

Describe it, or point at your code

Type what you want in plain English, paste a GitHub repo, or drop in a PDF, URL or sketch.

Step 2

Get an real Entity Relationship (ERD) diagram

DrawX reads the source and lays it out properly — labelled connections, grouped tiers, no overlapping boxes.

Step 3

Edit it. Own it. Ship it.

It's a native draw.io file. Refine it by chat or by hand, then export PNG, SVG, .drawio or PowerPoint.

What you can generate

  • An e-commerce schema with orders, items and payments
  • Your real schema, read from Prisma, SQL or migrations in the repo
  • A multi-tenant billing model with tenants and subscriptions

Have a repo? Skip the prompt.

Swap github.com for www.getdrawx.com/gh in any repository URL and DrawX diagrams it for you.

www.getdrawx.com/gh/vercel/next.js

Questions, answered

Will it show individual columns?+

Yes. DrawX renders each table as a container with one row per column — name, type and key role — and connects foreign keys to the primary keys they reference, rather than collapsing a table into a single box.

Can I edit the generated Entity Relationship (ERD) diagram?+

Yes — that's the whole point. DrawX outputs a native draw.io (.drawio) file, so you can edit it here, in desktop draw.io, or in any draw.io-compatible editor, forever. No proprietary format and no lock-in.

What can I use as a prompt?+

A sentence, a paragraph, a PDF, a URL, an image of a whiteboard sketch — or a whole GitHub repository. DrawX reads the source and draws what's actually there.

Is it free?+

You get 5 diagram generations a month free, no credit card. DrawX Pro is $9/mo (or $90/yr) for 50 generations with all modes and every export format.

Is there an API or an MCP server?+

Both. There's a public HTTP API (POST /api/v1/diagram/generate with an OpenAPI spec) and an MCP server on the official MCP registry — run `npx @drawx/mcp-server` to generate diagrams from Claude, Cursor or VS Code.

What formats can I export?+

PNG, SVG, native .drawio, and PowerPoint (PPTX) — so the diagram works for the repo, the doc and the meeting.

Stop redrawing diagrams by hand.

Generate your first editable architecture diagram in under a minute — free.

Get started free