SQL Formatter

Lay out SQL queries neatly for MySQL, PostgreSQL, SQL Server and more.

Loading SQL Formatter…

Results are provided as-is, without warranty. Please double-check anything important before relying on it. Terms & Disclaimer

About SQL Formatter

Lay out SQL queries neatly for MySQL, PostgreSQL, SQL Server and more.

How to use it

  1. Type, paste or choose what you want to work with.
  2. Adjust the options if you need to. The result updates as you go.
  3. Copy the result or download it.

Questions

Is SQL Formatter free to use?
Yes. SQL Formatter is completely free to use, with no sign-up.
Do I need to create an account or install anything?
No. Open the page and use it straight away on a phone, tablet or computer.
How do I use SQL Formatter?
Type, paste or choose what you want to work with. Adjust the options if you need to. The result updates as you go. Copy the result or download it.

Also useful for: sql beautifierformat sqlpretty print sqlsql query formattermysql formatterpostgres formattert-sql

More Developer tools

See all 47 Developer tools →

Browse by category