Format SQL for 16 dialects with options for keyword case, indent and comma placement — comments preserved, 100% local.
Quick Answer
SQL Query Formatter lets you: Format SQL for 16 dialects with options for keyword case, indent and comma placement — comments preserved, 100% local. To start, paste any SQL query into the editor.
Paste any SQL query into the editor.
Click Format to beautify it with proper indentation, or Minify to collapse it to one line.
Copy the formatted or minified SQL to your clipboard.