A JavaScript checker and optimizer
The Closure Compiler is a tool for making JavaScript download and run faster. It is a true compiler for JavaScript. 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.
Why people like Closure Compiler
Add a one-liner


Companies using Closure Compiler
Closure Compiler integrates with

Closure Compiler's Features
  • parses JavaScript, analyzes it, removes dead code and rewrites and minimizes what's left
  • checks syntax, variable references, and types, and warns about common JavaScript pitfalls
  • transpiling some ECMAScript 6 code to ECMAScript 3