SQL Formatter

JSON →
library 0.6.2 ·python
verified May 22, 2026

sql-formatter is a Python library designed to format SQL queries, enhancing readability and quick understanding through consistent indentation and casing. It aims to standardize SQL query writing, similar to how 'black' formats Python code. The library provides both a command-line interface and a Python API, and is actively maintained with frequent bug fixes and feature enhancements.

total hits 13
actors 5 distinct systems
last hit 4d ago GPTBot
GPTBot
6
Script
3
ClaudeBot
1
Search engines
1

top countries 🇺🇸 United States · 🇩🇪 Germany · 🇮🇳 India · 🇨🇦 Canada · 🇫🇷 France