SQL Formatter client-side
?
How to use SQL Formatter

Format and indent your SQL queries to make them readable: aligned keywords, one clause per line, consistent indentation. Several dialects are supported (standard, PostgreSQL, MySQL, SQLite, T-SQL…) and you control indentation and keyword case. Great to review a complex query or normalize a project's SQL. Everything is processed in your browser; your queries are never sent.

Format and indent your SQL queries.

SQLFormattingBase de donnéesBeautify

How to use SQL Formatter

Format and indent your SQL queries to make them readable: aligned keywords, one clause per line, consistent indentation. Several dialects are supported (standard, PostgreSQL, MySQL, SQLite, T-SQL…) and you control indentation and keyword case. Great to review a complex query or normalize a project's SQL. Everything is processed in your browser; your queries are never sent.

Frequently asked questions

Which dialects are supported?

Standard SQL, PostgreSQL, MySQL, MariaDB, SQLite, T-SQL (SQL Server), BigQuery and more, selectable in the tool.