Beautify and clean up your SQL queries for better readability.
Paste your messy SQL query and click format. It will capitalize keywords and fix indentation.
The tool uses a series of regex replacements to identify SQL keywords (SELECT, FROM, WHERE, etc.) and add newlines and indentation around them.
Clean SQL is easier to debug, peer-review, and maintain in large codebases.