# Babel

[BASE product page](<https://base.akulich.dev/en/library/babel/>) · [Resource](<https://github.com/babel/babel>)

ID: babel · Language: en
Schema version: 1 · Data version: cbbe7123b47a5ae80983

This is editorial data. An unknown field neither confirms nor rules out a capability.
dataVersion is a dataset fingerprint, not evidence of a recent fact check.

A JavaScript compiler with plugins and presets: it transforms project syntax for selected runtimes and supports creating code transforms\.

## Type

Build / code quality tool

## Entry type

tool

## Separate catalog

No

## [Access conditions](<https://base.akulich.dev/en/library/babel/#resource-access>)

free

## [What you can use for free](<https://base.akulich.dev/en/library/babel/#resource-access>)

Code and local use under MIT\.

## [Paid features and costs](<https://base.akulich.dev/en/library/babel/#resource-access>)

Computing resources, self\-hosting, and external services are paid for separately if used\.

## [Access and limitations](<https://base.akulich.dev/en/library/babel/#resource-access>)

Code and local use under MIT\. Computing resources, self\-hosting, and external services are paid for separately if used\.

## [Use cases](<https://base.akulich.dev/en/library/babel/#resource-tasks>)

- Transform JavaScript for target runtimes
- Choose presets and plugins and compare source code with compilation results

## Category IDs

- infrastructure
- quality

## Subcategory IDs

- infrastructure\.developer
- quality\.review

## Tags

- Babel
- build
- Development

## Also known as

- babel/babel
- babeljs
- babel\-compiler

## [Selection purpose](<https://base.akulich.dev/en/library/babel/#resource-selection>)

Transform JavaScript for target runtimes

## [Choose this when](<https://base.akulich.dev/en/library/babel/#resource-selection>)

- Transform JavaScript for target runtimes
- Choose presets and plugins and compare source code with compilation results

## [Requirements](<https://base.akulich.dev/en/library/babel/#resource-selection>)

- Define supported browsers or runtime versions and use documentation for the installed Babel version\. Align plugin/preset configuration with the bundler; TypeScript type checking and polyfills are configured separately from syntax transformation\.

## [Limitations](<https://base.akulich.dev/en/library/babel/#resource-selection>)

- Costs and limits of free use: Computing resources, self\-hosting, and external services are paid for separately if used\.
- Terms of use: MIT for Babel code: use, modification, distribution, and sale are permitted with the copyright notice and permission text retained; code is provided without warranties\. Dependencies and connected third\-party packages have their own licenses\.

## [Questions before use](<https://base.akulich.dev/en/library/babel/#resource-faq>)

### What can you use for free in Babel?

Code and local use under MIT\.

### What additional costs might arise with Babel?

Computing resources, self\-hosting, and external services are paid for separately if used\.

### What terms of use matter for Babel?

MIT for Babel code: use, modification, distribution, and sale are permitted with the copyright notice and permission text retained; code is provided without warranties\. Dependencies and connected third\-party packages have their own licenses\.

### How do you get started with Babel?

Define supported runtimes and required syntax transforms\. Set targets or an aligned Browserslist configuration for @babel/preset\-env; changing targets affects transform selection\. Choose presets and plugins and compare source code with compilation results\. JSX uses a separate React preset, while the TypeScript preset removes type annotations\. Consider required runtime APIs and polyfills separately; syntax transformation alone does not add every missing API\. Include the process in scripts or CI with a clear report\. A possible check runs the compiler, type checker, and tests separately in the target environment so successful JavaScript output does not conceal type errors\.

### What determines Babel's transformation result?

Babel transforms JavaScript based on the target environment and selected plugins/presets\. The README links to documentation and the REPL; check specific configuration against project requirements\.

### Does Babel replace TypeScript checking?

No\. Babel can remove TypeScript annotations and generate JavaScript, but it does not check types\. The documentation recommends separate TypeScript or Flow type checking; successful transformation does not establish type correctness\.

### How do plugins, presets, and targets differ?

Plugins define individual transforms; presets group them\. @babel/preset\-env maps selected targets to required transforms; the documentation recommends Browserslist for shared browser configuration\. Check installed\-version parameters: available options change\.

### Why does compiled code still fail in an older browser?

Syntax transformation and runtime API availability are separate concerns\. Babel describes polyfills through third\-party packages such as core\-js; appropriate configuration and actual environment testing are required\. A possible sequence identifies an unsupported API, checks targets, then adds the required compatibility and a test\.

## Sources for the selection guide

- [https://github\.com/babel/babel](<https://github.com/babel/babel>)
- [https://raw\.githubusercontent\.com/babel/babel/HEAD/README\.md](<https://raw.githubusercontent.com/babel/babel/HEAD/README.md>)
- [https://raw\.githubusercontent\.com/babel/babel/HEAD/LICENSE](<https://raw.githubusercontent.com/babel/babel/HEAD/LICENSE>)
- [https://www\.open\-source\-tools\.com/](<https://www.open-source-tools.com/>)
- [https://babeljs\.io/docs/](<https://babeljs.io/docs/>)
- [https://babeljs\.io/docs/babel\-preset\-env](<https://babeljs.io/docs/babel-preset-env>)
- [https://babeljs\.io/docs/babel\-plugin\-transform\-typescript](<https://babeljs.io/docs/babel-plugin-transform-typescript>)

## [Possible workflow](<https://base.akulich.dev/en/library/babel/#resource-scenario>)

Transform JavaScript for target runtimes\.

A possible workflow; this is not a report of hands-on testing.

## Before you start

- A repository, package manifests, and configuration\.
- A compatible runtime and the target build command\.
- Target browsers/runtime, JSX or TypeScript in source code, required module output, and a separate type\-checking command\.

## Steps

1. Define supported runtimes and required syntax transforms\. Set targets or an aligned Browserslist configuration for @babel/preset\-env; changing targets affects transform selection\.
2. Choose presets and plugins and compare source code with compilation results\. JSX uses a separate React preset, while the TypeScript preset removes type annotations\. Consider required runtime APIs and polyfills separately; syntax transformation alone does not add every missing API\.
3. Include the process in scripts or CI with a clear report\. A possible check runs the compiler, type checker, and tests separately in the target environment so successful JavaScript output does not conceal type errors\.

## Check your result

- A clean copy of the project reproduces the result\.
- Errors produce a nonzero exit code and clear diagnostics\.

## [License](<https://base.akulich.dev/en/library/babel/#resource-license>)

MIT for Babel code: use, modification, distribution, and sale are permitted with the copyright notice and permission text retained; code is provided without warranties\. Dependencies and connected third\-party packages have their own licenses\.

## License explanations for the specified scope

### MIT — permissive license

You can use, modify, distribute, and sell the code, including in a closed\-source commercial product\. When sharing copies or substantial portions of the code, retain the license text and copyright notice\. You do not need to open\-source your entire project; the author provides no warranties\.

[License terms](<https://opensource.org/license/mit>)

## [Sources](<https://base.akulich.dev/en/library/babel/#resource-sources>)

- [Official source](<https://github.com/babel/babel>)
- [Official source](<https://raw.githubusercontent.com/babel/babel/HEAD/README.md>)
- [License](<https://raw.githubusercontent.com/babel/babel/HEAD/LICENSE>)
- [Catalog / discovery source](<https://www.open-source-tools.com/>)
- [What Babel transforms and the boundaries of type checking](<https://babeljs.io/docs/>)
- [Targets, Browserslist, and preset\-env](<https://babeljs.io/docs/babel-preset-env>)
- [TypeScript: transformation without type checking](<https://babeljs.io/docs/babel-plugin-transform-typescript>)

## Editorial review date

2026\-10\-06

## Editorial review scope

The purpose, current repository license, and separate terms for code, services, and models have been reviewed\. The product was not run, and no security audit was performed\.

Dates refer to the stated editorial review, not hands-on testing, a product update, or a recent review of all sources.
