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.
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.
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.
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.
Colors. headercolor on a table, or one color per TableGroup. Light, dark and high contrast themes.
Copy SVG. Puts the diagram on the clipboard as an SVG image, for docs and pull requests.
ZOVO PRO AVAILABLEOne-time purchase · No subscription
Add Pro tools to DBML Viewer & ER Diagram (DBML Preview, SQL to ER Diagram, ERD)
Export SQL or DBML. Writes CREATE TABLE scripts with keys, indexes, enums and foreign keys for PostgreSQL, MySQL, SQL Server or SQLite from DBML, and turns SQL DDL into DBML.
Export the diagram as PNG, SVG or PDF. Saves the ER diagram as a high-resolution PNG, an SVG or a vector PDF, or writes a Markdown data dictionary with one table per database table.
Compare schemas and write migration SQL. Compares two DBML or SQL schemas, lists the tables, columns, indexes and relations that were added, removed or changed, and writes the ALTER TABLE migration for your database.
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
NetCDF viewer and HDF5 viewer for .nc, .h5 and .hdf5 files. Browse groups and CF metadata, page through values, plot maps with coastlines, play through time, click a point for its time series and save plots as PNG. Offline, no Python.
Free, no Python, no sign-in, works offline. Opens Parquet files as a fast grid: only the footer and the rows on screen are read, so large files open at once. Exact DECIMAL and INT64 values, INT96 timestamps, nested LIST, MAP and STRUCT, every codec (Snappy, Gzip, Zstd, Brotli, LZ4). Filter, sort, se
Azure Storage explorer for Azure Blob Storage, Queue Storage and Table Storage in VS Code, Cursor and Codespaces, free. Connect with a connection string, account key, SAS URL, Azurite in one click, or Entra ID: no Azure sign-in needed. Browse containers with paging, upload and download big files wit
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.
Free Oracle SQL and SQL Server client for VS Code, Cursor and Windsurf: run T-SQL and PLSQL, GO and / batches, PRINT and DBMS_OUTPUT, browse tables, cancel queries, streamed CSV export. Azure SQL, Windows (NTLM) login, tnsnames.ora, wallets. Pure JS drivers, fast start, an alternative to heavy deskt