SQL
Result
This is a lightweight formatter — it recognises the common clauses (SELECT, FROM, JOIN, WHERE, GROUP BY, ORDER BY, and so on) and indents by parenthesis depth. It doesn't parse the full SQL grammar, so unusual queries may need a tidy afterward. Everything runs on your device.