List of code minifier tools:

JavaScript Minifier - Online YUI Compressor for JavaScript

Compresses a JavaScript string/file with no possible side-effect. This compressor is based on Yahoo!'s YUI Compressor.

Features
  • No hard limit on the size of the JavaScript string/file
  • No possible side-effect on code
  • Removes useless white spaces, indentation characters and line breaks
  • Replaces local variable names with smaller ones and takes care of substituting the references
  • Does not modify eval statement because of possible overboard effects

CSS Minifier - Online YUI Compressor for CSS

Compresses a CSS string/file with no possible side-effect. This compressor is based on Yahoo!'s YUI Compressor.

Features
  • No hard limit on the size of the JavaScript string/file
  • Removes useless white spaces, indentation characters and line breaks
  • Strips all comments
  • Removes the last semi-colon of a style declaration
  • Removes extra semi-colons
  • Removes empty CSS declarations
  • Removes measure units when using zero values
  • Removes the leading 0 if a float value is lower than one
  • Chances RGB color values to a shorter hexadecimal format
  • Hexadecimal colors following the pattern #AABBCC are reduced to #ABC
  • Keeps a single charset per CSS file removing all extra declarations
  • None values are converted to 0 whenever safe to do so