About this tool
SQL formatter
Parse and format SQL statements while preserving strings and comments.
Enter content or choose a local file on the left, adjust the available settings, and run the tool. Results or previews appear on the right. Use the copy or download actions provided after processing.
Available settings:
SQL dialect (Default: sql) — Options: sql, mysql, postgresql, transactsql, sqlite
Built-in input example:
select id,name from users where active=1 order by name
Frequently asked questions
What does this tool do?
Parse and format SQL statements while preserving strings and comments.
How do I use this tool?
Enter content or choose a local file on the left, adjust the available settings, and run the tool. Results or previews appear on the right. Use the copy or download actions provided after processing.
Which settings can I change?
SQL dialect (Default: sql) — Options: sql, mysql, postgresql, transactsql, sqlite
What should I check before using it?
Use the input formats and settings supported by the page. Check your input if an error appears; processing again updates the right panel.
Where is my input sent?
Input is processed in the current browser and is not automatically uploaded by this tool. Copying requires browser permission; select and copy the result manually if needed.