SQL Formatter & Prettifier
Beautify, minify, and syntax-highlight your SQL — entirely in-browser
Format
Minify
Sample
Clear
UPPERCASE keywords
lowercase keywords
Preserve case
Indent:
Use tabs
Comma-first style
Blank line between statements
Input SQL
Paste
Formatted Output
Copy