Minify JavaScript

Minify JavaScript syntax without name mangling or compression transforms.

Local processing · Nothing is uploaded · 1 MB input limit

Input & settings

Paste text or drop a UTF-8 text file
Ready. Enter your input to begin.

How to use this tool

Paste your source, choose the supported options, then process. Inspect or download the complete result.

Limits and behavior

Uses UglifyJS syntax generation after Acorn validation. JSX and TypeScript unsupported; unsupported newer syntax produces an error. No code is evaluated. Maximum total input 1 MB, output 3 MB, JSON nesting 64 levels. Processing stays in your browser worker. Input is limited to 1 MB and output to 3 MB. No input content is saved by CraftAI.

Make JavaScript source more compact

Minify supported JavaScript syntax for smaller source text while avoiding name mangling.

Does JS minification guarantee faster websites?

No. Runtime performance depends on many factors, including network delivery, caching and script execution.

Related tools: format javascript · minify css

Built on Hatchable