IDEAFACTORYS LAB · Developer

SQL Formatter

Paste a SQL statement and format it locally. Keywords are wrapped and uppercased; strings and comments stay intact. This tool does not run queries or connect to a database.

Paste SQL

Tidies SQL in your browser with indentation and line breaks. Keywords are uppercased and placed on their own lines. Strings and comments are left as they are. This tool does not run the statement.

This is a text formatter, not a query engine. Vendor dialects or incomplete snippets may not format perfectly.

Formatted SQL

—