Overview
The site at uglifyjs.net calls itself JS Minify and Beautify. It is an online tool with two modes: minify, which strips whitespace and comments and shortens names so a JavaScript file is smaller to download, and beautify, which does the reverse and re-indents compressed code so a person can read it.
You can paste code into a text box or upload files. The upload form accepts many files at once, merges them in alphabetical order and gives you one result to download. Minify options include mangling names, properties, function names and top-level variables, keeping comments, keeping original quote style and supporting the quirks of Internet Explorer 6 to 8. It is aimed at developers who want a quick one-off minification without setting up a build tool.
The site is run by HAZOTA Europe Kft., which operates a family of similar single-purpose tools (Base64, URL encoding, JSON and CSS minifiers) linked from the page. Despite the domain name, the page does not present itself as the official home of the UglifyJS project. Processing happens on the company's servers and the site is funded by advertising.
Categories
Features
- Minifies pasted JavaScript or uploaded files
- Beautifies minified code back into readable form
- Options to mangle names, properties, function names and top-level variables
- Options to keep comments and original quotes
- Compatibility option for Internet Explorer 6 to 8
- Multi-file upload with files merged in alphabetical order
- Copy-to-clipboard button and downloadable result file
Privacy
The site says connections use HTTPS, uploaded files are deleted right after processing, results are removed after the first download or 15 minutes of inactivity, and contents are not kept or inspected. The privacy policy also says usage data is shared with Google Analytics, Google ad services and Publift, and may be used to build profiles for personalised advertising.
Pros & Cons
Pros
- Minify and beautify in one place
- Batch upload merges several files into one output
- No account or sign-up needed
- States that uploads are deleted after processing and results after first download or a short idle period
Cons
- Code is sent to the operator's servers rather than processed locally
- Advertising with personalised-ad tracking described in the privacy policy
- Not the official UglifyJS project site, and the engine version is not stated
- No source map output
Community Reviews (0)
No written reviews yet — be the first to rate this tool.
Similar Tools
-
Code Minifiers · Online-Toolz
Minifies CSS code to reduce file size.
Free Web -
Code Minifiers · Minifier.org
Minifies JavaScript and CSS.
Free No Signup Web -
Code Minifiers · CSS Minifier
Minifies CSS code.
Free No Signup Web API -
Code Minifiers · HTML Minifier
Original web demo of the open-source HTML Minifier, now deprecated; shrinks HTML and its inline CSS and JavaScript in the browser.
Open Source No Signup Web