JavaScript Minifier

JavaScript Minifier

What is JavaScript Minifier?

JavaScript Minifier is an online Javascript compression tool that helps you compress your Javascript source files. This saves space for faster data transfer over the network.

JavaScript (often abbreviated to JS) is a lightweight, interpreted, object-oriented language that is best known as a scripting language for web pages.

Minification (also minimisation or minimization), in computer programming languages and especially JavaScript, is the process of removing all unnecessary characters from source code, without changing its functionality. These unnecessary characters usually include white space characters, new line characters, comments, and sometimes block delimiters, which are used to add readability to the code but are not required for it to execute.

How to reduce Javascript loading time?

  1. Use Javascript compression tool to reduce JS files size by 30%.
  2. merge several Javascript files into one file to reduce the number of HTTP requests to be set.
  3. use CDN to avoid redundant HTTP-requests for the same Javascript files (such as the popular JS library jQuery).

How to use it?

Just paste your JavaScript into the text area above and click the "Minify" button, and you'll get the compressed JavaScript code in the same text area.