Offline engine (processed locally)JAVASCRIPT v1.0.0 Spec

ES5 to ES6

v1.0.0

Transform your legacy ES5 code into modern ES6+ JavaScript. This free online converter updates `var` to `let`/`const`, converts functions to arrow functions, uses template literals, and applies many other modern syntax improvements—perfect for refactoring older codebases. Works directly in your browser.

—ms
JAVASCRIPTInput (JAVASCRIPT)
lines: 1chars: 42Size: 42 BUTF-8
JAVASCRIPTOutput (JAVASCRIPT)
Converted output will appear here
lines: 0chars: 0Size: 0 BUTF-8
Size change: -100.00%TOML compliant: v1.0.0

Tool guide

Accurate conversion

Input is processed by this tool’s dedicated converter.

Local processing

Your input is processed in your browser and is not uploaded.

Ready-to-use output

Copy the result or save it as a file.