THE ERD GO HANDBOOK

SQL to ERD,
from schema to diagram.

Write or import SQL, understand your relationships, and turn your schema into a shareable diagram.
Start with the main workflow, then explore the tools that support your design.

Practical examples Ready to copy for AI

START HERE

SQL to ERD guide

Go from your first CREATE TABLE to reviewing relationships, testing data, and exporting or sharing your diagram.

4 SQL dialectsKeys & relationshipsData & queries

More tool guides

7 more ways to build.
02

DB Diagram

Design tables visually, define keys and indexes, connect foreign keys, and save or export a relational database diagram.

Inline table editingKeys & indexesSQL export
03

ERD BuilderChen / EER

Model your ideas visually with Chen and EER notation. Define entities, attributes, and business rules.

Chen notationCardinality & EERConvert to SQL
04

Spreadsheet to SQL

Convert Excel and delimited files into SQL. Review inferred types, choose a dialect, and export your rows.

Files & worksheetsTypes & dialectsConversion issues
05

Prisma to ERD

Visualize schema.prisma with models, relations, and mapped names. Understand syntax and fix diagnostics.

Models & fieldsRelations & mappingsProvider validation
06

Use Case Diagram

Define external actors and system goals. Draw UML relationships, add specifications, and save or export a use case diagram.

Actors & boundariesInclude & extendSave & export
07

Class Diagram

Build classes visually. Define members and relationships, review model checks, organize packages, and save or export your diagram.

Members & relationshipsModel checks & layoutSave & export
08

Sequence Diagram

Build ordered API and service interactions with participants, calls, replies, branches, and notes.

Messages & lifelinesBranches & loopsSave & export

BRING YOUR AI ASSISTANT

Better context. More useful answers.

Open a guide and choose Copy AI Prompt. Paste it into your assistant with your requirements to keep its answer grounded in the tool you are using.