- Home
- Developer
- SQL Formatter
SQL Formatter
Pretty-print SQL with configurable keyword case and indentation.
The SQL Formatter parses SQL statements and rewrites them with readable indentation and consistent keyword casing. It is useful for reviewing queries in logs and configuration files.
How to use
- Paste a SQL statement into the input field.
- Choose keyword case and indentation.
- Copy the formatted SQL.
Frequently asked questions
Does formatting change the query result?
No, only whitespace and keyword casing are adjusted.
Which SQL dialects are supported?
The formatter handles common standard SQL syntax used across major databases.
Related tools
JSON Formatter
Format, validate and minify JSON in one place.
XML Formatter
Pretty-print and indent XML documents.
YAML Formatter
Format YAML and convert between YAML and JSON in both directions.
CSV to JSON
Convert CSV tables into JSON data.
JWT Decoder
Decode JWT header, payload and expiration.
Hash Generator
Generate SHA-1, SHA-256, SHA-384 and SHA-512 hashes.