Paste and see
.dbschema, .schema.json, Markdown with dbschema blocks, or plain CREATE TABLE — MySQL, SQL Server, PostgreSQL and SQLite all work.
SchemaLens turns database structure written as DSL, JSON, Markdown or SQL DDL into a diagram you can search, focus and explore. No sign-in; everything stays in your browser.
CREATE TABLE orders (… user_id REFERENCES users(id));
This is the real thing: click a table name to focus, drag to pan, hold Ctrl / Cmd and scroll to zoom.
No drawing, no dragging lines. Drop your structure in and the relations appear; however many tables you have, you only look at the part you care about.
.dbschema, .schema.json, Markdown with dbschema blocks, or plain CREATE TABLE — MySQL, SQL Server, PostgreSQL and SQLite all work.
Click a table and only its upstream and downstream light up. Narrow it with depth, direction and search instead of tracing lines.
Right-click a selection to copy it as PNG, SVG or DSL text — straight into your docs or your AI chat.
Works without signing in and keeps content in your browser. Export .schema.json, .dbschema or SQL for any dialect, any time.
The same rendering engine as the web app: open a .dbschema file and the diagram is there. Not on the Marketplace yet — three steps to install, nothing extra required.
.vsix from Releases (public repo, no sign-in). .vsix file into a VS Code window.url=$(curl -fsSL https://api.github.com/repos/doraeyi/schemalens-web/releases/latest | grep -o '"browser_download_url": *"[^"]*\.vsix"' | cut -d'"' -f4)
curl -fL -o dbschema.vsix "$url"
code --install-extension dbschema.vsix One-shot install. VS Code needs the code command on your PATH (Command Palette → “Shell Command: Install 'code' command in PATH”).
No account needed. First time? Start with the built-in sample.