Now in Public Beta

Design database schemas
visually & collaboratively

Write schema in a clean DSL, see it as a live ERD diagram, and export production-ready SQL. Real-time collaboration built in.

Free forever. No credit card required.

schema.erd
DSL ERD SQL
1
2
3
4
5
6
7
8
9
10
11
12
13
Table users {
  id int [pk, increment]
  username varchar [unique]
  email varchar [not null]
  created_at timestamp [default: `now()`]
}

Table posts {
  id int [pk, increment]
  title varchar [not null]
  user_id int [ref: > users.id]
  status post_status
}
users id int pk username varchar email varchar created_at timestamp posts id int pk title varchar user_id int fk status enum
Export to
PostgreSQL MySQL SQL Server SQLite

Everything you need to
design databases

From quick prototyping to team-wide schema management — ERDHub adapts to your workflow.

DSL-First Editor

Write schemas in a clean, readable syntax with syntax highlighting. Tables, relationships, enums, indexes — all in code.

Live ERD Canvas

See your schema as an interactive diagram in real time. Drag tables, auto-layout with 3 algorithms, and export as PNG or SVG.

Real-Time Collaboration

Edit diagrams together with live cursors, presence indicators, and CRDT-powered conflict-free syncing. No merge conflicts ever.

Multi-Dialect SQL

Export production-ready DDL for PostgreSQL, MySQL, SQL Server, and SQLite. Dialect-specific types, quoting, and syntax.

Import & Export

Import existing SQL schemas or start from scratch. Export to PNG, SVG, or production SQL with a single click.

Version History

Auto-saved snapshots with 90-day retention. Label, restore, or fork from any version. Never lose your work.

How it works

Three steps to your first database diagram.

1

Write your schema

Define tables, columns, relationships, and enums in ERDHub's clean DSL. Or import from existing SQL files.

2

Visualize the diagram

Your schema renders as an interactive ERD canvas in real time. Drag, zoom, auto-layout, and organize visually.

3

Export & collaborate

Export production-ready SQL for your target dialect. Share with your team and edit together in real time.

Simple, transparent pricing

Start free. Upgrade when you need more power.

Free

$0 forever

For personal projects and learning.

Get started
  • Unlimited diagrams
  • All 4 SQL dialects
  • Public share links
  • Up to 4 collaborators
  • PNG & SVG export
Most Popular

Pro

$8 /month

For professionals who need more.

Start free trial
  • Everything in Free
  • Password-protected links
  • Private diagrams
  • Unlimited collaborators
  • Version history (90 days)
  • SQL import

Team

$12 /seat/month

For teams that design together.

Start free trial
  • Everything in Pro
  • Workspaces with RBAC
  • Seat-based billing
  • Team member management
  • Shared project access
  • Admin controls