SQL

SQL Formatter

Reindent a SQL statement.

Reindent a SQL query so each clause starts on its own line and keywords are in uppercase. Long SELECT, JOIN and WHERE statements become much easier to read and review.

Input
SQL
Output
Formatted SQL

Loading SQL Formatter…

About SQL Formatter

SQL Formatter is a free online tool from freeonlinetools.live. Reindent a SQL statement.

It works in any modern browser with no app to install and no account to create. Paste your input, run it and copy the result.

How to use SQL Formatter

  1. Paste or type your input.
  2. Click “Format”.
  3. Copy the result.

Features

  • Free to use, with no signup and no watermark
  • Works on desktop and mobile browsers

Frequently asked questions

Is SQL Formatter free?

Yes. SQL Formatter is free and does not need an account.

Do I need to install anything?

No. Everything runs in your web browser, so it works on Windows, macOS, Linux, ChromeOS, Android and iOS.

Is my input saved?

No. Your text is processed to produce the result and is not stored.

More Developer tools