×

Original size: 0

Minified size: 0

Savings: 0

Type: 

Minified Output

About HTML, XML, JSON, CSS and JavaScript Minifier

HTML Minifier is used for minify/compress HTML,XML,CSS,JavaScript.Minification refers to the process of removing unnecessary or redundant data without affecting how the resource is processed by the browser.
i.e. code comments and formatting, removing unused code, using shorter variable and function names, and so on.

How to minify html, xml, css and javascript?

  1. Copy paste or type your text
  2. Select the document type
  3. Click on the Minify button

e.g. (JavaScript)
Note: Please remove <script> and </script> from your JavaScript, <style> and </style> from your css before click on the Minify button.
function myFunction()
{
    document.getElementById("demo").innerHTML = "Free Online Tools";
}
                                        

Minified output:

function myFunction(){document.getElementById("demo").innerHTML="Free Online Tools";}

Minify CSS  Minify HTML  Minify JavaScript  Minify XML 

Copyright bitcompiler.com. Version: 1.28.0