The formatter uses sql-formatter and outputs SQL keywords in uppercase. Indentation can be adjusted with spaces or tabs, which helps long SELECT statements and nested subqueries stay readable.
Use it before changing joins, WHERE conditions, or stored procedure snippets. A stable layout makes clauses, aliases, and nested blocks easier to compare in code review.
Common questions and answers about this topic.
It auto-formats your SQL queries with proper keyword capitalization and indentation, making complex queries easier to read and maintain.
The formatter uses standard SQL formatting that works well with MySQL, PostgreSQL, SQLite, and SQL Server queries.
Yes, select 2 or 4 spaces, or tabs to match your SQL project's formatting conventions.
No, SQL formatting runs entirely in your browser. Your queries are processed locally with JavaScript and never transmitted to any server.