JavaScript & jQuery Formatter

Format messy JavaScript (and jQuery) into clean indented code, or minify it safely with Terser. Works entirely in your browser.

Frequently asked questions

Does it handle jQuery code?

Yes. jQuery is JavaScript, so every selector, chained method and plugin formats and minifies perfectly.

How does the minifier work?

It uses the Terser engine (the same one used by popular build tools) with safe settings that keep your code behaving identically.

Is my JavaScript uploaded?

No. All processing happens in your browser. Your code never leaves your computer.