SQL Formatter

Pretty-print SQL queries with major-clause line breaks and optional keyword case normalization.

SQL Formatter

Pretty-print SQL with keyword uppercasing and clause indentation — runs locally in your browser.

Heuristic formatter for readable SELECT/DML — not a full SQL parser. Nested subqueries and exotic dialects may need a manual tweak.

Why Format SQL?

Long one-line queries from logs or ORMs are hard to review in PRs. A quick format pass highlights JOINs, filters, and groupings — without sending your query to a remote service.