SQL
SQL Formatter
Format SQL queries with keyword casing, indentation, and line-break rules. Handles SELECT, INSERT, UPDATE, DELETE.
Runs entirely in your browser · Your input is never transmitted
RAW SQL
0 BReady
FORMATTED
OK—
How to use
- Paste SQL.
- Formatted output appears live.
- Copy the result.
Frequently asked
Dialect?
General SQL. Dialect-specific features (Postgres-only functions, MySQL backticks, MSSQL TOP) pass through unchanged.