WebMarkupMin.Core icon

Web Markup Minifier: Core

The Web Markup Minifier (abbreviated WebMarkupMin) is a .NET library that contains a set of markup minifiers.

The objective of this project is to improve the performance of web applications by reducing the size of HTML, XHTML and XML code.

WebMarkupMin absorbed the best of existing solutions from non-microsoft platforms: Juriy Zaytsev's Experimental HTML Minifier (http://github.com/kangax/html-minifier/) (written in JavaScript) and Sergiy Kovalchuk's HtmlCompressor (http://code.google.com/p/htmlcompressor/) (written in Java).

Minification of markup produces by removing extra whitespaces, comments and redundant code (only for HTML and XHTML). In addition, HTML and XHTML minifiers supports the minification of CSS code from style tags and attributes, and minification of JavaScript code from script tags, event attributes and hyperlinks with javascript: protocol.

WebMarkupMin.Core contains built-in JavaScript minifier based on the Douglas Crockford's JSMin (http://github.com/douglascrockford/JSMin) and built-in CSS minifier based on the Mads Kristensen's Efficient stylesheet minifier (http://madskristensen.net/post/Efficient-stylesheet-minification-in-C).


- Last update: 5/7/2017
- Version: 2.4.0
- Project documentation: http://github.com/Taritsyn/WebMarkupMin
- Read more info on NuGet.org...
This package has 1 dependency.
8 packages depend on this package.

Run this command from the Package Manager Console:

Install-Package WebMarkupMin.Core

markup HTML xhtml Xml minification Minifier minify Performance Optimization compression WebMarkupMin


Did you write a blog post and have a URL to share about this package? Tips and tricks? Please submit your links and reviews.

Please login first. It's easy! Just use your Google or Microsoft account.