Developer tools
SQL Formatter
Turn long one-line queries from logs or ORMs into readable SQL with consistent indentation and keyword case.
- Runs in your browser
- Free, no sign-up
This SQL could not be parsed
How to use the SQL Formatter
-
1
Paste one or more SQL queries.
-
2
Choose the database dialect, keyword case and indentation.
-
3
Copy the formatted SQL or download it as a file.
Frequently asked questions
Does it run my queries?
How do I see the SQL Laravel runs?
Embed this tool on your site
Paste this code into your page. It's free, with no sign-up, ads or cookies.
Please keep the "Powered by Dev-Talk" link.