JavaScript minifier
Minify JavaScript with Terser: comments and whitespace removed, local names shortened, license comments kept if you like.
Set up for this job. It runs on JS, CSS and HTML minifier, where every option is there to change.
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.