mrkeyoor.com_
Wed 23 Sept 19:37 UTC
Dataevaluationupdated 26 Aug 2026

drawdb review

drawDB is a browser-based database diagram editor that can turn schemas into visual tables and relationships, then import or export SQL. It works without an account for individual diagrams, while optional sharing depends on a separate server project.

+106stars / 7d
Verdict

Our drawDB build finished in 7 seconds with 0 audit findings, but installing its 1,890 packages used 618 MB and no test target checked SQL round trips. Use it for quick schema design and reviewed SQL export, especially when an account-free browser canvas is the priority. Do not make it the sole authority for production migrations, and budget a separate backend if collaboration is required.

We ran it

Lab card: what happened when we ran drawdbScreenshot of drawdb (drawdb.app)
Install✓ · 23s1890 packages · 618 MB
Build✓ · 7s
Testsn/ano test script
Known vulns00 critical · 0 high · 0 moderate · 0 low (npm audit)
Repo281 files~43,359 lines of source · 3.1 MB · 2 CI workflows · Dockerfile

Answers from our run

Does drawdb build from source?

Dependencies installed in 23 seconds (1890 packages), and the build succeeded in 7 seconds. We cloned commit bb3fdf0 into a clean Debian container with 3 CPUs and no project-specific setup.

Does drawdb have tests you can run?

Not through a standard command: the project exposes no test script or target that our harness could run.

Does drawdb have known vulnerabilities in its dependencies?

npm audit found none in the dependency tree at the time of our run.

Who should not use drawdb?

Teams needing built-in collaboration from the frontend alone: the README requires the separate drawDB server and environment variables for sharing.

What are the alternatives to drawdb?

ChartDB, Azimutt, SchemaSpy. Our drawDB build finished in 7 seconds with 0 audit findings, but installing its 1,890 packages used 618 MB and no test target checked SQL round trips.

Setup4/523-second install and 7-second build, with a large dependency tree
Docs3/5Clear basic commands, but sharing and deep behavior live elsewhere
Community4/5Recent push and active fixes across import, export, and canvas work
Maturity3/5Useful editor with active SQL fidelity fixes and no release tags

Discussed on

  1. hnShow HN: Online database diagram editor311 points

Who it’s for

Developers sketching a relational schema before writing migrations.
Teams that want a visual ERD editor they can run in their own environment.
Students and reviewers who need to understand table relationships from SQL.
Engineers willing to verify generated SQL against the target database before applying it.

Who it’s NOT for

Teams needing built-in collaboration from the frontend alone: the README requires the separate drawDB server and environment variables for sharing.
Anyone who treats SQL round trips as lossless: current pull requests address nullable columns, nested PostgreSQL defaults, pg_dump input, MSSQL imports, and unsupported views.
Designers working with very large diagrams who need proven canvas scaling: viewport virtualization was still an open pull request in August 2026.
Companies unable to meet AGPL 3.0 obligations for a modified network deployment.
Maintainers who require a repository-level automated test target: our harness found none.

Setup reality

Our sandbox install at commit bb3fdf0 took 23 seconds, pulled 1,890 packages, and occupied 618 MB. The production build succeeded in 7 seconds. No test target was available, so tests were skipped; npm audit reported 0 known vulnerabilities.

Local editing needs Node and npm, or the provided Dockerfile. Sharing is separate: the README points to drawdb-server and .env.sample, so a team must deploy and configure that backend. The basic browser editor needs no account.

The 1,890-package dependency tree is heavy for a 3.1 MB checkout. A compose file and 2 CI workflows exist, but the missing test target means our run checked compilation, not SQL import fidelity or browser interactions.

drawDB turns a relational schema into an editable canvas

drawDB is an entity-relationship diagram editor that runs in a browser. Users create tables and links visually, import SQL, export SQL, and generate migrations. The public app does not require an account, which makes it easy to sketch a schema during a design discussion or inspect a SQL file without registering for another service. The project can also be built and hosted internally.

Its strongest use is communication. A diagram exposes cardinality, foreign keys, and crowded table responsibilities faster than reading a long migration directory. Export then gives a developer a starting script. That last word matters: a visual editor sits between several SQL dialects, and details such as defaults, nullable columns, views, functions, indexes, and vendor extensions can be altered or omitted. Generated output still needs database review.

Local editing is simple, while sharing is a second deployment

