Online SQL query text formatter

Free web-based service for SQL query text formatting and beautifying.
Rearrange your SQL query statement into the appropriate standard format!
Active Query Builder can parse an arbitrary SELECT statement and return a pretty-formatted text.
  • Supports different formatting schemes for dense or readability
  • Can put commas or operators to the end of line or beginning of the following line.
  • Supports wrapping lines by words.

Based on Active Query Builder SQL parser and generator.

Having purchased Active Query Builder, you get a comprehensive set of formatting options to tune the formatting the way you like.
Press Ctrl+Enter to update

Works with SQL queries for various database servers and standards

Oracle
Microsoft SQL server
Azure SQL server
MS Access
MySQL
PostgreSQL
SQLite
Firebird
Sybase
IBM DB2
Informix
Teradata
Netezza
Advantage DB
SAP Hana
ANSI SQL standards

Active Query Builder: bridge the gap between your end-users and data

Learn how to embed the component into your system:

Get Started