SQL Formatter
Beautify and format SQL queries — keywords uppercase, clean indentation.
Advertisement
Advertisement
How to Use the SQL Formatter
- Paste your SQL query into the left panel.
- Choose your preferred indent size (2 or 4 spaces) and keyword case.
- Click Format SQL or wait for the auto-format after you stop typing.
- Use the Copy button to copy the result, or Download .sql to save as a file.
- Try the Quick Examples to see the formatter in action with real SQL patterns.