The free online viewer

functional

The same plan analysis in your browser at sqlly.app: samples, table definitions, comparison and share links, with nothing uploaded.

The query plan viewer on sqlly.app is the plan engine from the app compiled to WebAssembly and running in your browser tab. It is free, needs no account and no download, and the plan never leaves your machine. Use it for a plan someone sent you, a plan from a server SQLly cannot reach, or to try the analysis before installing anything.

SQLly
The sqlly.app online query plan viewerThe sqlly.app online query plan viewer
The online viewer with the PostgreSQL sample loaded: the sample picker and format, the input tabs, then the headline, plan totals, the slowest step and the summary notes.

Putting a plan in

  • Paste into the Plan box; it is analysed as soon as you paste. Ctrl+Enter (⌘+Enter on a Mac) or Analyze plan runs it again after an edit.
  • Open file… or drop a file on the box: .sqlplan, .xml, .json, .yaml, .txt, .log or .sql. The content decides the format, not the extension.
  • Plan format is Auto-detect by default, and the line under it says what the plan was read as. Pick an engine and format by hand if detection guesses wrong.
  • Try a real plan loads one of 19 samples, from a SQL Server actual plan with three statements to a Trino TPC-H profile. Some fill in table definitions and query text too, and one comes with a second plan to compare.

The input has four tabs:

TabWhat to put there
PlanThe plan, in any of the supported formats.
Table definitions (optional)CREATE TABLE and CREATE INDEX statements, and lines like orders: 1.2M. See Schema-aware advice.
Query text (optional)The SQL the plan is for, so MySQL, MariaDB and SQLite aliases are shown as table names.
Plan after a change (optional)A second capture of the same query, for a comparison.

The page also has a section on how to get a plan out of each of the eleven engines, with the exact statements to run.

What it shows

The results follow the same order as the app's Summary: a headline and the plan's totals (run time, planning time, optimizer cost, pages read, rows returned, operators), the slowest step, short notes, then What to fix.

SQLly
Ranked findings in the online query plan viewerRanked findings in the online query plan viewer
What to fix in the online viewer: four findings ranked by their share of the run time, each with what to do, the SQL with a Copy button, the evidence, Learn more links and Show in the plan.

How the plan runs puts the step-by-step list beside four views, with the selected operator's details on the right. Selecting a step, a finding's Show in the plan link or a diagram node selects it everywhere.

  • Diagram: colour by time, cost, rows, estimate error or page reads; top down or left to right; the slowest path; find by operator, table or index; zoom, fit and expand all.
  • Operators: a sortable table with own time, time with inputs, cost, rows, estimated rows, estimate error, loops, rows discarded, pages read and memory.
  • Icicle: the operator tree as bars sized by time or cost.
  • Where it went: totals by operator, by kind of work and by table.
SQLly
Diagram view in the online query plan viewerDiagram view in the online query plan viewer
How the plan runs: the step-by-step list with the bottleneck selected, the diagram coloured by time with the slowest path, and the selected operator's details.
SQLly
Where it went breakdown in the online query plan viewerWhere it went breakdown in the online query plan viewer
Where it went: own time added up by operator, by kind of work and by table.

The diagram has the same keys as the app: arrow keys move between operators, Enter or Space folds a branch, + and − zoom, and 0 (or F here) fits the plan.

Comparing two plans

SQLly
Plan comparison in the online query plan viewerPlan comparison in the online query plan viewer
The PostgreSQL lookup sample with its plan after two indexes: the headline for the new plan, then What changed between the two plans.

Put the second capture in Plan after a change. The changes appear in their own section, and a switch flips the rest of the page between the first plan and the one after the change.

Privacy and sharing

  • Nothing is uploaded. The analysis runs in the tab. Plans carry your SQL, table names and sometimes parameter values, and none of it is sent to sqlly.app.
  • Your last plan is kept in this browser's storage so a reload does not lose it. Clear empties the boxes and the stored copy.
  • Copy share link compresses everything you entered (plan, definitions, query text, second plan) into the part of the link after #, which browsers never send to the server. Anyone with the link sees the same analysis; anyone without it sees nothing. Links have an 8 MB limit.

The online viewer is in English only. The app shows the same summary and findings in all of its languages.