JavaScript / CSS 格式化与压缩JavaScript / CSS Formatter & Minifier
本地代码美化、压缩、语法错误提示,输入不执行,内容仅在浏览器本地处理。Format and minify JavaScript/CSS locally without executing input
仅处理文本,不执行代码。最多 20 万字符,10 秒超时。JS 压缩保留变量名、关闭语义优化;保留许可证注释。CSS 不合并重排规则。发布前请测试。
0 → 0 字符
JavaScript / CSS 格式化与压缩使用指南JavaScript / CSS Formatter & Minifier: guide
本地代码美化、压缩、语法错误提示,输入不执行。最多 20 万字符,工作线程 10 秒超时。JS 压缩保留变量名、许可证注释,不开启语义优化;CSS 关闭规则重排。只处理 JS/CSS,不支持 HTML/TS/SCSS。结果发布前应测试,代码不上传、不执行。Format and minify JavaScript/CSS locally without executing input
- 选择 JavaScript 或 CSS,粘贴代码并设置缩进。Select JavaScript or CSS, paste code and choose indentation.
- 点击格式化或压缩,检查结果后复制或下载。Format or minify, then review, copy or download the result.
有哪些限制?文件会上传吗?What are the limits? Are files uploaded?
最多 20 万字符,工作线程 10 秒超时。JS 压缩保留变量名、许可证注释,不开启语义优化;CSS 关闭规则重排。只处理 JS/CSS,不支持 HTML/TS/SCSS。结果发布前应测试,代码不上传、不执行。Max 200,000 characters with a 10-second worker timeout. JS keeps variable names and license comments without semantic optimization; CSS rule restructuring is disabled. Only JS/CSS, not HTML/TS/SCSS. Test results before deployment. Input is never uploaded or executed.
免费使用,无需注册。工具输入在浏览器本地处理;网站访问统计不包含工具输入内容。Free to use, no registration. Tool input is processed locally in your browser and is not included in website analytics.
