YUI Compressor is a free command line tool written in Java and relies on Rhino to tokenize the source JavaScript file. Prepros is a cross-platform tool to compile Sass, Less, Compass, Jade, minify codes, automatic CSS prefixing and much more. Read: Useful HTML and CSS Frameworks For Web Designers Miscellaneous Tools (Supports HTML/CSS/JavaScript) HTMLMinifier is highly configurable, well tested, JavaScript-based compressor with lint-like capabilities. HTML minify is a node.js module that compresses HTML files with any JS and CSS. Kangax (beta) provides you numerous minify option while compressing your HTML code. Willpeavy allows you to minify HTML, XHTML and any JS or CSS included in your markup. Minify-HTML is an online tool (by GTmetrix) for compacting HTML code including any inline JavaScript and CSS contained in it. Text Fixer is on online compression tool that supports compression and decompression of HTML code. HTMLcompressor is a small, fast and easy to use Java library that minifies HTML and XHTML code. These compression tools will save space in HTML files by removing text line breaks, tab spaces, and replacing double spaces with single spaces without breaking the content structure. Having compressed HTML files online could save you a lot of money on your server bills if you are hosting a very heavy bandwidth website. Either put a CSS file URL or paste the code.ĬSSTidy is an open source CSS parser and optimizer, available as an executable file which can be controlled per command line and as PHP script.įeedthebot is a quick web tool to compress CSS code, written by Patrick Sexton. highest, high, standard and low.ĬSS Minifier is simple, fast and quick web tool with an API.Ĭlean CSS is a well-tested node.js library for compressing CSS code.ĬSSO has a usual compression technique and it can perform structural minimization of CSS files.Ĭoveloping is a web tool that gives you numerous manual options to compress the code. You can select from 4 levels of compression i.e. In order to achieve maximum reduction, RGB color values are converted to a shorter hexadecimal format, #BBCCDD are reduced to #BCD, none values are converted to 0 (where ever possible), and a few tools keep a single charset per CSS file eliminating all extra decelerations.ĬSS Compressor allows you to minify CSS to make your website load faster. The process includes removing useless white spaces, line breaks, indentation characters, extra semi-colons, empty CSS declaration, unit with zero values, leading 0 (if float value is lower than 1) and stripping comments. Read: 40 Useful JavaScript Frameworks for Developers Minify CSSĬSS minification is a process of reducing CSS string/file size without altering the code functions. Grunt is a command line tool that supports an extension for JS compression named grunt-contrib-uglify. RJSmin is JS minifier written in Python, based on the semantics of jsmin.c by Douglas Crockford. Uglify.js (standalone command line tool) is a JavaScript parser, compressor, and decompressor. Koala is a GUI application for Sass, Less, JS minification, Compass, and CoffeeScript compilation. JSmini is Dan’s tool to compress your pretty well written JS code. Either copy/paste the code or upload the file for compression. JScompress is an online tool powered by Node.js and UglifyJS. JavaScript Minifier is a nice looking online tool with an API. Overall, the listed tool will help you to reduce the number of HTTP requests, bandwidth consumption and provide quicker download time for your users. Whereas, joining consecutive var declaration, optimizing if statements and converting array to objects can save 10% of the size. Majority of reduction is achieved by eliminating comments and extra white space. Minify JavaScriptĬompressed JavaScript files are ideal for the production environment. You lose human readability but at the time, you conserve bandwidth. We’ve split these tools according to the programming language. The final output will allow you to save some resources on the web server. We have gathered some automated tools that can help you reduce the size of your code without putting much effort. Depending on the code, the process can reduce the original size anywhere from 5 to 90 percent. It involves removing white-spaces, new lines, comments and modifying some unnecessary characters. Minification (in programming) is the process of compressing code from the original size to the smallest size, without affecting the operation of the code.
0 Comments
Leave a Reply. |