SQL Formatter

This tool can be used to quickly format your SQL (Structured Query Language) into a more readable output. More

Was this useful? Support us.
Paste your input

Output Text



How it works?

Online SQL Formatter: This tool can be used to quickly format your SQL (Structured Query Language) into a more readable output. Check examples below:

Examples:

Unformatted SQL
SELECT FIRST_NAME, LAST_NAME, PHONE, ADDRESS FROM CUSTOMER WHERE FIRST_NAME LIKE '%John%' ORDER BY FIRST_NAME
Formatted SQL
    SELECT
        FIRST_NAME,
        LAST_NAME,
        PHONE,
        ADDRESS 
    FROM
        CUSTOMER 
    WHERE
        FIRST_NAME LIKE '%John%' 
    ORDER BY
        FIRST_NAME
This tool does not validate your SQL input. It will just identify specified keywords and do the appropriate formatting.

More about SQL:

Structured Query Language or simply SQL is the default language used for querying and managing the data in a Relational Database Management System (RDBMS).

SQL language is consisted by a Data Definition Language (DDL), which is used to create the structure of the relational databases, and a Data Manipulation Language (DML), which is used to manipulate the data. You can find more information about SQL in the following resources.

Resources:




Looking for something else?

In case you are looking for something else than this functionality, please let us know by contacting us. The most common requests will be made available (for free) once possible.