DBML Viewer & ER Diagram (DBML Preview, SQL to ER Diagram, ERD) icon

DBML Viewer & ER Diagram (DBML Preview, SQL to ER Diagram, ERD) Pro Available

Zovo Pro: USD 19 once, every Zovo tool. The diagram, the DBML language support and Copy SVG are free, with no limit.

MIT / Free Core · Zero telemetry · Works offline · Published by zovo

Pro adds Export SQL or DBML and Export the diagram as PNG, SVG or PDF. Get Zovo Pro, $19 once →

Version
0.1.4
VS Code Installs
25
Open VSX Downloads
731
Updated
2026-11-15
Category
Databases
Extension ID
zovo.zovo-dbml-viewer
Editors
VS Code, Cursor, Windsurf, VSCodium
Quick install CLI (VS Code · Cursor · Windsurf)
code --install-extension zovo.zovo-dbml-viewer
cursor --install-extension zovo.zovo-dbml-viewer
windsurf --install-extension zovo.zovo-dbml-viewer

Why use it

  1. Live DBML preview. Open a .dbml file and click the diagram button in the editor title bar (or run DBML Viewer: Open ER Diagram). Tables show their columns and types with PK, FK, unique and not-null markers; enums and sticky notes have their own boxes.
  2. Relations with crow's foot ends. One-to-one, one-to-many and many-to-many lines are routed at right angles. Hover a line to highlight both columns and see the relation and its ON DELETE action.
  3. Automatic layout you can change. Referenced tables sit on the left and the tables that point at them on the right, with no overlaps. Drag a table to move it; the positions are kept for each file. Reset layout starts over. Schemas with 200 tables or more get a grid ordered by relation.
  4. Find your way. Zoom with Ctrl or Cmd + scroll, pan by dragging the background, Fit to see everything, search a table by name, and click a table or a column to jump to its line.
  5. Colors. headercolor on a table, or one color per TableGroup. Light, dark and high contrast themes.
  6. Copy SVG. Puts the diagram on the clipboard as an SVG image, for docs and pull requests.

Common questions

Is DBML Viewer & ER Diagram (DBML Preview, SQL to ER Diagram, ERD) free?

Yes. DBML Viewer & ER Diagram (DBML Preview, SQL to ER Diagram, ERD) is free and MIT licensed.

How do I install DBML Viewer & ER Diagram (DBML Preview, SQL to ER Diagram, ERD)?

Click "Install in VS Code" above, or search for zovo.zovo-dbml-viewer in the Extensions view.

Marketplace README snippet (copy link for VS Code Marketplace)
See full docs & install options at [vscode.zovo.one/extensions/zovo-dbml-viewer/](https://vscode.zovo.one/extensions/zovo-dbml-viewer/), browse all Zovo VS Code extensions at [vscode.zovo.one](https://vscode.zovo.one/), or explore [Zovo Pro](https://vscode.zovo.one/pro/).

SQLite viewer and editor, a SQLite3 database browser for .db and .sqlite files. Free, no paywall, no sign-in, works offline. Opens files read-only; click Enable editing to change cells and rows, run INSERT or UPDATE, and import a 1M-row CSV. Every change is staged with Undo, and Save makes a backup

327 installs v0.4.20 Pro

No Python needed. Schema, column stats, CSV export. Avro viewer, Apache Arrow viewer and Feather viewer that opens any .avro, .arrow, .feather or .ipc file as a fast paged table with search and CSV or JSON export. Free and offline.

45 installs v0.2.8 Pro