Toolvito

Processed online by Toolvito

SQL Query Analyzer

Paste a query to see its parts and its joins, or your CREATE TABLE statements to get an entity-relationship diagram. Your SQL is parsed, never run.

Choose what to do

Task
Analyse SQL queries

Your SQL is sent to the Toolvito server to be parsed; it is never run. The AI explanation comes from a language model that runs on the server itself. Nothing is sent to another company. Download the result within one hour after the job finishes. Choose Delete files now to request earlier removal. The hourly cleanup normally removes files within one to two hours after completion.

What you get

  • Analyse SQL queries: tables and aliases, each join with its kind (INNER, LEFT, RIGHT, FULL, CROSS) and condition, CTEs, subqueries, aggregates, window functions and clauses; warnings such as a join without a condition or SELECT *; a join diagram (SVG).
  • Make an ERD: tables, columns, primary and foreign keys from CREATE TABLE statements, as an SVG and as Mermaid erDiagram text that many editors draw.
  • Explain a query with AI: the steps in plain words, by a language model that runs on the Toolvito server. Every table or column name in the text is checked against the parsed query.

Dialects

Choose your SQL dialect (PostgreSQL, MySQL, SQL Server, SQLite, BigQuery, Oracle, Snowflake, DuckDB) so that its own syntax parses. The parser is sqlglot; nothing connects to a database.

Related tools