Free client-side SQL execution plan visualizer, structural plan comparator, deadlock cycle analyzer, and Extended Events (.xel) inspector.
Powered by @culpritsql/plans (Rust + WebAssembly) and @culpritsql/plan-viewer (React).
Features · Supported Engines · Privacy & Security · Local Development
- 100% local in WebAssembly: Execution plans, SQL statements, and deadlock dumps are parsed inside your browser tab and never uploaded to any server.
- Five synchronized plan views: Interactive flow Diagram (pan, cursor-anchored zoom, minimap,
Time/Cost/Rows/Readsmetric lens, step search), Tree, Operations, Tables, and Raw output. - Side-by-side plan comparison: Structural
BeforevsAfterdiffing with measured speedup ratios, access-path flip badges, and root-cause explanations. - Deadlock cycle graphs & Extended Events (
.xel): Interactive lock-wait SVG diagrams, victim rollback badges, and remediation SQL for SQL Server, PostgreSQL, and MySQL InnoDB, plus binary SQL Server Extended Events (.xel) and exported XML inspection directly in the browser without Windows SSMS. - Serverless sharing & redaction: Compress plans into
#s=...URL fragments (which browsers never transmit over HTTP) with one-click SQL literal redaction, or export standalone HTML and Markdown reports.
| Engine | Execution Plans | Deadlocks |
|---|---|---|
| PostgreSQL & TimescaleDB | EXPLAIN (FORMAT JSON), EXPLAIN (ANALYZE, BUFFERS) text |
Server log deadlock excerpts |
| SQL Server & Azure SQL | .sqlplan Showplan XML |
Binary .xel Extended Events, XML deadlock graphs (.xdl / .xml) |
| MySQL & MariaDB | EXPLAIN FORMAT=JSON, EXPLAIN ANALYZE tree text |
SHOW ENGINE INNODB STATUS |
| ClickHouse | EXPLAIN PLAN json = 1 physical step tree |
Not applicable |
| YugabyteDB | EXPLAIN (ANALYZE, DIST, FORMAT JSON) + DocDB metrics |
PostgreSQL-compatible logs |
| SQLite | EXPLAIN QUERY PLAN text |
Not applicable |
- Strict Content Security Policy: Enforced CSP restricting scripts and network calls strictly to local WebAssembly assets and cookie-free Plausible pageview analytics; SQL plans and queries never leave your browser.
- Text-only DOM rendering: Identifiers, predicates, and SQL statements render strictly as React text nodes (never
dangerouslySetInnerHTML). - Bounded parser ceilings: XML
<!DOCTYPE>and entity expansions are rejected; deep inputs run on a dedicated 32 MiB Wasm linear stack.
bun install
bun run devBuild the production static bundle and pre-rendered SEO routes (dist/):
bun run buildMIT. Part of Culprit SQL Studio.