HTML Runner

JavaScript Minifier

Reduce JavaScript source size with a parser-based printer that keeps variable names intact.

How to use JavaScript Minifier

Select module mode for import and export source. Run the output in its intended environment to check behavior.

Limitations

The printer strips ordinary comments. Compression and name mangling are disabled to keep the transformation conservative.

Frequently asked questions

Is it a bundler?

It processes a single input. Imports and dependencies need a separate bundling workflow.

Test your web code in the live HTML workspace.

Related resources