TOOL · 95 · Data & Utility
Format any SQL query with uppercased keywords and one clause per line — SELECT, JOINs, GROUP BY, UNIONs.
In short
SQL Formatter uppercases keywords and puts each major clause on its own line (FROM, WHERE, JOIN, GROUP BY, HAVING, ORDER BY, UNION). Works on SELECT, INSERT, UPDATE and DELETE.
Processed 100% in your browser — your files never leave your device.
Step · 01
Paste any SQL query on the left — SELECT, INSERT, UPDATE, DELETE, joins and unions all work.
Step · 02
The formatter uppercases keywords and puts each clause (FROM, WHERE, JOIN, GROUP BY…) on its own line.
Step · 03
Copy the tidy result or download it as a .sql file.