Skip to content

SQL Formatter

Format SQL queries with keyword casing and smart indentation.

Runs locally · Nothing uploaded
SQL input
Formatted SQL
Result will appear here…
Advertisement

About SQL Formatter

Formats SQL into a readable layout — clauses on their own lines, uppercased keywords, and indentation that follows the query's structure, including joins, subqueries, and CTEs. Choose your dialect (standard SQL, PostgreSQL, MySQL, or SQLite) so dialect-specific syntax formats correctly.

Related tools

All tools · More in this category