Closure Compiler  |  Google for Developers (original) (raw)

Stay organized with collections Save and categorize content based on your preferences.

What is the Closure Compiler?

The Closure Compiler is a tool for making JavaScript download and run faster. Instead of compiling from a source language to machine code, it compiles from JavaScript to better JavaScript. It parses your JavaScript, analyzes it, removes dead code and rewrites and minimizes what's left. It also checks syntax, variable references, and types, and warns about common JavaScript pitfalls.

How can I use the Closure Compiler?

You can use the Closure Compiler as:

To get started with the compiler, see "How do I start" below.

What are the benefits of using Closure Compiler?

How do I start?