DbSketch vs DBX
DbSketch
github.comDBX
dbxio.comSide by side
| Figure | DbSketch | DBX |
|---|---|---|
| Price from | Free | Free |
| Free plan | Yes | Yes |
| Free trial | — | — |
| Open source | — | — |
| Web | — | Yes |
| Windows | Yes | Yes |
| macOS | Yes | Yes |
| Linux | Yes | Yes |
| API | — | Yes |
| Self-hosted | — | Yes |
| Plans published | 1 | 1 |
| Spec score · Database Documentation Tools | 7.9 (#15) | 8.0 (#12) |
| License | The repository provides DbSketch under the MIT License. | The repository identifies DBX as free and open source under the Apache-2.0 license. |
| Support | The maker welcomes issues and pull requests, including provider, renderer, and documentation improvements. | The repository directs users to documentation, community discussions, issue reporting, and voluntary donations or sponsorship to support ongoing maintenance. |
Plans
In their own words
DbSketch
DbSketch is a command-line generator for turning live relational database schemas into version-controlled documentation. It reads tables, columns, primary keys, and foreign keys from SQL Server, PostgreSQL, MySQL, and SQLite. Output choices are Graphviz DOT, Mermaid ER, or Markdown files with diagram text in a fenced code block. A YAML configuration holds one database connection and can define named diagram targets, allowing one setup to produce multiple focused diagrams with separate output and renderer settings. DbSketch can include native database comments where supported and apply YAML comment overrides. Its DOT renderer preserves foreign-key relationships down to the connected columns. The maker describes it as useful for repository documentation, CI, and compact schema snapshots for people and AI coding assistants. It is distributed as the.NET tool DimonSmart.DbSketch, which installs the dbsketch command; the getting-started guide requires the.NET 10 SDK. The software is MIT-licensed and costs nothing. It runs on Linux, macOS, and Windows and is self-hosted.
DBX
DBX is a free, open-source workspace for database connections, object browsing, SQL editing, data changes, schema work, and automation. It supports more than 100 databases and data systems across relational, NoSQL, vector, time-series, embedded, and messaging categories. The CodeMirror 6 SQL editor includes metadata-aware autocomplete, formatting, selected-query execution, diagnostics, history, and saved snippets. Other tools cover virtualized data grids, schema browsing and comparison, ER diagrams, field lineage, imports, exports, and transfers between connections. Its AI SQL assistant works with Claude, OpenAI, local models through Ollama, and OpenAI-compatible endpoints. DBX also has MCP integrations for compatible agents and a command-line interface. It runs as a desktop app on macOS, Windows, and Linux, or as a self-hosted Docker web deployment. Safeguards include read-only connections, confirmations for production writes, reviewable SQL changes, MCP access policies, and encrypted configuration exports. Stored credentials are encrypted, and the plugin store offers signed, sandboxed extensions.