SQL Formatter
Format SELECT, INSERT, UPDATE, and common clauses so queries are easier to read in reviews and runbooks.
SQL is formatted locally and is not sent to a database or API.
How to use
- Paste a SQL statement.
- Select Format.
- Copy the indented query into your editor.
FAQ
Which SQL dialect is supported?
The formatter is dialect-agnostic and focuses on readability. It does not execute SQL.
Are queries sent to a database?
No. Formatting is local. Never paste credentials inside SQL comments on shared machines.
Related tools
- JSON Formatter — Pretty-print or minify JSON in your browser.
- Regex Tester — Test JavaScript regular expressions against sample text.
Guides: developer guides, service enquiry.