Technical Overview & Architecture
A client-side SQL query formatter and beautifier. Indent complex queries with configurable 2 or 4 space indentation, convert SQL keywords to UPPERCASE, and structure JOINs, WHERE clauses, and subqueries with zero server transit.
The formatter tokenizes the raw SQL string, protecting quoted string literals. It transforms keyword casing, inserts newlines before major SQL clauses, and applies hierarchical indentation according to parenthesis depth.