UTILS.
Private by default
🗜️

JavaScript Minifier

Paste JavaScript or open a UTF-8 .js or .mjs file, then choose Format or Minify. JavaScript syntax is supported; TypeScript and JSX are not.

Your files stay on this device

Files are processed in your browser, never uploaded. The site downloads code and assets to run the tools. No accounts or trackers.

Use Download to save this tool as one HTML file for offline use.

Privacy →

Your text and files stay on this device. Nothing is uploaded or saved by this tool.

About this tool

Paste JavaScript or open a UTF-8 .js or .mjs file, then choose Format or Minify. JavaScript syntax is supported; TypeScript and JSX are not.

JavaScript is parsed and printed locally without running it. Names and expressions are preserved. Minify removes ordinary comments but keeps license and preservation comments.

UTF-8 text · up to 5 MiB · stays on this device

Editing the input or settings clears the previous result. Copy and download always use the latest completed conversion.

Your text and files stay on this device. Nothing is uploaded or saved by this tool.

Frequently asked questions

How do I use this tool?
Paste JavaScript or open a UTF-8 .js or .mjs file, then choose Format or Minify. JavaScript syntax is supported; TypeScript and JSX are not.
How does it handle my data?
JavaScript is parsed and printed locally without running it. Names and expressions are preserved. Minify removes ordinary comments but keeps license and preservation comments.
Can I use large files or work offline?
UTF-8 text · up to 5 MiB · stays on this device

More tools