Umbraco Html Minifier

Umbraco 10 - comming soon

New - Version 9.0.0 for Umbraco 9

Optional configurations for Umbraco 9:

  "HtmlMinifier": {
    "RemoveAttributeQuotes": false,
    "RemoveOptionalEndTags": false,
    "AllowMinificationInDevelopmentEnvironment": false


For previous umbraco versions:

Enable Html Minifier by change debug="false" in web.config

Version 1.0.1 for Umbraco 8

Version 0.9.7 for Umbarco 7.5+

Version 0.9.5 for Umbarco 7.5


To get started:

  1. Install package
    1. using Umbarco package 
      • Open Umbraco package settings
      • In package "Search for package" type Html and click on Html Minifier
        Install Html Minifier using Umbarco Package
      • install package
        Html Minifier Install Package
    2. using Nuget package:
      • Open Visual Studio
      • Open Nuget Console
        Html Minifier Install Package
      • Install Html Minifier Package  - type Install-Package MissingCode.Umbraco.HtmlMinifier and click enter
        Install Html Minifier using nuget command

  2. Verify web.config setting is set to debug="false"
  3. Check page source 
    result of html commpression