Options:
Input SQL
Formatted Output
Format, beautify, or minify SQL queries with syntax highlighting.
Paste messy or minified SQL and get it back cleanly indented, with keywords uppercased and clauses on separate lines. Supports SELECT, INSERT, UPDATE, DELETE, CREATE, and most standard SQL syntax including subqueries and JOINs. Useful for readability in code reviews, documentation, and debugging complex queries.