What is SQL Formatting?
SQL formatting rewrites database queries with line breaks, indentation, and keyword casing to make them easier to read and review.
Pretty print SQL queries for debugging, reviews, and documentation. Formatting runs locally and does not validate against a database engine.
SQL formatting rewrites database queries with line breaks, indentation, and keyword casing to make them easier to read and review.
The formatter normalizes whitespace, places common SQL clauses on new lines, breaks comma-separated fields, and highlights join and condition structure.
select * from users where active=true -> SELECT on separate lines left join orders on ... -> JOIN and ON line breaks id,email,name -> Comma-separated field lines