SQL Formatter & Beautifier
Turn compressed SQL into a query you can review. Pick the database dialect, keyword case, and indentation; formatting happens entirely in your browser.
Tool input stays in your browserDid you know · Systems
Linux load average counts runnable and uninterruptible tasks, so it is not a CPU percentage.
SQL input
you edit—Formatted SQL
read only—Dialect-aware SQL formatting
Standard SQL is only the shared core. PostgreSQL casts, MySQL quoting, SQL Server syntax, BigQuery functions, and Snowflake statements need a formatter that understands their dialect. Choose yours before formatting so tokens are classified correctly.
Readable queries are easier to verify
SELECT columns, JOIN conditions, boolean expressions, grouping, and ordering move onto predictable lines. Formatting does not execute the query or check it against a database; it exposes the shape so missing conditions and accidental cross joins are easier to spot.
Private by design
Table names and literals can reveal production details. The formatter library ships in this page's JavaScript bundle and receives the query only in memory. No SQL is sent to InTab.