SQL formatter
Breaks major clauses (SELECT, FROM, WHERE, JOINs, GROUP BY, ORDER BY...) onto their own lines. A readability aid, not a full SQL parser — it won't touch string literals containing keywords perfectly in every edge case.
What is SQL formatter?
A SQL query written as one long line is hard to review — breaking major clauses (SELECT, FROM, WHERE, JOINs) onto their own lines makes the query's structure immediately visible.
How to use it
Paste a query and it's reformatted with each major clause on its own line and column lists indented — a readability aid, not a full validator.
Example
select id,name from users where active=1 becomes:
SELECT
id,
name
FROM users
WHERE active=1