Suggestions appear as you type. Use the up and down arrows to choose one and Enter to open it.

This page's audience our own tag's counts — open to see them
–Visits
–Page views
–Clicks to vendors
–Time on page
–Reading now
Clicks to vendors, by tool
  • –
Top countries
  • –
Devices
  • –

– · visits, page views and clicks counted by our own tag, which counts more than our checked analytics; every figure rounded down · how we count

Google Closure Compiler

Free#14 of 27 in JavaScript Build Tools

Google Closure Compiler: A free, open-source compiler for aggressive JavaScript optimization and analysis. Ranked #14 of 27 in JavaScript Build Tools by our editors (7.8/10); pricing: Free plan; best for aggressive JavaScript optimization.

7.8/10Editor score
Google Closure Compiler7.8 Visit Google Closure

At a glance

  • Editor score
    7.8 / 10
  • Pricing
    Free plan
  • Best for
    Aggressive JavaScript optimization
  • Free plan
    Yes
  • Paid from
    Free
  • TypeScript support
    No
  • Facts checked
    20 Sep 2026
Google Closure Compiler screenshot
  • Where it wins

    • Combines compilation, minification, rewriting, and dead-code removal
    • Includes syntax, variable-reference, and type checking
    • Offers code splitting, source maps, transpilation, and custom passes
  • Where it doesn't

    • TypeScript is not compiled directly
    • Requires module, annotation, and whole-application conventions
    • Its workflow centers on JavaScript compilation rather than general build tasks

Our verdict on Google Closure Compiler

Google Closure Compiler is an open-source JavaScript compiler for developers who want to transform JavaScript into smaller, more efficient output. It parses and analyzes code, removes dead code, rewrites and minimizes JavaScript, checks syntax, variable references, and types, and transpiles newer JavaScript features. The product is aimed at projects that can follow its module, annotation, and whole-application compilation conventions, making it a focused choice for aggressive JavaScript optimization rather than a general-purpose build tool.

Its feature set reaches beyond basic minification. Closure Compiler can split output into individually loadable chunks, generate source maps, and run custom compiler passes. It also combines tree shaking with compilation, rewriting, and checks for syntax, variables, and types. These capabilities suit applications where output size, code analysis, and controlled transformation are central requirements. JavaScript developers can work with the compiler through a Java command-line application, a Bazel library, or an NPM package, with Windows, macOS, Linux, API, and self-hosted usage available.

Google Closure Compiler is free and open source, so its pricing model fits teams seeking a self-managed compiler without paid plan distinctions. The main qualification is workflow compatibility: TypeScript is not compiled directly, and Google's TypeScript code is converted to goog.module() before Closure Compiler processes it. Teams that want deep JavaScript compilation, dead-code removal, code splitting, source maps, and custom passes should consider it; teams needing direct TypeScript compilation or a broader build workflow should choose an alternative.

Your product? Our editors can test Google Closure Compiler in depth and publish a review, labelled as paid · from $149/mo →

Google Closure Compiler pricing

Plans Free planFree Free to use — no paid tier required for the core job.
See plans on developers.google.com

Google Closure Compiler fact sheet

Free planYes
Paid fromFree
TypeScript supportNo
Code splittingYes
Tree shakingYes
Source mapsYes
Plugin APIYes
Remote build cacheNot verified
DeploymentSelf-hosted
PlatformsWindows, macOS, Linux
SupportDocs, Community
Built forSmall business, Mid-market, Enterprise (editorial estimate)
PricingFree plan
Websitedevelopers.google.com
Facts checked20 Sep 2026

Alternatives to Google Closure Compiler

See all Google Closure Compiler alternatives →

Used Google Closure Compiler? Be the first to review it

The editor score above is our own research. What this page doesn't have yet is a reader's view — what you used Google Closure Compiler for, what worked and what didn't. No stars are seeded and no review is paid for; an editor reads every one before it appears.

Write a reviewTwo minutes · verified accounts only · read by an editor before it appears

Reviews come only from verified accounts. Sign in or create an account first — your e-mail is never shown.

Your rating

0 characters · at least 80, up to 3,000

Posted from your verified account. Reviews appear after an editor reads them, usually within two working days.

Featured on iTechGuides

Featured on iTechGuides — Google Closure Compiler 7.8/10

Google Closure Compiler is listed in our JavaScript Build Tools directory. Add the badge to your site — it links back to this page.

<a href="https://www.itechguides.com/products/google-closure-compiler/"><img src="https://www.itechguides.com/best/badge/google-closure-compiler.svg" alt="Featured on iTechGuides" width="230" height="46"></a>

Reviewed by iTechGuides Editors · Editorial team · Updated Oct 2026

Advertiser disclosure: iTechGuides is reader-supported. Vendors can pay for top positions in our rankings and for a place on other products' pages, and we may earn a commission when you click some links. Bought places stand at the number bought; this page and our disclosure say so. Paying vendors may get a fuller, more detailed review from our editors, and that review can change their score. How we rank.

Last updated · How we research and update