Skip to main content
Open-source collaborative ERD designer

Design databases visually.
Generate SQL. Collaborate live.

EntityFlow is a real-time collaborative, self-hostable ERD designer. Draw your schema as tables, fields, relationships and groups — then generate PostgreSQL, MySQL, SQL Server, SQLite and DBML with live validation and multiplayer editing.

app.entityflow.dev
The EntityFlow editor showing the Acme Storefront schema
Generates production DDL for
  • PostgreSQL
  • MySQL
  • MariaDB
  • SQL Server
  • SQLite
  • DBML
The editor

A canvas built for schemas

Drop tables, type fields, drag relationships — EntityFlow keeps foreign keys routed cleanly, groups related tables, and never lets the diagram drift out of alignment.

  • Orthogonal FK routing that stays readable
  • Container groups, sticky notes & custom enums
  • Multi-select, copy/paste and snap alignment
Explore the editor
app.entityflow.dev
The EntityFlow editor with the Acme Storefront schema
Export

Production DDL, instantly

One model, every dialect. Generate clean, idiomatic DDL for five databases plus DBML — validated live against each dialect as you design, so the SQL is right before you ship it.

  • PostgreSQL, MySQL, MariaDB, SQL Server, SQLite
  • DBML, PNG/SVG, PDF and JSON export
  • Dialect-aware validation with inline problems
See SQL generation
app.entityflow.dev
The SQL export dialog generating PostgreSQL DDL
Import

Start from your real database

Point EntityFlow at a live PostgreSQL, MySQL, SQL Server or SQLite database and pull its schema in — or paste DBML, JSON or a query result. Reverse-engineer in seconds.

  • Connect & introspect a live database
  • Import DBML, JSON or SQL
  • Keep diagrams in sync as schemas evolve
See import options
app.entityflow.dev
The connect-to-database dialog
Self-host & open-core

Your schema, your servers

Run EntityFlow on your own infrastructure with Docker Compose or Helm. Bring your own database and identity provider (OIDC/SAML), and manage members, workspaces and licences from EntityFlow Hub.

  • Docker Compose & Helm, single-binary friendly
  • Bring your own Postgres / MySQL / SQL Server
  • SSO via Better Auth (OIDC / SAML)
Read the self-hosting guide

Start designing your schema

Free and open-source. Run it in your browser or self-host in minutes.