Skip to main content

SQL Formatter

Format SQL quickly with keyword casing and one-line minify mode.

About This Tool

The SQL Formatter beautifies messy SQL statements into well-indented, readable output and can also minify formatted SQL into a single line. You can toggle keyword casing between upper and lower case to match your team's coding style. Supports SELECT, INSERT, UPDATE, DELETE, and other common statement types.