Binatomy
SQL 工具

SQL 格式化工具

Format your SQL queries to make them readable with indentation and uppercase keywords, or minify them onto a single line
常见问题

常见问题

Everything you need to know about SQL formatting

SQL 格式化有什么作用?

The Format mode takes a messy SQL query and reorganizes it in a readable way: it uppercases keywords (SELECT, FROM, WHERE, JOIN...), inserts line breaks before major clauses, indents content inside parentheses, and breaks after each comma. It does not change the query logic, only its presentation.

格式化做了什么?

把查询重新排版成好读的样子:关键字转成大写,主要子句另起一行,括号里的内容再缩进一级。