JavaScript Minification Tools

A list of tools for JavaScript code parsing, compressing and minification.

Compressors and Minification Tools

esbuild

by evanw

Stars count iconStars32645
Forks count iconForks878
Issues count iconOpen issues263

An extremely fast JavaScript and CSS bundler and minifier

swc

by swc-project

Stars count iconStars23183
Forks count iconForks750
Issues count iconOpen issues238

Rust-based platform for the Web

UglifyJS

by mishoo

Stars count iconStars12162
Forks count iconForks1234
Issues count iconOpen issues22

JavaScript parser / mangler / compressor / beautifier toolkit

terser

by terser

Stars count iconStars7237
Forks count iconForks307
Issues count iconOpen issues205

JavaScript parser, mangler and compressor toolkit for ES6+

closure-compiler

by google

Stars count iconStars6531
Forks count iconForks1126
Issues count iconOpen issues851

A JavaScript checker and optimizer

minify

by babel

Stars count iconStars4338
Forks count iconForks246
Issues count iconOpen issues162

An ES6+ aware minifier based on the Babel toolchain (beta)

minify

by tdewolff

Stars count iconStars3055
Forks count iconForks193
Issues count iconOpen issues11

Go minifiers for web formats

minify

by matthiasmullie

Stars count iconStars1766
Forks count iconForks295
Issues count iconOpen issues78

CSS & JavaScript minifier, in PHP

minify

by coderaiser

Stars count iconStars152
Forks count iconForks24
Issues count iconOpen issues4

Minifier of js, css, html and img

Bundlers

A list of bundlers that support JavaScript minification from box.

webpack

by webpack

Stars count iconStars61492
Forks count iconForks8440
Issues count iconOpen issues174

A bundler for javascript and friends

parcel

by parcel-bundler

Stars count iconStars41093
Forks count iconForks2166
Issues count iconOpen issues677

The zero configuration build tool for the web

packem

by packem

Stars count iconStars591
Forks count iconForks12
Issues count iconOpen issues4

A precompiled JavaScript module bundler

Plugins

A list of JavaScript code minification plugins.

esbuild-loader

by privatenumber

Stars count iconStars3026
Forks count iconForks78
Issues count iconOpen issues9

️ Speed up your Webpack build with esbuild

terser-webpack-plugin

by webpack-contrib

Stars count iconStars1785
Forks count iconForks140
Issues count iconOpen issues3

grunt-contrib-uglify

by gruntjs

Stars count iconStars1476
Forks count iconForks370
Issues count iconOpen issues23

Minify files with UglifyJS

uglifyjs-webpack-plugin

by webpack-contrib

Stars count iconStars1370
Forks count iconForks199
Issues count iconOpen issues3

[deprecated] UglifyJS Plugin

gulp-uglify

by terinjokes

Stars count iconStars1237
Forks count iconForks166
Issues count iconOpen issues12

Minify files with UglifyJS

rollup-plugin-terser

by TrySound

Stars count iconStars587
Forks count iconForks46
Issues count iconOpen issues14

Rollup plugin to minify generated bundle

closure-webpack-plugin

by webpack-contrib

Stars count iconStars419
Forks count iconForks58
Issues count iconOpen issues13

Webpack Google Closure Compiler and Closure Library plugin -

rollup-plugin-esbuild

by egoist

Stars count iconStars463
Forks count iconForks31
Issues count iconOpen issues26

Use ESBuild with Rollup to transform ESNext and TypeScript code

rollup-plugin-uglify

by TrySound

Stars count iconStars254
Forks count iconForks38
Issues count iconOpen issues7

Rollup plugin to minify generated bundle

swc-loader

by swc-project

Stars count iconStars327
Forks count iconForks25
Issues count iconOpen issues20

Webpack loader for swc

gulp-terser

by duan602728596

Stars count iconStars63
Forks count iconForks9
Issues count iconOpen issues5

gulp plugin, compressed es6+ code