About this tool
Tidy up a SQL query with uppercased keywords and clause line breaks, all in your browser.
Frequently asked questions
Which keywords are recognized?
Common ones like SELECT, FROM, WHERE, JOIN, GROUP BY, ORDER BY, LIMIT and the main DML keywords.
Is this a full SQL parser?
No — it uses lightweight regex formatting, so very complex queries may need a manual touch-up.