SQL Formatter
Format or compact SQL with dialect selection; send results to Text Diff for comparison. Your input stays in your browser while you work.
SQL Formatterπ Processed locally
How to use SQL Formatter
Complete the labeled fields, choose an action, and inspect the result before copying or downloading it.
Processing runs locally in this browser. No input is uploaded or sent to a conversion service.
SQL is never executed. Compact mode removes unnecessary whitespace while retaining comments and quoted literals. Stored procedures are not supported.
Inputs
- SQL query
- SQL dialect
- Indentation
- Keyword case