Skip to content
SPECIFICTION
Get listed

Babel REPL

babeljs.io

Web
Visit babeljs.io
Spec score 7.7 #12 of 27 in JavaScript Build Tools

Spec sheet

Purpose
Babel describes its REPL as a playground for learning how Babel transpiles source code.Read 8 Oct 2026 · babeljs.io
Integrations
Babel documentation names Webpack, Rollup, and Parcel as build systems that can transpile JavaScript ahead of time.Read 8 Oct 2026 · babeljs.io
Additional controls
The REPL page lists Evaluate, Line Wrap, Prettify, File Size, Time Travel, and Source Type controls.Read 8 Oct 2026 · babeljs.io
AST view
The REPL page offers an input AST pane alongside compiled output.Read 8 Oct 2026 · babeljs.io
Browser availability
Babel documents the site REPL as an example of a site that compiles user-provided JavaScript in real time.Read 8 Oct 2026 · babeljs.io
Compiler
Babel converts ECMAScript 2015+ code into backward-compatible JavaScript for current and older browsers or environments.Read 8 Oct 2026 · babeljs.io
Configuration limitation
Babel configuration files do not work in @babel/standalone because it has no filesystem access; presets and plugins must be passed through transform options.Read 8 Oct 2026 · babeljs.io
Custom transformations
Babel supports composing transformations from plugins and presets, including plugins users write themselves.Read 8 Oct 2026 · babeljs.io
Customization
Babel documents registering custom plugins and presets for @babel/standalone.Read 8 Oct 2026 · babeljs.io
Input and output
The REPL page provides code and compiled output panes.Read 8 Oct 2026 · babeljs.io
JavaScript and JSX
Babel supports transforming modern JavaScript syntax and JSX syntax.Read 8 Oct 2026 · babeljs.io
Presets
The REPL interface lists React, Flow, TypeScript, and stage proposal presets, along with an Env Preset section.Read 8 Oct 2026 · babeljs.io
Production guidance
Babel recommends using a Node.js build system such as Webpack, Rollup, or Parcel to transpile production JavaScript ahead of time instead of using @babel/standalone.Read 8 Oct 2026 · babeljs.io
Production limitation
The documentation says @babel/standalone normally should not be used for production and recommends a Node.js build system to transpile code ahead of time.Read 8 Oct 2026 · babeljs.io
Project status
Babel describes itself as maintained by a small group of volunteers and funded by the community.Read 8 Oct 2026 · babeljs.io
REPL controls
The REPL page shows code and output panes, Evaluate, Line Wrap, Prettify, File Size, Time Travel, Source Type, Targets, Presets, Options, and Plugins controls.Read 8 Oct 2026 · babeljs.io
REPL limitations
Babel's roadmap says the REPL does not support assumptions configuration or plugin options.Read 8 Oct 2026 · babeljs.io
Security and configuration limit
Babel states that standalone config files do not work because it has no filesystem access; presets and plugins must be specified in transform options.Read 8 Oct 2026 · babeljs.io
Standalone usage
Babel says @babel/standalone supports browser and other non-Node.js environments and can be installed through npm, Yarn, pnpm, or Bun.Read 8 Oct 2026 · babeljs.io
Standalone use
The @babel/standalone documentation identifies the Babel site REPL, JSFiddle, JS Bin, and JSitor as examples of sites compiling user-provided JavaScript in real time.Read 8 Oct 2026 · babeljs.io
Support channels
Babel’s site links to Stack Overflow and a Slack channel as community resources.Read 8 Oct 2026 · babeljs.io
Supported syntax options
Babel lists env, react, typescript, and flow among the popular built-in standalone presets.Read 8 Oct 2026 · babeljs.io
Transform settings
The REPL page includes settings for targets, the env preset, assumptions, and plugins.Read 8 Oct 2026 · babeljs.io
Transform targets
The REPL interface provides a Targets control whose displayed default is “defaults.”Read 8 Oct 2026 · babeljs.io
TypeScript and Flow
Babel can strip Flow and TypeScript type annotations, but its documentation says it does not perform type checking.Read 8 Oct 2026 · babeljs.io
Who it is for
Babel identifies prototyping with Babel and learning how it transforms code as uses for the standalone build and REPL.Read 8 Oct 2026 · babeljs.io

Where Specifiction places it

Alternatives to Babel REPLAll alternatives →