Preparing tool
How to use SQL Formatter
- Paste your SQL or open a .sql file.
- Pick your database dialect, keyword case and indent.
- Copy the formatted SQL or download it. Syntax problems show the line and column.
What are the limits of SQL Formatter?
Formatting changes only spacing, line breaks and keyword case, never the meaning of a query. It does not run your SQL or check table and column names. Very unusual syntax may be rejected. Your SQL stays on your device.