关于 SQL Formatter
Format and beautify SQL queries with customizable indentation and keyword casing — paste messy SQL, get clean output, 全部在浏览器中完成.
如何使用 SQL Formatter
- 1将你的 SQL 查询粘贴到输入区域。
- 2切换'Uppercase keywords' to capitalize SQL keywords (SELECT, FROM, WHERE, etc.)。
- 3设置indent size for nested clauses。
- 4点击 '格式' to beautify the SQL.
- 5复制formatted output。
提示
- Uppercase keywords is the most common SQL convention — it makes queries easier to scan.
- 格式 complex queries before code review to make them readable and catch logic errors.
- Use 2-space indentation for compact queries and 4-space for deeply nested subqueries.
OneKitTools 团队更新于 2.21.4