JavaScript Minification Tools

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

Compressors and Minification Tools

esbuild

by evanw

Stars count iconStars38578
Forks count iconForks1181
Issues count iconOpen issues480

An extremely fast bundler for the web

swc

by swc-project

Stars count iconStars31696
Forks count iconForks1264
Issues count iconOpen issues394

Rust-based platform for the Web

UglifyJS

by mishoo

Stars count iconStars13262
Forks count iconForks1245
Issues count iconOpen issues27

JavaScript parser / mangler / compressor / beautifier toolkit

terser

by terser

Stars count iconStars8841
Forks count iconForks401
Issues count iconOpen issues276

JavaScript parser, mangler and compressor toolkit for ES6+

closure-compiler

by google

Stars count iconStars7471
Forks count iconForks1159
Issues count iconOpen issues913

A JavaScript checker and optimizer

minify

by babel

Stars count iconStars4398
Forks count iconForks222
Issues count iconOpen issues168

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

minify

by tdewolff

Stars count iconStars3807
Forks count iconForks225
Issues count iconOpen issues26

Go minifiers for web formats

minify

by matthiasmullie

Stars count iconStars1982
Forks count iconForks310
Issues count iconOpen issues94

CSS & JavaScript minifier, in PHP

minify

by coderaiser

Stars count iconStars235
Forks count iconForks31
Issues count iconOpen issues2

Minifier of js, css, html and img

Bundlers

A list of bundlers that support JavaScript minification from box.

webpack

by webpack

Stars count iconStars65038
Forks count iconForks8945
Issues count iconOpen issues133

A bundler for javascript and friends

parcel

by parcel-bundler

Stars count iconStars43663
Forks count iconForks2267
Issues count iconOpen issues515

The zero configuration build tool for the web

packem

by packem

Stars count iconStars606
Forks count iconForks8
Issues count iconOpen issues4

A precompiled JavaScript module bundler

Plugins

A list of JavaScript code minification plugins.

esbuild-loader

by privatenumber

Stars count iconStars3581
Forks count iconForks105
Issues count iconOpen issues4

Speed up your Webpack with esbuild ️

terser-webpack-plugin

by webpack-contrib

Stars count iconStars1955
Forks count iconForks158
Issues count iconOpen issues6

grunt-contrib-uglify

by gruntjs

Stars count iconStars1479
Forks count iconForks350
Issues count iconOpen issues26

Minify files with UglifyJS

uglifyjs-webpack-plugin

by webpack-contrib

Stars count iconStars1382
Forks count iconForks179
Issues count iconOpen issues3

[deprecated] UglifyJS Plugin

gulp-uglify

by terinjokes

Stars count iconStars1221
Forks count iconForks154
Issues count iconOpen issues14

Minify files with UglifyJS

rollup-plugin-terser

by TrySound

Stars count iconStars612
Forks count iconForks55
Issues count iconOpen issues18

Rollup plugin to minify generated bundle

closure-webpack-plugin

by webpack-contrib

Stars count iconStars435
Forks count iconForks60
Issues count iconOpen issues12

Webpack Google Closure Compiler and Closure Library plugin -

rollup-plugin-esbuild

by egoist

Stars count iconStars634
Forks count iconForks40
Issues count iconOpen issues12

Use ESBuild with Rollup to transform ESNext and TypeScript code

rollup-plugin-uglify

by TrySound

Stars count iconStars261
Forks count iconForks42
Issues count iconOpen issues8

Rollup plugin to minify generated bundle

swc-loader

by swc-project

Stars count iconStars394
Forks count iconForks29
Issues count iconOpen issues24

Moved to https://github

gulp-terser

by duan602728596

Stars count iconStars64
Forks count iconForks9
Issues count iconOpen issues5

gulp plugin, compressed es6+ code