🗄️ Data model

Describe your entities. OrgGen generates the ERD.

Crée et fait évoluer ton modèle conceptuel de données en langage naturel. Génération automatique des clés étrangères, cardinalités Merise, et export universel vers DBML, PostgreSQL DDL, JSON Schema ou Mermaid pour intégration directe à ton code.

OrgGen entity-relationship diagram: entities, fields, foreign keys, and Merise cardinalities on a real ERD
For: Devs, data engineers, architectes DB, consultants
🔑

Automatic foreign keys

Describe your entities and their relationships, OrgGen infers the FKs and places them correctly. Add an entity linked to an existing one in a single sentence.

🔀

Merise cardinalities

(0,1) (1,1) (0,N) (1,N) — crow's-foot AND text badges shown together, so the diagram reads well both as an ERD and as classic Merise notation.

📤

Universal export

DBML, PostgreSQL SQL (migration-ready DDL), JSON Schema, Mermaid ERD — lossless round-trip, you can re-import the exported file later.

📥

DBML / SQL import

Start from an existing schema: import your DBML or Postgres DDL, OrgGen turns it into an editable diagram and continues by chatting.

🔗

N:M via junction entities

Many-to-many relationships automatically go through a junction entity — never a direct many↔many edge that would break a SQL export.

🎨

Live, collaborative canvas

Inline field editing, entity drag & drop, real-time sync via Supabase — several people on the same ERD.

Prompts to try

Copy-paste into the chat — OrgGen produces an editable diagram.

› Model a B2B SaaS: users, organizations, projects, memberships with their FKs
› Add an Invoice entity linked to Order, with fields amount, status, paid_at
› Create an ERD for a marketplace: sellers, products, orders, payments
› Convert this ERD to migration-ready Postgres SQL

Ready to model your data?

Describe your entities in natural language — OrgGen produces an editable, exportable ERD.

Get started