SQL Formatter
Format and beautify SQL queries
Indent:
Supported SQL
Works with standard SQL syntax including SELECT, INSERT, UPDATE, DELETE, JOINs, subqueries, CTEs, and most common clauses. Compatible with MySQL, PostgreSQL, SQLite, and SQL Server.
All formatting happens locally in your browser.