← All tools

SQL Formatter

Format SQL using a chosen dialect and keyword case without running the query.

Loading SQL Formatter…

Using SQL Formatter

Which inputs does SQL Formatter support?

Choose Standard SQL, PostgreSQL, MySQL, SQLite, BigQuery, or SQL Server and paste query text.

What is an example of the result?

select id,name from users can be laid out with separate clauses and uppercase SELECT and FROM keywords.

Which limits or failure conditions matter?

This is a formatter, not a database validator. Dialect-specific syntax must match the selected dialect, and successful formatting does not prove a query will execute.

Where is this task processed?

Your input is processed in this browser. Application libraries may be downloaded on first use; the entered content is not sent to a conversion service.