Code & Data
SQL formatter
Format SQL queries for standard SQL, PostgreSQL, MySQL, SQLite or SQL Server.
- 1Fill in the values
- 2Click Run
- 3See results instantly
Limits
- Formatting only. The query is not run or checked against a database.
- Unusual syntax can fail to parse; try another dialect if you see an error.
Ask the AI chat
The AI chat can run this tool for you. Try:
- “format sql: select * from users where id = 1”