9kit.org

SQL Formatter

SQL (Structured Query Language) is the standard language for managing and manipulating databases. Well-formatted SQL improves readability and makes it easier to debug and maintain database queries. This free online tool formats and prettifies SQL queries with customizable indentation and keyword casing options. Simply paste your SQL and get instantly formatted output. All processing happens locally in your browser.

Options:

Features

AlignLeft

Smart Indentation

Automatic proper indentation for readability.

Code

Keyword Uppercase

Convert SQL keywords to uppercase optionally.

Copy

Export Options

Copy or download your formatted SQL.

Frequently Asked Questions