Put it to work
Format readable SQL for your selected dialect.
From input to output
- Open SQL formatter and load the example.
- Read the format notes, choose your options, and replace the example with your input. Start with test data instead of sensitive information.
- Run the tool and inspect the result and status. If an error appears, correct the input format and run it again.
- Copy the output or download a file. Generated and converted results are not saved automatically.
SQL formatter
Format readable SQL for your selected dialect. Does not execute queries. Formatting preserves comments and strings; it does not replace SQL validation.
Example input
select id,name from users where active=true order by name;
Reading the result
SELECT id, name FROM users WHERE active = true ORDER BY name;
Details that matter
Format and meaning
Does not execute queries. Formatting preserves comments and strings; it does not replace SQL validation.
Supported scope and limits
SQL 100 KB
Split inputs that exceed the limit. If a format or algorithm is unsupported, choose a tool that matches your requirements instead of silently changing the format.
What happens to your data?
Tools run in your browser. DNS lookup sends the queried domain to the named external provider. Ads may appear on home, guide, and workspace pages according to settings.
Open tool