100% Client-Side Rust + WebAssembly · Your SQL plans never leave your browser
SQL Deadlock Graph & Root-Cause Analyzer
Drop a SQL Server .xdl/.xml deadlock report, PostgreSQL error log, or SHOW ENGINE INNODB STATUS dump for an interactive lock-cycle diagram and fix steps.
SQL Server XML · PostgreSQL Log · MySQL InnoDB Status
Drop .xdl, .xml, or server .log excerpts
Try an interactive example in one click
How to capture a deadlock dump
Run the statement below in your SQL client and paste or drop the output above.
SQL Server XML Deadlock
SELECT CAST(event_data AS XML) FROM sys.fn_xe_telemetry_blob_target_read_file('system_health*.xel', NULL, NULL, NULL)
WHERE object_name = 'xml_deadlock_report';
Drop an .xdl / .xml deadlock report from SSMS or Extended Events system_health.
PostgreSQL Log Excerpt
-- Copy from postgresql.log starting at:
-- ERROR: deadlock detected
-- DETAIL: Process ... waits for ShareLock on transaction ...
Include the ERROR, DETAIL, HINT, and STATEMENT lines from your PostgreSQL server log.
MySQL / MariaDB InnoDB Status
SHOW ENGINE INNODB STATUS;
Paste either the full InnoDB monitor output or the LATEST DETECTED DEADLOCK section.
Frequently Asked Questions
Are my SQL execution plans or queries uploaded to a server?
No. Culprit Explain runs 100% locally in your browser using Rust compiled to WebAssembly (@culpritsql/plans). Your execution plans, SQL statements, and deadlock logs never leave your device.
Open-Source Culprit SQL Ecosystem
Every parser, React component, and diagnostic engine is open source under MIT.
Culprit SQL Studio
Desktop app, CLI, and 27-tool MCP server for automatic database tuning.