SQL formatter is a developer tool that beautifies SQL queries with consistent indentation and keyword casing. It supports Standard SQL, MySQL, PostgreSQL, and T-SQL dialects, handles multi-statement scripts, and outputs ready-to-copy formatted SQL. The tool runs in your browser.
Formatting runs entirely in your browser.
Direct links for specific SQL formatting needs.
.sql file.Reviewed and tested May 25, 2026.