SQL Formatter

Notepad++ plugin

Try it out

The exact same formatting engine as the Notepad++ plugin, now in your browser — via WebAssembly, fully client-side. Nothing is sent to a server; your SQL never leaves your browser. Try it below with the default settings, or upload a .ini file exported from the plugin's Settings dialog to test your own formatting rules.

Loading formatter...

Prefer the command line? Download the CLI

The same engine, but as a standalone .exe to format a whole folder of .sql files in one script run. Works with wildcards (formatsql *.sql) and accepts the same .ini settings as above.

Download formatsql.exe

Version: 1.3.2.15

SHA256 checksum (to verify the file is unmodified)

2c91d076308fb33fe1aa1ad00737f8c591ee2d3a0d81ea91971a691cd8c6ae2f

Compare this value with what PowerShell returns: Get-FileHash formatsql.exe -Algorithm SHA256