All tools → Developer Tools

JavaScript Formatter & Minifier

Conservative minification that respects strings. Never runs the code.

Get it in the desktop app

What it does

Conservative minification that respects strings. Never runs the code. Part of Developer Tools — Format, validate, encode, and inspect.

Also found under: js minify, javascript format.

When to use it

Shrink a script conservatively — strings and templates preserved, code never run.

Privacy & safety

Parses and formats locally; scripts are never executed. Paste only code you are allowed to share with your own machine.

This tool works on text you paste — nothing leaves the page until you copy or save it yourself.

Related tools

Back to the full catalog →