100% Client-Side Rust + WebAssembly · Your SQL plans never leave your browser

Understand any SQL execution plan or deadlock in seconds.

Drop a plan or deadlock dump for interactive flow diagrams, bottleneck fixes, cache/disk I/O breakdown, and side-by-side diffs. Runs 100% locally in WebAssembly.

Drop .sqlplan, .xel, .json, .xml, or .txt anywhere on this card
Try an interactive example in one click

How to capture the richest execution plan

Run the statement below in your SQL client and paste or drop the output above.

PostgreSQL & TimescaleDB

EXPLAIN (ANALYZE, BUFFERS, WAL, VERBOSE, FORMAT JSON)
SELECT * FROM orders WHERE status = 'paid';

Paste the JSON array or plain text output from psql, pgAdmin, DataGrip, or DBeaver.

SQL Server & Azure SQL

SET STATISTICS XML ON;
GO
SELECT TOP 50 * FROM dbo.orders WHERE status = 'paid';
GO

Drop a saved .sqlplan file from SSMS / Azure Data Studio or paste the raw ShowPlanXML string.

MySQL & MariaDB

EXPLAIN FORMAT=JSON SELECT * FROM orders WHERE status = 'paid';
-- or MySQL 8.0.18+ actual timings:
EXPLAIN ANALYZE SELECT * FROM orders WHERE status = 'paid';

Supports both EXPLAIN FORMAT=JSON (MySQL & MariaDB) and EXPLAIN ANALYZE tree text.

ClickHouse

EXPLAIN PLAN json = 1, description = 1
SELECT customer_id, sum(total_cents)
FROM orders
WHERE created_date >= today() - 7
GROUP BY customer_id
ORDER BY sum(total_cents) DESC
LIMIT 50
FORMAT TabSeparatedRaw;

Paste the JSON array from clickhouse-client (use FORMAT TabSeparatedRaw so quotes stay unescaped) or the HTTP interface.

YugabyteDB

EXPLAIN (ANALYZE, DIST, VERBOSE, FORMAT JSON)
SELECT * FROM orders WHERE created_at >= now() - interval '1 day';

Include DIST to inspect DocDB storage read requests, RPC roundtrips, and catalog reads.

SQLite

EXPLAIN QUERY PLAN
SELECT * FROM orders WHERE customer_id = 42 ORDER BY created_at DESC;

Paste the EXPLAIN QUERY PLAN output from the sqlite3 CLI or your SQLite client.

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.

Which database engines and plan formats does Culprit Explain support?

SQL Server Showplan XML (.sqlplan) and binary Extended Events (.xel), PostgreSQL EXPLAIN (FORMAT JSON) and EXPLAIN ANALYZE text, MySQL and MariaDB EXPLAIN FORMAT=JSON and EXPLAIN ANALYZE tree text, ClickHouse EXPLAIN PLAN json = 1 step trees, YugabyteDB EXPLAIN (ANALYZE, DIST, FORMAT JSON), and SQLite EXPLAIN QUERY PLAN, plus deadlock dumps from SQL Server, PostgreSQL, and InnoDB.

How is Culprit Explain different from PEV2 or Paste The Plan?

Culprit Explain supports eight SQL engines in one workspace, compares Before and After plans structurally side-by-side, visualizes deadlock cycles, redacts SQL literals when sharing, and runs completely client-side with zero server uploads.

Open-Source Culprit SQL Ecosystem

Every parser, React component, CI gate, and editor extension is open source under MIT.

Culprit SQL Studio

Desktop app, CLI, and 27-tool MCP server for automatic database tuning.

Culprit FleetNEW

Self-hosted multi-region database fleet command center, archive time-machine, and remote MCP server.

Culprit SQL for VS CodeNEW

VS Code, Cursor, and Windsurf custom .sqlplan / .xdl viewer, Plan Diff Studio, and SQL CodeLens.

@culpritsql/devtoolsNEW

Floating React & Node.js SQL HUD, automatic N+1 burst detector, and live EXPLAIN inspector.

@culpritsql/ciNEW

SQL migration lock linter, execution plan regression gate, SARIF 2.1.0 emitter, and PR diff bot.

@culpritsql/testNEW

Vitest, Jest, and node:test execution plan matchers for index usage, spills, and regressions.

@culpritsql/plans

Portable Rust + WebAssembly SQL plan parser, differ, deadlock parser, and exporter.

@culpritsql/plan-viewer

Interactive React flow diagrams, structural plan diffs, and deadlock cycle graphs.