RelateDB
Browser-based offline-first ERD studio for visually designing database schemas with tables, columns, and relationships.
At a Glance
Pricing
Unlimited local-first studio
Engagement
Available On
About RelateDB
RelateDB is a browser-based ERD (Entity-Relationship Diagram) studio that enables developers and database architects to visually design database schemas even while offline. The tool provides a fast canvas for modeling tables, columns, and relationships with everything persisting locally via IndexedDB-backed storage. Users can work without servers, refresh or reopen their browser, and continue where they left off.
-
Visual ERD Canvas allows users to create tables as nodes and relations as edges, with drag-and-drop functionality to keep the big picture visible across schemas.
-
Offline-First Architecture ensures all work persists locally without requiring an internet connection or server dependency, making it ideal for secure environments or travel.
-
Import Capabilities support bringing in existing DBML or SQL CREATE TABLE statements, then refining them visually within organized workspaces.
-
Export Options include SQL generation for Postgres and MySQL, DBML export, diagram rendering to PNG/JPG/SVG formats, and read-only share links for team reviews.
-
Auto-Layout uses ELK-based automatic layout per schema with packing across schemas, aligned to sidebar order, and includes lock-position support for precise control.
-
Version History enables saving snapshots, renaming them, exporting them, and comparing versions against current schemas with visual diffs.
-
Migration SQL Generation allows users to generate Postgres/MySQL migration SQL between snapshots and the current schema for seamless database evolution.
-
Workspace Backups support exporting .relatedb.json workspace backup files and restoring them later via the Import modal.
To get started, simply open the Studio in your browser and begin modeling immediately. No account is required for local usage. Create workspaces to organize schemas, add tables and relationships visually, and export your work when ready for implementation.

Community Discussions
Be the first to start a conversation about RelateDB
Share your experience with RelateDB, ask questions, or help others learn from your insights.
Pricing
Free Plan Available
Unlimited local-first studio
- Unlimited workspaces, schemas, and tables
- Offline-first persistence (IndexedDB)
- Import DBML + SQL
- Export SQL/DBML + diagram images
- Read-only public share links (including snapshots)
Pro
Sync across devices
- Cloud sync across devices
- Faster onboarding across machines
- Ready for future collaboration features
Capabilities
Key Features
- Visual ERD canvas with drag-and-drop
- Offline-first persistence via IndexedDB
- Import DBML and SQL CREATE TABLE
- Export SQL for Postgres/MySQL
- Export DBML
- Export diagrams as PNG/JPG/SVG
- Read-only public share links
- Schema snapshots and version history
- Visual diff comparison between versions
- Migration SQL generation
- Workspace backups (.relatedb.json)
- ELK-based auto-layout
- Lock-position support
- Unlimited local workspaces and schemas
- Cross-schema visualization
- Notes and areas for context