Processed locallyJavaScriptWeb WorkerSandboxRuns locally
JavaScript console
Learn and test JavaScript in your browser with console, Promise, async / await and return values. Code runs in an isolated Web Worker with timeout and output limits.
JavaScript console
Runs in an isolated Web Worker with console, Promise and async / await.
Code
Ctrl / Cmd + Enter to runConsole output
Run the code to see console output and return values here.
Execution safety boundary
Code runs in an isolated Web Worker without access to the page DOM, parent window, cookies or localStorage. fetch, WebSocket, XHR, importScripts and storage APIs are disabled, with timeout and output limits. This reduces risk but is not a hardened boundary against malicious code; do not run untrusted code or paste real secrets.