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.14
SHA256 checksum (to verify the file is unmodified)
ef3271e43bc25d394d50a38e1ce72ad55ec278d7568f127175005d01402db47b
Compare this value with what PowerShell returns: Get-FileHash formatsql.exe -Algorithm SHA256