Best Free SQL Formatter Tools

SQL formatters are often used by SQL Server professionals to help in their everyday work and save them some time. These tools can make SQL code look readable in a way that it is enough to just look at it and get the point, without having to read every single line of code. This list is made up from free SQL formatting tools currently available.

The Top Ten

ApexSQL Refactor

Great tool, really liked it

I've tried other formatters and none get it the way I want. ApexSQL does it right!

I tried different tools to format sql, but apex sql was the best tool that I discovered so far.

I installed the plug in just testing, and now I don't know if I can ever go back.

Visit Website

Great notepad++ plugin

Very flexible, easy to use and works for SQL Server and(! ) Oracle (and many more)

Saved me many hours

Best formatter. Has tons of options, API and cmd line interface and best of all, it has free online version and free desktop application

Visit Website
Instant SQL Formatter by dpriver

The best I've found so far...

What's instant sql formatter?
Instant SQL Formatter is a free online sql tidy tool, actually, it not only can beautify your sql but also can turn your formatted sql into html code, so you can post coloured sql code in your blog, forum, wiki and any website easily. In addition to beautifying SQL code, this sql tool can translate SQL code into C#, Java, PHP, DELPHI and other program languages. Another useful feature is find out all database objects such as table, column, function in sql by selecting output format to list database object.

Visit Website
Poor SQL

Good tool, liked it. by RedGate

It is not free. Has a free 28 days trial only
Instantly format and beautify SQL in your web browser is a free tool which automatically formats your code as you type.

Quickly format your SQL for use on websites or reports
Copy your formatted code to the clipboard in a single click
Automatically check for errors and invalid syntax
Compatible with tablets and smartphones

SQLFormat - Online SQL Formatter Online SQL Formatter
dbForge SQL Complete

Used several times for various projects. Had no problems.

On my mind it's the most convenient tool for editing SQL code. I recommend you to try it.

Pretty cool and really free.

Cool tools

SQL Formatter

Free on-line tool for SQL formatting

SELECT deptno, job, SUM(sal)
FROM emp
GROUP BY deptno, job
SELECT deptno, SUM(sal)
FROM emp
GROUP BY deptno
FROM emp;
SELECT deptno, SUM(sal)
FROM emp
GROUP BY deptno

SSMSBoost add-in

Very useful and feature reach

A must have Sql beautifier add-in

I love it!

SSMSBoost add-in for SQL Server Management Studio adds the possibility to format SQL Code within SSMS environment.

The Contenders

Pat's Online SQL Formatter
ExtendsClass's Online SQL Formatter

No registration
Easy to use
You can copy formatted code to the clipboard
You can download formatted code


BAdd New Item