prettier-plugin-sql

JSON →
library 0.20.0 ·javascript
verified May 27, 2026

Prettier plugin for formatting SQL files and SQL-in-JS. Wraps sql-formatter and node-sql-parser to support 20+ dialects including BigQuery, PostgreSQL, MySQL, ClickHouse. Requires Prettier 3.0.3+ and Node 14.18+. Version 0.20.0 adds ClickHouse support. Plugin is under active development but stable for basic usage. Differentiator: integrates with prettier-plugin-embed for embedded SQL in tagged templates.

total hits 24
actors 8 distinct systems
last hit 15h ago AhrefsBot
Amazonbot
4
MetaBot
4
GPTBot
2
Script
2
ClaudeBot
1
Search engines
1
Humans
2

top countries 🇺🇸 United States · 🇳🇱 Netherlands · 🇮🇳 India · 🇨🇦 Canada · 🇳🇴 Norway