List of code minifier and beautifier tools
JavaScript Beautifier
Formats your JS files for optimal readability. This JavaScript beautifier tool lets you choose your indentation levels and how you want braces to be generated
- Beautifies your JavaScript using either tabs, 2 spaces, 3 spaces or 4 spaces
- Choose different brace styles: collapsed, expanded, or expanded with new line
- Automatically adds spaces before functions and conditional statements for optimal readability
CSS Beautifier
Formats your CSS files for optimal readability. This CSS beautifier tool lets you choose your indentation levels.
- Beautifies your CSS using either tabs, 2 spaces, 3 spaces or 4 spaces
- Automatically adds empty lines between definitions
JavaScript Minifier
Compresses a JavaScript string/file with no possible side-effect.
- 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
Compresses a CSS string/file with no possible side-effect.
- 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