SQL Formatter
Format SQL queries with proper keyword casing, indentation, and clause alignment. Supports MySQL, PostgreSQL, and SQLite syntax.
Input SQL
Formatted Output
Drop a .sql file to format
Related Tools
Frequently Asked Questions
Which SQL dialects are supported?
The formatter works with standard SQL keywords used across MySQL, PostgreSQL, SQLite, and MSSQL. Dialect-specific syntax may not be fully formatted.
About SQL Formatter
Format SQL queries with proper keyword casing, indentation, and clause alignment. Supports MySQL, PostgreSQL, and SQLite syntax.
sqlformatbeautifyquerydatabasemysqlpostgres