Skip to main content

SQL Formatter / Minifier

Format SQL queries for readability or minify them to a single line — supports Standard SQL, MySQL, PostgreSQL, and SQLite.

SQL Minifier that formats, validates, or transforms source code files.

How to use
  • Paste your code into the editor panel.
  • The formatted or analysed output appears automatically.
  • Copy the result using the Copy button.
  • Try a preset from the example picker to see sample input.
Mode
Dialect