SQL Formatter
Format SQL queries for SQL, PostgreSQL, MySQL or SQLite. Control keyword case and indentation.
How to use
- Paste your input or load the example below.
- Adjust the options, then select “Format SQL”.
- Review the result, then copy or download it.
No uploads. No account. Processing stays in your browser.
Example input
select a,b from users where id=1 and active=1 order by name