Saturday, October 24, 2026 4,350 lists 78,096 records on file
List your app or device

  1. Home
  2. SQL Linters and Formatters
  3. Prettier SQL

Prettier SQL

Plans and prices

MIT-licensed open-source package

Free

Prettier plugin · requires Node.js v14.18.0+

Every plan, in full

On the record

Compatibility
The package metadata lists Prettier ^3.0.3 as a peer dependency.github.com · read 8 Oct 2026
Development status
The README says the plugin is under development and may not always match Prettier's formatting.github.com · read 8 Oct 2026
Formatting options
Options include keyword, data type, function, and identifier casing, indentation style, and logical operator line breaks.github.com · read 8 Oct 2026
How it works
The plugin uses sql-formatter or node-sql-parser to format SQL files.github.com · read 8 Oct 2026
License
The package is distributed under the MIT license.github.com · read 8 Oct 2026
Maker
The package metadata names JounQin as its author, and the repository describes itself as a collection of Prettier plugins.github.com · read 8 Oct 2026
Purpose
prettier-plugin-sql adds SQL formatting support to Prettier.github.com · read 8 Oct 2026
Requirements
The package requires Node.js v14.18.0 or later, including supported LTS versions.github.com · read 8 Oct 2026
Setup
The README shows installation through npm or Yarn and configuration through a Prettier config file.github.com · read 8 Oct 2026
SQL in JavaScript
With prettier-plugin-embed, it can format SQL inside tagged template literals.github.com · read 8 Oct 2026
Supported dialects
The documented sql-formatter languages include BigQuery, DB2, Hive, MariaDB, MySQL, PostgreSQL, Snowflake, SQLite, T-SQL, Trino, and others.github.com · read 8 Oct 2026

Alternatives to Prettier SQL

Every alternative, ranked