🇬🇧WebFileTools/SQL Formatter
Blog🇫🇷 French
🇬🇧WebFileTools/SQL Formatter

SQL Formatter

Format SQL queries across 8 dialects. Indent, uppercase keywords, minify mode. 100% browser.

No outputPostgreSQL

You use this tool often? Pro includes files up to 500 MB and priority processing.

What is SQL Formatter?

Multi-dialect SQL formatter powered by sql-formatter. Consistent layout with uppercase keywords, 2/4/tab indent, and a minify mode.

How to use this tool?

Paste your SQL, pick the dialect and indent style, then copy the formatted query. Ctrl+Shift+F triggers formatting at any time.

Benefits

  • 8 SQL dialects
  • Indent 2 / 4 / tab
  • Uppercase keywords
  • Minify mode
  • Syntax highlighting
  • 100% browser

Frequently Asked Questions

Which dialects are supported?
Generic SQL, MySQL, PostgreSQL, SQLite, T-SQL (SQL Server), PL/pgSQL, BigQuery and Spark.
Is my SQL sent to a server?
No. The sql-formatter library runs entirely in your browser. No network calls.
Can I minify the query?
Yes, minify mode strips whitespace and comments to produce a compact one-line query.

What is SQL Formatter?

Multi-dialect SQL formatter powered by sql-formatter. Consistent layout with uppercase keywords, 2/4/tab indent, and a minify mode.

How to use this tool?

Paste your SQL, pick the dialect and indent style, then copy the formatted query. Ctrl+Shift+F triggers formatting at any time.

Benefits

  • 8 SQL dialects
  • Indent 2 / 4 / tab
  • Uppercase keywords
  • Minify mode
  • Syntax highlighting
  • 100% browser

Frequently Asked Questions

Which dialects are supported?
Generic SQL, MySQL, PostgreSQL, SQLite, T-SQL (SQL Server), PL/pgSQL, BigQuery and Spark.
Is my SQL sent to a server?
No. The sql-formatter library runs entirely in your browser. No network calls.
Can I minify the query?
Yes, minify mode strips whitespace and comments to produce a compact one-line query.