SQL Query Analyzer

Paste a PostgreSQL query and get deterministic + heuristic findings, risk and lint grades, access-path hints, and safe rewrite suggestions. No execution required — pure static analysis in your browser.

This is a PostgreSQL linter, not a performance oracle. It analyses the parse tree of the SQL you paste — it never connects to a database and never runs your query. Schema-aware checks (does this index already exist? is this column nullable?) are reserved for the signed-in version.

Open EXPLAIN visualizer
Paste a SQL query above, or pick a sample query to see the analyzer in action.

Parser: pg-query-emscripten@5.1.0 (PostgreSQL 15 grammar). Runs entirely in your browser — nothing is sent to a server.

Want continuous PostgreSQL monitoring?

Start free with one primary or standalone PostgreSQL instance and all its databases. Monitoring, alerts, query insights, index advice, team access and every non-AI feature included. No replicas. No credit card required. Free uses full collection for the first seven days, then reduced sampling. Both plans keep 30 days of history; short-lived events can fall between samples.