tools

SQL Formatter

Pretty-print a SQL statement: keywords in upper case, each major clause (SELECT, FROM, WHERE, JOIN, GROUP BY, ORDER BY and so on) on its own line, and indentation inside CASE and parentheses. String literals are left untouched. A formatter, not a parser: it does not check that the SQL is valid.

post/api/v1/tools/sql-formatter

Request

  • Base URL: https://toolforte.com
  • URL: https://toolforte.com/api/v1/tools/sql-formatter
  • Auth: HTTP bearer

Request body

sqlstring

Response

Successful result

okboolean

Changes

No recorded changes to this operation across all 1 revision of this API.