Skip to content
Whiteboard.zone Open the board

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.

Start drawing — free, no sign-up

ER Diagram Template

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

  1. Open the template

    Open the template in the editor from this page. The board loads with every shape, label and arrow ready to edit.

  2. Model your entities

    Rename the tables to your own entities and list their fields, marking primary keys (PK) and foreign keys (FK).

  3. Connect related tables

    Drag an arrow between two tables and set the arrowheads in the properties panel to the right cardinality.

  4. 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.

Your board is one click away.

Start drawing — free, no sign-up