Format and Indent an SQL Query
Format and indent a SQL query (multiple dialects) in your browser.
🔒 100% client-side — no data sent
Automatically format and indent your SQL queries to make them readable and well structured. Paste your query and get a clean version, ready to review or share. Formatting happens in your browser: your queries stay confidential.
What is it for?
- ▸ Make a long or minified SQL query readable
- ▸ Standardize style before a code review
- ▸ Clean up a query generated by an ORM
- ▸ Ease debugging of a complex query
FAQ
Which SQL dialects are supported?
Major syntaxes (MySQL, PostgreSQL, SQL Server, SQLite…) are supported.
Does formatting change my query?
No, only the layout changes (indentation, line breaks, keywords). The logic stays the same.
Are my queries sent to a server?
No, formatting runs entirely in your browser.