Interactive schema visualizer
Auto-laid-out relationship graph (dagre) with hover spotlight, live filtering, a synced minimap, and one-click export to SVG or Mermaid ER.
Explore data, visualize schemas, and run SQL from a fast, local-first web interface. No-code by default, raw SQL when you want it.
Get started. Copy the one-liner:
Local-first · MIT licensed · the one-liner installs Node.js and everything else for you.
Star on GitHub
Built on a modern, type-safe foundation
From a secure local server to an interactive schema graph. pglens covers the whole loop.
Auto-laid-out relationship graph (dagre) with hover spotlight, live filtering, a synced minimap, and one-click export to SVG or Mermaid ER.
Token-gated routes, 127.0.0.1-only binding, and passwords stored in the OS
keychain.
Advanced-mode SQL escape hatch in a Monaco editor. Run with Cmd/Ctrl+Enter.
Fuzzy-jump to any table with Cmd/Ctrl+K. No scrolling long lists.
Browse millions of rows in a virtualized grid with server-side sorting and pagination, with JSON/JSONB cells in a collapsible, syntax-highlighted tree.
Manage every server from one clean landing grid. Connections persist between sessions and secrets live in your OS keychain, so you pick up right where you left off, securely.
public
A virtualized grid built for large datasets, with server-side sorting and pagination. Open complex cells in a focused popup featuring a collapsible, syntax-highlighted JSON/JSONB tree.
No-code is the default, but the escape hatch is always one tab away. The query runner is a
full Monaco editor with a scoped SET search_path per statement.
Cmd/Ctrl+Enter
Hit Cmd/Ctrl+K to open Spotlight and fuzzy-jump to any table in any schema, with no hunting through long sidebars.
Double-click any cell to open it in a focused popup with a collapsible, syntax-highlighted JSON/JSONB tree. No more squinting at a single-line blob.
Local-first, open source, single-command install on macOS, Windows & Linux.
Or star it on GitHub →