SQL Prettier

JSON →
library 0.2.12 ·javascript maintenance
verified Jun 5, 2026

A SQL formatter that whitespaces and indents SQL queries for improved readability. Current stable version 0.2.12, last updated in 2018. Forked from sql-formatter, it supports SQL, N1QL, and a subset of standard SQL. Differentiator: simple, no dependencies, but limited to whitespace formatting without comprehensive keyword case or dialect-specific logic. Release cadence is low, mostly maintenance.