Skip to content
Open source JavaScript Minimizer in C#
C# Other
  1. C# 99.5%
  2. Other 0.5%
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

MiniME - Open-source JavaScript Minifier

Sorry :( This Project is not longer under development or maintenance. The repo is kept here for posterity only.

MiniME is an open-source JavaScript minifier that runs on the .NET platform (Windows or Mono).

If you don't know what a JavaScript minifier is, you probably don't need one but there's a good explanation here.

At a Glance

  • Removes whitespace, comments and redundant braces, parentheses and semicolons.
  • Obfuscates local variables and nested functions.
  • Detects and removes constant variables.
  • Opt-in obfuscation of object properties and methods.
  • Opt-in comment preservation.
  • Optional code quality warnings (aka "lint") that won't hurt your feelings.
  • Can combine multiple scripts into one.
  • Can also compress CSS files.
  • Command line and .NET API.
  • Runs on Windows (.NET 3.5) and under Mono 2.6 (Linux/Mac OS X).
  • Tiny <50k download.

Command Line or API

Use it from the command line:

mm MyJavaScriptFile.js

or programatically from .NET code:

var mm = new MiniME.Compiler();
var minified=mm.CompileToString();

More Information


Creative Commons License
MiniME by Topten Software is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License.
Permissions beyond the scope of this license may be available at

You can’t perform that action at this time.