Usage
- Pick a dialect (MySQL, PostgreSQL, SQLite, T-SQL, etc.).
- Set case, comma, list, and alignment options.
- Click Format, then copy the result.
Pretty-print SQL in the browser. Results may vary by dialect for very complex or non-standard syntax.
Input is SQL text. Output is formatted SQL using dialect, case, comma, and alignment options. Runs in the browser. Stored procedures and extensions are not guaranteed.
select id,name from users where id in (1,2,3) → Format wraps and aligns SELECT / FROM / WHERE. Switching dialect to PostgreSQL may change identifier quoting.