Formatted SQL will appear here…Free · Runs in your browser · 14 dialects
Paste messy SQL, get clean, readable, properly indented queries.
Formatted SQL will appear here…No — formatting runs entirely in your browser using a JavaScript library. Your queries never leave your device.
Standard SQL plus MySQL, PostgreSQL, SQL Server, Oracle PL/SQL, SQLite, BigQuery, Snowflake, Redshift, Spark, DB2, N1QL and Trino. Dialect mostly affects how certain vendor-specific syntax is parsed — for plain queries, Standard SQL usually works fine.
This usually means an unmatched quote, bracket, or parenthesis somewhere in the query, or syntax specific to a dialect you haven't selected. Double-check those first.
Not fully — it tokenizes and reformats your query's structure, which catches some issues like unmatched brackets, but it isn't a full SQL parser or query validator against a real database schema.
Yes — separate statements with semicolons and they'll each be formatted with a blank line between them.