ER Diagram Template
An entity relationship (ER) diagram shows the tables in a database, their fields and how they relate. This template models a simple shop: customers place orders, orders contain order items, and each item refers to a product. Primary and foreign keys are marked, and relationships use crow's foot notation.
When to use an ER diagram
Use it when designing a new database, explaining an existing one to a new team member, planning a migration or teaching database basics. A diagram makes it much easier to spot missing relationships or fields in the wrong table than reading a schema file.
Reading crow's foot notation
The symbol at each end of a line shows how many records can be involved. A single bar means exactly one; a crow's foot means many; a circle means zero is allowed. In the template, one customer places zero or many orders, and an order contains one or many items.
How it works
Open the template
Open the template in the editor from this page. The board loads with every shape, label and arrow ready to edit.
Model your entities
Rename the tables to your own entities and list their fields, marking primary keys (PK) and foreign keys (FK).
Connect related tables
Drag an arrow between two tables and set the arrowheads in the properties panel to the right cardinality.
Review relationships
Read each relationship aloud as a sentence to check it, such as "a customer places many orders".
Frequently asked questions
How do I change the crow's foot symbols?
Select the arrow and choose different start and end arrowheads in the properties panel. Cardinality symbols for one, many, zero-or-one and zero-or-many are available.
Can I add data types to fields?
Yes. The field lists are plain text, so add types after each name, such as "email varchar".
Can I work on it with other people?
Yes. Start a live collaboration session from the editor and send the room link. Everyone with the link can edit the same board at the same time.
How do I save or share the finished board?
Export it as a PNG or SVG image, or save it as an .excalidraw file that you can open again later and keep editing.
Related
- ER Diagram MakerMake an entity relationship diagram in your browser: tables with fields and crow's foot relationships. Free, no account, PNG and SVG export.
- System Architecture TemplateA free system architecture diagram template: clients, load balancer, API, database, cache, storage, queue and worker, with labelled connections.
- Sequence Diagram TemplateA free sequence diagram template showing a login between user, web app, API server and database, with requests, replies and lifelines.
- Basic Flowchart TemplateA free basic flowchart template with start and end, process steps, a yes/no decision, a loop and a shape legend. Edit and extend it online.
- Concept Map TemplateA free concept map template with a main concept, linked sub-concepts, details, examples and labelled linking arrows. Build concept maps online.
- Flowchart MakerMake flowcharts in your browser: shapes, arrows that stay attached, keyboard shortcuts for new steps, Mermaid import and PNG or SVG export. Free, no account.