Skip to content
Robert Askam

SQL Formatter

Format SQL queries online for MySQL, PostgreSQL, SQLite, SQL Server, MariaDB or standard SQL, with upper or lower case keywords.

How to use it

Paste a query, pick your database dialect and keyword case, and copy the neatly indented SQL. Multiple statements separated by semicolons are supported.