Skip to main content
DevToys
Testers

JS & TS runner

Run JavaScript/TypeScript in the browser with stdin/stdout

Read stdin via fs.readFileSync('/dev/stdin') or input() · 5s timeout
Code
Standard output (stdout)
Output appears here
How to use / Notes

How to use

  1. Type JavaScript or TypeScript into the editor.
  2. Provide stdin if your code reads input.
  3. Run it and inspect the result and stdout.

Notes

  • Code runs in your browser and is not sent to any server.
  • Infinite loops or heavy work can freeze the tab.
  • Node.js-specific APIs and file system access are unavailable.