Development
SQL Formatter
Paste or upload SQL, pick a dialect, then beautify or compact it. Change keyword and identifier casing, comma placement, and stacked lists — then export as SQL, HTML, C#, Java, PHP, VB, or XML, the same format-and-export flow as a dedicated SQL beautifier.
Score
81%
Type
Utility
Core features
Dialects
Auto-detect or choose MySQL, PostgreSQL, SQL Server, Oracle, BigQuery, Snowflake, and more.
Format and compact
Pretty-print stacked lists, place commas before or after, and compact lines to a max width.
Language export
Copy formatted SQL as HTML spans, C#, Java, PHP, VB, or XML after it formats.
Specifications
| Actions | Format, compact |
|---|---|
| Output | SQL, HTML, C#, Java, PHP, VB, XML |
| Case | Upper · Lower · InitCap · Unchanged |
| Privacy | Processed on the toolbox API |