About

A SQL formatter that does more.

Most SQL formatters are one-trick tools: paste in, get indentation back. Free SQL Formatter starts there — full control over keyword case, indentation, operator spacing and dialect — and then goes further.

It understands your query. A visual WHERE editor lets you reshape conditions as a tree or a graph and watch the SQL update live. Smart parameter binding detects placeholders and lets you fill a reused value, like a timestamp range, just once. And it gracefully handles incomplete SQL — even a lone WHERE clause.

Everything runs locally in your browser. No accounts, no uploads, no tracking of your queries. It's built for engineers who paste sensitive SQL all day and want a tool they can trust.

Try the formatter