Developer Tools•Free Online Tool
SQL Query Formatter & Beautifier
Beautify raw SQL queries with standard keyword capitalization, clause indentation, and support for MySQL, PostgreSQL, and standard ANSI SQL.
100% Free & Private
Keywords:
Indentation:
Input SQL Query
Formatted & Indented Query
How to Use SQL Query Formatter & Beautifier
1
Paste SQL Query
Enter your unformatted SQL query into the left editor.
2
Configure Style
Select uppercase/lowercase keywords and 2 or 4 space indentation.
3
Copy Result
Click Beautify SQL and copy your clean formatted query.
Frequently Asked Questions
Related Tools
JSON Formatter & Beautifier
Format, validate, beautify, and inspect JSON data with custom indentation.
Open Tool
CSV to JSON & JSON to CSV Converter
Convert tabular CSV files into JSON objects and JSON arrays into CSV spreadsheets.
Open Tool
Base64 Encoder & Decoder
Encode and decode text, strings, and files to and from Base64 format with live UTF-8 conversion.
Open Tool
URL Encoder & Decoder
Encode and decode URLs and query string parameters with RFC 3986 percent-encoding.
Open Tool