-
zeroturnaround/sql-formatter
SQL Formatter: A Pretty Printer for SQL Queries — A library (and CLI tool) for pretty printing SQL queries by creative use of whitespace. Supports numerous SQL dialects from SQL:2011 to dialects used by Postgres, DB2, Oracle, and more. There’s also an online demo.