ERD Studio

Logical data modelling canvas in VS Code, stored as DBML in the repo

Image 1 of 1: ERD diagram on a canvas beside the .dbml files it is stored in, in the VS Code Explorer

A VS Code canvas for tables, keys, grain and relationships that writes each table to its own .dbml file under .erd-studio/, with relationship and diagram files beside it. Power BI models, CREATE TABLE scripts and DBML import as drafts, and coding agents edit the same files.

Trade-offs

  • One DBML file per table, shared by every diagram, instead of one file per diagram. Models review in the same pull request as the code, but dbdiagram.io needs an export to take a diagram as one file.
  • In the repo, with no account, server or database. The model lives beside the code, and agents read and write it like any other file.
  • Source available under the PolyForm Shield license, not open source: free to use, while building a competing product on it is not allowed.

Q&A2

Yes. Its files are already DBML that other tools read as a multi-file project, and each diagram exports to one self-contained file that keeps the modelling fields and table positions.

Reviews

Loading reviews

    More in VS Code

    See all 7 →
    • gitpaneMulti-repo Git dashboard for the terminal and the VS Code Explorer
    • Localization Resource ManagerLocalization files from one binary, as a CLI, terminal UI, web UI or in VS Code
    • KiiraType-checks the TypeScript code fences in Markdown against the real project
    • SQL CrackVS Code extension that draws SQL query flow, dependencies and column lineage
    • CodeVisualizerVS Code extension that draws function flowcharts and codebase dependency graphs
    • uv-vscodeVS Code extension that makes uv scripts and dependencies first-class

    More in Database internals

    See all 29 →
    • PaganelData migration engine that verifies the destination down to the row
    • FeOxDBEmbedded key-value store in Rust with write-behind durability
    • SNKVEmbedded key-value store built directly on SQLite's B-tree
    • RuvioRust key-value server that speaks RESP, with locks and queues as commands
    • musqlSQLite-compatible SQL engine on columnar storage and a JIT
    • EgresPostgres-compatible database in Zig for heavy, multi-tenant workloads

    More in SQL

    See all 11 →
    • cerberusPrometheus, Loki and Tempo HTTP gateway for ClickHouse
    • dbxliteBrowser SQL workbench on DuckDB for local files, BigQuery and Snowflake
    • DataZenDesktop database workspace for developers and AI agents
    • sqlmuxtmux-style terminal database client with Vim keybindings
    • SlothDBExperimental embedded SQL engine in C++20, from scratch
    • DuckDB TerminalSQL terminal for DuckDB that runs entirely in the browser