Tools JS Minifier

JavaScript Minifier

Compress JavaScript to the smallest size with real parsing (powered by Terser) — safe with regex literals, template strings and automatic semicolons. Everything runs locally in your browser — nothing is uploaded.

Input JavaScript 0 bytes
Minified output
0 bytes

About this JavaScript minifier

Real parsing

Powered by Terser — it builds a full AST, so it never breaks your code.

Compress

Removes dead code, folds constants and shortens expressions.

Mangle names

Renames local variables to single letters for maximum savings.

Handles tricky JS

Regex literals, template strings, ASI and modern ES syntax are all safe.

Size saved

See the before/after byte count and the percentage you saved.

Private

Your code is minified in the browser — it's never uploaded.

📬 Weekly Newsletter

Stay ahead of the curve

Get the best programming tutorials, data analytics tips, and tool reviews delivered to your inbox every week.

No spam. Unsubscribe anytime.