在线 SQL 与代码格式化、美化与压缩,支持多方言,本地处理更安全
一站式美化 SQL 与代码,支持 16 种 SQL 方言与 7 种语言,键入即格式化。
了解代码格式化的功能、如何格式化,以及常见问题解答。What the code formatter does, how to format, and answers to common questions.
代码格式化工具支持 SQL(16 种方言)、JavaScript / TypeScript、CSS、HTML、XML、PHP、JSON 的美化与压缩,输入即实时格式化。
A code formatter for SQL (16 dialects), JavaScript/TypeScript, CSS, HTML, XML, PHP and JSON — beautify and minify with live formatting.
适合清理混乱代码、统一团队编码风格与代码审查。
Great for cleaning messy code, unifying team style and code review.
支持缩进风格、关键字大小写与方言自由切换,并即时提示语法错误。
Switch indentation style, keyword case and dialect freely, with instant syntax error hints.
无需安装 IDE 插件,粘贴即可格式化,是轻量代码美化的首选。
No IDE plugin required — paste and format instantly; a top pick for lightweight code beautifying.
开发者整理 SQL 语句与前端代码、统一编码风格。
Developers tidying SQL and frontend code and unifying style.
团队进行代码审查、文档示例排版等。
Teams doing code review and formatting documentation snippets.
内置多种语言与 SQL 方言的解析与美化逻辑,在浏览器本地执行。
Bundles parsers and beautifiers for multiple languages and SQL dialects, running locally in the browser.
格式化与压缩结果在前端即时生成,不经过服务器。
Formatting and minification are generated instantly on the frontend, without a server.
代码仅在本机处理,不上传,敏感 SQL 与业务代码不会泄露。
Code is processed on-device only, never uploaded, so sensitive SQL and business code stay safe.
支持 MySQL、PostgreSQL 等 16 种 SQL 方言。16 SQL dialects including MySQL and PostgreSQL.
支持,可生成压缩版代码以减小体积。Yes, minify to reduce size.
不会,全部在浏览器本地处理。No, all processing is local.