JavaScript Minification Tools

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

Compressors and Minification Tools

esbuild

by evanw

Stars count iconStars36093
Forks count iconForks1053
Issues count iconOpen issues310

An extremely fast bundler for the web

swc

by swc-project

Stars count iconStars28568
Forks count iconForks1064
Issues count iconOpen issues304

Rust-based platform for the Web

UglifyJS

by mishoo

Stars count iconStars12728
Forks count iconForks1307
Issues count iconOpen issues30

JavaScript parser / mangler / compressor / beautifier toolkit

terser

by terser

Stars count iconStars8049
Forks count iconForks379
Issues count iconOpen issues249

JavaScript parser, mangler and compressor toolkit for ES6+

closure-compiler

by google

Stars count iconStars7070
Forks count iconForks1185
Issues count iconOpen issues886

A JavaScript checker and optimizer

minify

by babel

Stars count iconStars4373
Forks count iconForks255
Issues count iconOpen issues165

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

minify

by tdewolff

Stars count iconStars3434
Forks count iconForks225
Issues count iconOpen issues15

Go minifiers for web formats

minify

by matthiasmullie

Stars count iconStars1886
Forks count iconForks305
Issues count iconOpen issues82

CSS & JavaScript minifier, in PHP

minify

by coderaiser

Stars count iconStars189
Forks count iconForks28
Issues count iconOpen issues0

Minifier of js, css, html and img

Bundlers

A list of bundlers that support JavaScript minification from box.

webpack

by webpack

Stars count iconStars63527
Forks count iconForks8870
Issues count iconOpen issues190

A bundler for javascript and friends

parcel

by parcel-bundler

Stars count iconStars42705
Forks count iconForks2303
Issues count iconOpen issues653

The zero configuration build tool for the web

packem

by packem

Stars count iconStars600
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 iconStars3430
Forks count iconForks101
Issues count iconOpen issues2

Webpack loader for esbuild: Speed up your build ️

terser-webpack-plugin

by webpack-contrib

Stars count iconStars1893
Forks count iconForks152
Issues count iconOpen issues4

grunt-contrib-uglify

by gruntjs

Stars count iconStars1478
Forks count iconForks371
Issues count iconOpen issues23

Minify files with UglifyJS

uglifyjs-webpack-plugin

by webpack-contrib

Stars count iconStars1383
Forks count iconForks200
Issues count iconOpen issues3

[deprecated] UglifyJS Plugin

gulp-uglify

by terinjokes

Stars count iconStars1227
Forks count iconForks164
Issues count iconOpen issues12

Minify files with UglifyJS

rollup-plugin-terser

by TrySound

Stars count iconStars615
Forks count iconForks57
Issues count iconOpen issues18

Rollup plugin to minify generated bundle

closure-webpack-plugin

by webpack-contrib

Stars count iconStars433
Forks count iconForks59
Issues count iconOpen issues12

Webpack Google Closure Compiler and Closure Library plugin -

rollup-plugin-esbuild

by egoist

Stars count iconStars586
Forks count iconForks40
Issues count iconOpen issues9

Use ESBuild with Rollup to transform ESNext and TypeScript code

rollup-plugin-uglify

by TrySound

Stars count iconStars259
Forks count iconForks45
Issues count iconOpen issues8

Rollup plugin to minify generated bundle

swc-loader

by swc-project

Stars count iconStars395
Forks count iconForks28
Issues count iconOpen issues24

Moved to https://github

gulp-terser

by duan602728596

Stars count iconStars65
Forks count iconForks9
Issues count iconOpen issues5

gulp plugin, compressed es6+ code