Fast, zero-dependency SQL formatter for VS Code, Cursor, and Windsurf.
Features
Full Document & Selection Formatting: Format the entire .sql file (Shift+Alt+F) or only your highlighted SQL query (Format Selection).
Smart Keyword Uppercasing: Automatically capitalizes SQL keywords while preserving string literals, identifiers, and comments.
Modern Dialect Safe: Works cleanly with PostgreSQL JSON operators (->, ->>), DuckDB queries, CTEs (WITH), and Window functions (OVER (PARTITION BY ...)).