
About Babel
Babel is an open source JavaScript compiler. It lets you write newer JavaScript syntax today and output code that runs in browsers and environments that do not support it yet.
What it does
Babel reads your source files, parses them into a syntax tree, applies plugins that transform the tree, and prints the result as JavaScript. Presets bundle common sets of transforms for particular targets, so you do not have to list each plugin yourself. Through its plugin system it can also handle TypeScript, JSX and other input formats.
Key features
- Converts newer JavaScript syntax into older output
- Plugin system for custom code transforms
- Presets for common targets and setups
- Source maps for debugging the output
- Works with build tools and test runners
Who it's for
Web developers who want to use recent language features while still supporting older browsers or runtimes. Library authors also use it to publish code in several formats.
Pricing and good to know
Babel is free and open source under the MIT license. It is maintained by a group of volunteers and funded by donations and sponsors. Check whether your project still needs it, since some build tools already handle these transforms.
Highlights
- Converts newer JavaScript syntax into older output
- Plugins for custom code transforms
- Presets that group transforms for each target
- Source maps that link output back to your code
- Works alongside common build tools and test runners












