For analysts and developers who copy long queries out of logs, ORMs or BI tools. Paste a single-line statement and get it split into readable clauses you can review or share.
Build industry projects on ByteLabs and add verified proof of your skills to your public profile.
You enter
select id, name from users where active=1 and age>21 order by name
The tool shows
SELECT id, name FROM users WHERE active=1 AND age>21 ORDER BY name
SELECT, FROM, WHERE, GROUP BY, ORDER BY, HAVING, LIMIT, the JOIN variants, UNION, INSERT INTO, VALUES, UPDATE, SET and DELETE FROM. AND, OR and ON are indented under their clause.
No. It only reformats text; it does not parse or run the query, so syntax errors pass through unchanged.
It can. Keywords are matched as whole words, so a quoted value containing a word like from or and may be moved to a new line or uppercased. Check queries with such strings after formatting.
Yes. It is free, needs no sign-up and runs entirely in your browser, so what you type is not uploaded. You only sign in if you want to email a result to yourself or save it to your CareerByteCode profile.