The README gives a standard development path: clone the repository, run npm install, and start the development server. A production build uses the same install followed by npm run build. Docker users can build the included image and publish port 3000 to the container's port 80. A compose file is also present in the repository.

That is enough for a local or single-user editor. Sharing diagrams is optional and uses drawdb-io/drawdb-server, plus environment variables described by .env.sample. Teams evaluating collaboration should include that backend in the trial because the frontend alone does not provide the full shared workflow. They will also need to choose storage, authentication, backups, and an upgrade process for the server rather than assuming the static editor covers them.

What happened when we ran it

Our sandbox cloned commit bb3fdf0 and installed it in 23 seconds. npm pulled 1,890 packages and used 618 MB on disk. The production build succeeded in 7 seconds. There was no test script or target, so the test step was skipped. npm audit reported 0 known vulnerabilities across the installed dependency set.

The repository before installation was much smaller: 281 files, about 43,359 lines of source, and 3.1 MB checked out. It contained 2 CI workflows, a Dockerfile, and a compose file, but no tests directory. The successful build proves the measured revision compiles in a fresh Node 22 Debian container. It does not exercise canvas behavior, browser compatibility, SQL import, migration generation, or the separate sharing server.

A 618 MB install is a noticeable maintenance cost for a browser editor, even though the security audit was clean in our run. Teams vendoring it should use the lockfile, cache dependencies in CI, and repeat the production build and audit when updating. The lack of a test target puts more weight on manual checks of the particular database dialects the team uses.

Current fixes show where SQL round trips can break

Recent work is unusually specific and useful for judging risk. Pull requests in August 2026 addressed PostgreSQL regex checks, nested function defaults, CREATE TABLE LIKE, implicit foreign-key references, plain-text defaults ending in parentheses, and importing a real pg_dump file. Another fix covered MSSQL scripts, while one change deliberately skipped unsupported PostgreSQL views during import.

This activity shows maintainers working on real parser edges. It also demonstrates why an imported diagram should not become an unquestioned migration. Before adoption, assemble a small fixture from your actual schema with quoted identifiers, defaults, constraints, indexes, and any views or functions you rely on. Import it, export it, and compare the result semantically. Our build could not answer that database-specific question.

Canvas behavior has its own open work. Horizontal-wheel panning and relationship-label alignment had fixes under review, and viewport virtualization for large diagrams was still a pull request. A team with hundreds of tables should test its largest schema in the target browsers instead of judging responsiveness from a small demo screenshot.

Active maintenance matters more than the missing release tag

The repository was pushed on 2026-08-24. GitHub showed 240 open issues and pull requests combined, with active import, export, and interface work through August 25. GitHub returned no latest release, so health cannot be judged by tag freshness. The current push and issue activity indicate an active project, while the absence of releases makes commit pinning important for self-hosters.

AGPL 3.0 is the other operational decision. It permits use and modification, but a company exposing a changed version over a network should have counsel or a knowledgeable maintainer review the source-sharing obligations. This is materially different from dropping an MIT-licensed component into a closed internal product.

Use the diagram as a reviewed design artifact

drawDB is easy to recommend for a developer who wants an account-free canvas and is comfortable checking SQL. It is pleasant to deploy as a static editor, and the optional server leaves collaboration out of the simple path. The active parser fixes are a sign of useful maintenance and a warning against blind export.

Choose Azimutt when navigating a huge existing schema is the main job, ChartDB when its import and sharing workflow is a closer match, or SchemaSpy when documentation should be regenerated from a live database. drawDB is best at the editable middle: sketch, discuss, export, then let database tooling and code review decide what reaches production.

Alternatives

ProjectWhat it isPick it when
ChartDBAn open-source database diagramming tool with schema import and sharing options.pick this instead when automatic schema visualization and its database support fit your workflow better.
AzimuttA database exploration and schema documentation tool built for navigating large models.pick this instead when understanding an existing, sprawling database matters more than drawing a new one.
SchemaSpyA command-line tool that generates browsable database documentation from live metadata.pick this instead when repeatable documentation from a real database is the goal.

What people are saying

  1. [github-trending] drawdb-io/drawdb

Sources

  1. drawDB README
  2. drawDB issues and pull requests
  3. drawDB server
  4. GNU Affero General Public License v3.0

More data reviews

sqlitebrowser · hydradb · DouYin_Spider · helix-db · abu · FinceptTerminal · the whole board →