Black Friday race Join
ER DIAGRAM TOOL

Design your database
with clear ER diagrams

Draw tables, keys, and relationships your whole team can read.
Spot gaps before you write a line of code.

Get started free
Store database
LM 100% Share
customersPKidintnametextemailtext
ordersPKidintFKcustomer_idintplaced_atdatetotaldecimal
order_itemsPKidintFKorder_idintFKproduct_idintquantityint
productsPKidintnametextpricedecimal

Keys and types at a glance

Every table shows what each field holds and how it links.

ordersPKidintFKcustomer_idintplaced_atdatestatustexttotaldecimal
  • Primary key
    Names each row once
  • Foreign key
    Points to a row in another table
  • Type
    Text, number, date, and more

Crow's foot or Chen

Use the notation your team already reads.

  • Crow's foot

    Tables and keys, with how many rows link to each.

  • Chen notation

    Entities, attributes, and the relationships between them.

Review the model together

Comment on any table or link, settle questions in the thread, and keep the answer next to the design.

  • Pin a comment to any table or line
  • @mention a teammate to get an answer
  • Share a comment link with reviewers

How to draw an ER diagram

Go from a list of nouns to a model you can build.

  1. List your entities.

    One table for each thing you store, like customers or orders.

  2. Add fields and keys.

    Give each table a primary key and mark its foreign keys.

  3. Connect related tables.

    Draw each link and set one or many at each end.

  4. Review, then export.

    Share a comment link, then export it for your docs.

Start from a database template

Five templates for data models. All five need Pro.

  • ER diagram and Chen ER diagram for entities
  • Database schema for tables, types and keys
  • Domain model and Data flow diagram for the big picture

Questions about ER diagrams

Still curious? Contact us

What is an ER diagram?

An entity relationship (ER) diagram shows the tables in a database, their fields and keys, and how they relate. Draw one before you build or change a database, so everyone agrees on the data first.

Is the ER diagram tool free?

ER shapes and templates come with Pro and Team. Start on Free and upgrade when you need them.

Can I export it for my docs?

Yes. Export PNG, SVG, or PDF for docs, or JSON to keep editing later.

What do the crow's foot symbols mean?

Each end of a line shows how many rows can link. A bar means one, a circle means zero, and the three-pronged crow's foot means many, so a bar at one end and a crow's foot at the other reads one-to-many.

How do I show a many-to-many relationship?

Add a join table between the two tables. In a store, order_items links orders and products: an order holds many items, and a product appears in many orders.

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

An ER diagram can stay at the level of ideas, like a customer placing an order. A database schema is the build-ready version, with table names, column types and keys. FlowDraw has a template for each.

Ready to design your database?

Draw tables, keys, and relationships your whole team can read.

Get started free