Home › Developer tools › SQL Formatter
SQL Formatter
Paste a SQL query and get it neatly indented with consistent keyword case.
Runs entirely in your browser. Nothing is uploaded.
How to use SQL Formatter
- Paste your SQL query.
- Choose your database dialect and keyword case.
- Click Format SQL and copy the result.
Frequently asked questions
Does it run my query?
No. It only reformats the text. Nothing connects to a database.