All ToolsSQL Formatter
SQL Formatter
Format messy SQL queries into clean, readable code. Supports Standard SQL, MySQL, PostgreSQL, and T-SQL dialects. Keywords are uppercased and queries are properly indented. Runs locally in your browser.
Unformatted SQL
Formatted SQL
Formatted SQL will appear here…