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).
Everything you need for schema design
A fast canvas for modeling + thoughtful productivity features for real projects.
Tables as nodes, relations as edges. Drag, select, edit, and keep the big picture visible across schemas.
Work persists locally via IndexedDB-backed storage. Refresh, reopen, and continue without servers.
Bring in DBML or SQL CREATE TABLE, then refine visually and keep schemas organized in workspaces.
Export SQL for Postgres/MySQL, export DBML, or render the canvas to PNG/JPG/SVG when sharing.
ELK-based auto layout per schema with packing across schemas, aligned to sidebar order.
Duplicate areas/tables/notes with ID remapping and name de-duplication. Undo/redo foundations included.
From idea → schema → export
A smooth loop for iterating quickly, keeping it consistent, and shipping confidently.
Create tables, columns, and relationships. Add notes and areas for context.
Split work into schemas. Keep an active schema while still visualizing cross-schema structure.
Generate SQL/DBML or export an image of the diagram for PRs, docs, and architecture reviews.
Unlimited locally.
RelateDB is free to use with no limits for local-first work.
Common questions
Short answers for first-time users and teams evaluating the workflow.
Yes — state persists locally (IndexedDB-backed). You can refresh/reopen and keep working without a server.
No. Everything runs locally in your browser.
Yes — import DBML or SQL CREATE TABLE and continue editing visually.
Yes — export SQL for Postgres/MySQL and export DBML at the schema or workspace level.