// sql-formatter
SQL Formatter
Format and beautify SQL queries with support for multiple SQL dialects.
How to Use SQL Formatter
- Paste SQL-Paste your SQL query into the input editor.
- Select dialect-Choose the SQL dialect (Standard, MySQL, PostgreSQL, T-SQL, or SQLite).
- Format-Click Format to beautify the SQL, or Minify to compress it.
- Copy result-Click Copy to copy the formatted SQL.
About SQL Formatter
SQL Formatter beautifies SQL queries with proper indentation, keyword capitalization, and line breaks. It supports multiple SQL dialects.
The minify option removes unnecessary whitespace to create compact SQL for use in code or scripts.
Powered by the sql-formatter library. All formatting happens locally in your browser.