JavaScript Minifier
Minify JavaScript using Terser, the same minifier used by most modern build tools, to shrink file size for production.
Input JavaScript (108 B)
Minified (…)
Minified code will appear here.Example input
function greet(name) { ... }
Example output
function greet(n){...}