All
Tools
PDF
Image
Calc
Social
QR
Text
Share
CAD
Video
Audio
Web
Network
Docs
Units
Design
Dev
Back
All Developer Tools
Home
Developer Tools
SQL Formatter
SQL Formatter
Format any SQL query with proper indentation and keyword casing, or minify it into a single line.
select id, name, email from users where active = true and created_at > '2024-01-01' order by created_at desc limit 10;
UPPERCASE keywords
Indent:
2 spaces
4 spaces
Tab
Formatted
Copy
SELECT id, name, email FROM users WHERE active = true AND created_at > '2024-01-01' ORDER BY created_at desc LIMIT 10;
Minified
select id, name, email from users where active = true and created_at > '2024-01-01' order by created_at desc limit 10;