SQL Formatter
JSON →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.
Traffic · last 30 days ↑350% vs prev 7d
total hits 13
actors 5 distinct systems
last hit 4d ago GPTBot
top countries 🇺🇸 United States · 🇩🇪 Germany · 🇮🇳 India · 🇨🇦 Canada · 🇫🇷 France
Resources
homepagesql-formatter.readthedocs.io ↗
API endpoints
full doc /v1/registry/sql-formatter
compatibility /v1/registry/sql-formatter/compatibility