SQL Formatter
Format, beautify or minify SQL with controls for dialect, indentation, line width, casing and logical-operator line breaks.
Help
Format, beautify or minify SQL with controls for dialect, indentation, line width, casing and logical-operator line breaks.
Show details
About line width
- Maximum line width controls where the formatter starts breaking long SQL into multiple lines.
- Smaller widths produce more line breaks, while larger widths preserve longer line structures.
Notes
- The page performs basic validity checks before formatting.
