a apiary.
← All tools

HTML, CSS & JavaScript / BROWSER UTILITY

JavaScript Minifier

Minify JavaScript with an AST-aware printer and compare character counts.

Your JavaScript is parsed as text and never executed.

Up to 100,000 characters. Processing stops after 8 seconds. Source is never executed.

Good to know

Uses Terser with compression and name mangling disabled. Removes unnecessary layout and ordinary comments while retaining license comments. This avoids speculative optimization and variable renaming. Smaller source does not guarantee faster execution.

Example: Format a function that sums product prices.