Runs in this tab · nothing uploaded

EN

English

हिन्दीComing soon

EspañolComing soon

Pinned
HelpyTools

More

JavaScript minifier

Minify JavaScript with Terser: comments and whitespace removed, local names shortened, license comments kept if you like.

Runs in your browserNothing uploadedWorks offline

Set up for this job. It runs on JS, CSS and HTML minifier, where every option is there to change.

Loading JavaScript minifierRuns on this device. Nothing is uploaded.

Questions

Which minifier is it?

Terser, run in your browser. It removes comments and whitespace, simplifies code and, with Shorten variable names on, renames local variables.

When should I tick ES module?

When the file uses import or export. Terser then treats the code as a module, which lets it handle top level names correctly.

Is my code uploaded?

No. Minification runs in this tab. Nothing you paste leaves your device.

All developer tools

↑ ↓ move↵ openesc close

The tray

Install HelpyTools

Get HelpyTools on your home screen or Dock. It opens in its own window, and tools you have opened once keep working offline.