offlinewebtools.com browser-local workbench

JavaScript Minifier

Minify JavaScript and optionally preview generated source-map output.

Shipped
Browser local

Paste, type, or load a sample. Everything runs in your browser.

Loaded sample: Function + object

320 characters

Minified JavaScript appears here.

Input characters
320
Input bytes
320
Output characters
185
Output bytes
185
Size change
42.0%

Options

What this tool does

JavaScript Minifier helps you minify JavaScript and optionally preview generated source-map output.

What you get

JavaScript Minifier produces a direct output in this page and keeps all processing on your device, with nothing uploaded to our servers.

Report a bug

If this tool misbehaves, share a quick summary so we can investigate. We include the tool URL automatically—no need to copy and paste.