HTML online minimizer/compressor? [closed]

2019-02-03 01:50发布

Does anyone know of a good online generator to take the source code of an HTML page and compress/minimize the entire page.

Meaning, compress/minimize all embedded CSS, JavaScript and obviously the HTML of that web page while also removing unneeded HTML/CSS/JavaScript comments, spaces, tabs, etc?

9条回答
别忘想泡老子
2楼-- · 2019-02-03 02:12

I use HTML JavaScript CSS Minifier for minify the entire HTML code (including CSS and Javascript).

You can also encrypt the Javascript parts on Javascript minifier encryptor to make it less readable but it increase the size of your file.

查看更多
贼婆χ
3楼-- · 2019-02-03 02:13

A duplicate of https://stackoverflow.com/questions/728260/html-minification ?

And if you do not really need an ON-Line tool, then PageSpeed plugin for Firefox and the Yahho compressor are both really good minifiers. Also the PageSpeed tool can give you hints what to change, and which change will give the biggest change in speed/size.

查看更多
Rolldiameter
4楼-- · 2019-02-03 02:15

I recommend you to try WebMarkupMin Online.

查看更多
来,给爷笑一个
5楼-- · 2019-02-03 02:16

This is the best minifier I found till date.

Check it here: Html, Javascript as well as CSS minifier

查看更多
虎瘦雄心在
6楼-- · 2019-02-03 02:16

I came across a script that will minify your HTML, Inline CSS, Inline Javascript On The Fly.

Check here Dynamic Website Compressor

查看更多
放荡不羁爱自由
7楼-- · 2019-02-03 02:21

There's an online compressor that does minimize all embedded CSS and JavaScript blocks and also the HTML. It produces a single line output code which renders as the original and respects the document structure.

It uses Yahoo YUI Compressor and Google Closure compiler for JavaScript.

Check it here: HTMLcompressor.com

查看更多
登录 后发表回答