DBDock vs DbSketch
DBDock
dbdock.xyzDbSketch
github.comSide by side
| Figure | DBDock | DbSketch |
|---|---|---|
| Price from | Free | Free |
| Free plan | Yes | Yes |
| Free trial | — | — |
| Open source | Yes | — |
| 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 | 9.0 (#2) | 7.9 (#15) |
| License | The CLI repository is released under the MIT license and is described as self-hosted and free forever. | The repository provides DbSketch under the MIT License. |
Plans
In their own words
DBDock
DBDock is a database toolkit for backups, restores, copies and cross-database migrations. Its free, MIT-licensed CLI supports backups and restores for PostgreSQL, MySQL/MariaDB, SQL Server and Redis. It also supports migration between MongoDB and PostgreSQL in either direction, with schema mapping, dry runs and incremental sync. Backup storage can be local disk, AWS S3, Cloudflare R2, Cloudinary or managed DBDock Storage. The CLI supports cron-based automation and email or Slack notifications. DBDock Cloud adds a managed dashboard with scheduled jobs, managed storage, teams and alerts. Listed safeguards include AES-256-GCM encryption with PBKDF2 key derivation, credential masking and `.pgpass` support. Cloud Sync sends non-secret metadata while database passwords, storage keys, encryption secrets and webhook URLs stay on the user's machine. A TypeScript SDK provides programmatic access from Node.js applications. The CLI requires Node.js 18 or newer, and PostgreSQL backups also require PostgreSQL client tools. DBDock is listed for Linux, macOS, Windows, web, API and self-hosted use.
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.