RelateDB
RelateDB
Offline-first schema designer
Unlimited local projectsOffline-firstImport SQL/DBMLExport SQL/DBML

Design database schemas visually — even offline.

RelateDB is a browser-based ERD studio for modeling tables, columns, and relationships. Everything is free and unlimited locally (IndexedDB).

Local usage
Unlimited
Persistence
IndexedDB
Schema Preview
Offline-ready
Workspace
3 schemas
public
3 tables
userssessionsaudit_log
billing
3 tables
customersinvoicespayments
analytics
3 tables
eventspropertiesrollups
Import
DBML or SQL CREATE TABLE
Export
Postgres/MySQL + DBML
FEATURES

Everything you need for schema design

A fast canvas for modeling + thoughtful productivity features for real projects.

Visual ERD canvas

Tables as nodes, relations as edges. Drag, select, edit, and keep the big picture visible across schemas.

Offline-first

Work persists locally via IndexedDB-backed storage. Refresh, reopen, and continue without servers.

Import

Bring in DBML or SQL CREATE TABLE, then refine visually and keep schemas organized in workspaces.

Export

Export SQL for Postgres/MySQL, export DBML, or render the canvas to PNG/JPG/SVG when sharing.

Auto-layout

ELK-based auto layout per schema with packing across schemas, aligned to sidebar order.

Copy / paste + history

Duplicate areas/tables/notes with ID remapping and name de-duplication. Undo/redo foundations included.

WORKFLOW

From idea → schema → export

A smooth loop for iterating quickly, keeping it consistent, and shipping confidently.

01
Draft on the canvas

Create tables, columns, and relationships. Add notes and areas for context.

02
Organize by workspace

Split work into schemas. Keep an active schema while still visualizing cross-schema structure.

03
Export & share

Generate SQL/DBML or export an image of the diagram for PRs, docs, and architecture reviews.

Try it in your browser
Open Studio and start modeling immediately.
CAPABILITIES

Unlimited locally.

RelateDB is free to use with no limits for local-first work.

Free
Unlimited local-first studio.
$0
Unlimited workspaces, schemas, and tables
Offline-first persistence (IndexedDB)
Import DBML + SQL
Export SQL/DBML + diagram images
FAQ

Common questions

Short answers for first-time users and teams evaluating the workflow.

Is this actually offline-first?

Yes — state persists locally (IndexedDB-backed). You can refresh/reopen and keep working without a server.

Do I need an account?

No. Everything runs locally in your browser.

Can I import an existing schema?

Yes — import DBML or SQL CREATE TABLE and continue editing visually.

Can I export to Postgres/MySQL?

Yes — export SQL for Postgres/MySQL and export DBML at the schema or workspace level.