Focus Editor
ctrl+j
Next Tab
ctrl+shift+j
Create File
Run Code
ctrl+enter
Login to Reset
Format Code
alt+enter
Edit the JavaScript modules above or replace them with your own code, then press Run. The program executes in a browser worker and prints console output below the editor.
Use it for modern JavaScript syntax, small module experiments, and debugging without installing Node.js or creating a project.
main.js, or add another .js module and import it with a relative path. .js files and import them from main.js. Build a stronger foundation with hands-on lessons covering JavaScript syntax, functions, objects, modules, and asynchronous programming.
Yes. You can edit and run JavaScript without installing anything or creating an account. An account is only needed to create a share link.
Yes. The code executes in a Web Worker in your browser. It is isolated from the page, so it does not provide the page's DOM or Node.js APIs.
Yes. You can work with up to five .js files and connect them with relative import and export statements.
No. This playground is intended for browser JavaScript and local modules. It does not include Node.js or an npm package installer.