ChatDiagram
Tools/ER diagram tool

ER diagram tool.

Describe a database and draw an ER diagram with entities, attributes, primary keys, foreign keys and crow's-foot relationships. Start with a domain such as a store, library or internal system, then refine the tables and connections in chat.

Entity-Relationship Diagram (ERD)Enter to send

Free account, no card · Export SVG, PNG or PDF

See it work

ER diagram examples.

Same tool, four requests. Every drawing below is a real render.

What you type
A bank management database with Bank, Branch, Employee, Customer, Account, Transaction, Loan, and LoanPayment tables. Branches belong to a bank and have employees; accounts and loans belong to customers and branches; transactions belong to accounts and loan payments belong to loans.
Then tryAdd a credit card table linked to AccountAdd a branch address history table
Entity-Relationship Diagram (ERD): Bank management database
Entity-Relationship Diagram (ERD) · Chen 1976 / Everest 1976 (crow's foot) · schematex-erd

Rather start from a finished drawing? Browse 172 erd templates →

The drawing

What an ER diagram is.

An ER diagram, or entity-relationship diagram, is a visual model of a database. It names the entities the system stores, the attributes on each entity, and the relationships between them.

Primary keys identify rows and foreign keys connect tables. Crow's-foot markers show whether a relationship is one-to-one, one-to-many or optional, so the design can be discussed before it is built.

Standard
Chen 1976 / Everest 1976 (crow's foot)
Also follows
Implements the crow's-foot subset
Engine
schematex-erd
Editable
Double-click text, drag nodes
Export
SVG · PNG · PDF
Entity-Relationship Diagram (ERD): What an ER diagram is
Who uses it

Who uses ER diagrams.

Entity-Relationship Diagram (ERD): Small business developersSmall business developers

Inventory, suppliers and stock movements mapped before tables and application screens are built.

Entity-Relationship Diagram (ERD): HR and operations teamsHR and operations teams

Employee skills and certifications organized into entities and relationships for an internal system.

Entity-Relationship Diagram (ERD): Library system designersLibrary system designers

Books, members, loans and copies documented clearly for a lending application.

How it works

How to make an ER diagram in three steps.

01

Describe it

One paragraph is enough to start.

“A bank management database with Bank, Branch, Employee, Customer, Account, Transaction, Loan, and LoanPayment tables. Branches belong to a bank and have employees; accounts and loans belong to customers and branches; transactions belong to accounts and loan payments belong to loans.”
02

See the drawing

Drawn by the right engine.

Entity-Relationship Diagram (ERD): Bank management database
03

Say what changes

Every edit keeps a version.

Add a credit card table linked to Account
V2 · DRAWN FROM V1, NOTHING RETYPED
FAQ

Common questions

What is an ER diagram?

An ER diagram is a database model that shows entities, their attributes and the relationships between them. It commonly marks primary keys, foreign keys and relationship cardinality.

What is the difference between an ER diagram and a database schema?

An ER diagram is the visual representation of a database design. A schema is the formal structure implemented in the database, including table definitions, types and constraints.

What do crow's-foot symbols mean?

They show cardinality. A single bar means one, a crow's foot means many, and a circle marks an optional relationship.

When should I draw an ER diagram?

Use one when planning a new database, documenting an existing application, reviewing a data model or explaining relationships to teammates.

Related tools

Other drawings for the same work.

Draw an ER diagram now.

Free account, no card. Describe the data and refine the relationships in chat.

Open the editor