Software Alternatives, Accelerators & Startups

UglifyJS VS Closure Compiler

Compare UglifyJS VS Closure Compiler and see what are their differences

UglifyJS logo UglifyJS

JavaScript minifier, beautifier, mangler and parser toolkit.

Closure Compiler logo Closure Compiler

The Closure Compiler is a tool for making JavaScript download and run faster.
  • UglifyJS Landing page
    Landing page //
    2022-10-30
  • Closure Compiler Landing page
    Landing page //
    2023-06-23

UglifyJS videos

No UglifyJS videos yet. You could help us improve this page by suggesting one.

+ Add video

Closure Compiler videos

Kevin Macdonald - How Closure Compiler can help protect your IP

More videos:

  • Review - Ильяс Кабиров — Google Closure Compiler — принцип работы и использование в современном фронтенде

Category Popularity

0-100% (relative to UglifyJS and Closure Compiler)
Web Application Bundler
62 62%
38% 38
Tool
58 58%
42% 42
Monitoring Tools
100 100%
0% 0
Code Analysis
0 0%
100% 100

User comments

Share your experience with using UglifyJS and Closure Compiler. For example, how are they different and which one is better?
Log in or Post with

Social recommendations and mentions

Based on our record, Closure Compiler should be more popular than UglifyJS. It has been mentiond 10 times since March 2021. We are tracking product recommendations and mentions on various public social media platforms and blogs. They can help you identify which product is more popular and what people think of it.

UglifyJS mentions (1)

  • Overview of the next-gen frontend dev tools
    There are many minifiers such as terser and uglify. But, because minifying also require to parse the JS, it is actually possible to use esbuild and SWC to minify the code. Here's a benchmark of the main minifiers. - Source: dev.to / over 1 year ago

Closure Compiler mentions (10)

  • [AskJS] Source Filename and Linenumber References in Translated Code
    I’m not exactly sure what you are trying to do but JavaScript Source Maps basically do this same thing with browsers and they use https://developers.google.com/closure/compiler/. Source: over 1 year ago
  • [AskJS] Is there a detailed comparison chart that shows what's supported in JavaScript ES5 versus ES6?
    I'm using the Google Closure Compiler. I believe it has similar capabilities. Source: over 1 year ago
  • Minimal test and performance check of new GHC Javascript backend
    In a real world scenario you'd probably run the resulting JS through Closure Compiler. It would be nice to see how that affects both code size and performance. Source: over 1 year ago
  • Predicting Google Closures (2013)
    Kind of funny that Google actually does have a product called the "Google Closure compiler". It creates different kinds of compilations though. https://developers.google.com/closure/compiler. - Source: Hacker News / over 1 year ago
  • Bro, can you help me with the problem? -friend from McDonalds
    Partially, depending on what's used it also optimizes the javascript code. See Google's closure compiler for more info. Source: about 2 years ago
View more

What are some alternatives?

When comparing UglifyJS and Closure Compiler, you can also consider the following products

JavaScript Obfuscator - JavaScript Obfuscator is a free online tool that obfuscates your source code, preventing it from being stolen and used without permission.

Terser - JavaScript parser, mangler, optimizer and beautifier toolkit for ES6+

YUI Compressor - Yahoo JS/CSS Compressor

DomainLockJS - Free code snippet to lock javascript files to your domain. Protect javascript code. Easy cut & paste script. Prevent unauthorized use of your scripts and deter code theft.

SonarQube - SonarQube, a core component of the Sonar solution, is an open source, self-managed tool that systematically helps developers and organizations deliver Clean Code.

Gnirts - Gnirts is a JavaScript library for obfuscating string literals by encoding them as different string literals.