🗄️ SQL 格式化/压缩SQL Formatter & Minifier
在线 SQL 美化格式化(关键字大写、换行缩进)或压缩成一行。Beautify SQL (uppercase keywords, line breaks, indentation) or minify it to one line.
使用说明与常见问题How-to & FAQ
「SQL 格式化/压缩」是什么?What is the SQL Formatter & Minifier tool?
在线 SQL 美化格式化(关键字大写、换行缩进)或压缩成一行。Beautify SQL (uppercase keywords, line breaks, indentation) or minify it to one line.
如何使用「SQL 格式化/压缩」?How do I use the SQL Formatter & Minifier tool?
在「SQL 格式化/压缩」中,先在上方输入或粘贴内容,然后点击「压缩成一行」、「复制」按钮即可。In the SQL Formatter & Minifier: Type or paste your input above, then click "Minify to one line", "Copy".
支持哪些数据库方言?Which SQL dialects?
这是通用的基础格式化,适用于 MySQL、PostgreSQL、SQLite 等常见语法。It's a generic basic formatter that works for common MySQL, PostgreSQL and SQLite syntax.
代码或数据会被上传吗?Is my code or data uploaded?
不会。「SQL 格式化/压缩」完全用 JavaScript 在本地运行,适合处理含有密钥、内部接口等敏感内容的数据。No. The SQL Formatter & Minifier runs entirely in local JavaScript, so it is safe for data containing keys or internal endpoints.
「SQL 格式化/压缩」免费吗?需要注册吗?Is the SQL Formatter & Minifier free? Do I need an account?
「SQL 格式化/压缩」完全免费,无需注册或安装,打开网页即可使用,手机和电脑都能用;输入的内容只在你的浏览器本地处理。The SQL Formatter & Minifier is completely free with no sign-up or install and works on phones and desktops; what you enter is processed only in your browser.