Minify JavaScript
Minify JavaScript syntax without name mangling or compression transforms.
Input & settings
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