Toolbox for webmasters / HTML minifier & compressor

Online HTML Minifier

This tool allows you to minify your HTML file, it removes all extra white spaces, newlines and comments. Minifier also minifies the javascript (script tags) and CSS (style tags).

Copy and paste, drag and drop a HTML file or directly type in the "Your HTML" editor above.

You can see the user guide to help you to use this HTML minifier.


Your HTML


Minified HTML



User guide

Fill "Your HTML" editor with your HTML source code. You have several possibilities:

  • Copy and paste your HTML source code
  • Drag and drop your HTML file
  • Directly type in the "Your HTML" editor

Click on "export minified HTML" button in order to download minified HTML.


About Hypertext Markup Language (HTML)

HTML is a markup language for creating web pages. It is describes semantically the structure of web document. It is use with CSS (Cascading Style Sheets) for building Web pages.

Example of a simple HTML:

<!DOCTYPE html>
<html>
  <head>
    <title>Hello world!</title>
  </head>
  <body>
    <p>Hi!</p>
  </body>
</html>
						

Why minify HTML ?

Minification is the process of removing all unnecessary characters in order to reduce or compress HTML code, in order to decrease the HTML file size.

HTML minifier is a SEO tools that can help boost your site speed (SEO factor).

We use the HTML minifier.


You can report a bug or give feedback by adding a comment (above) or by clicking "Contact us" link (at the top right hand corner of the page).

Comments





The tools are provided "as is", without warranty of any kind, either express or implied.