Skip to content
Toolbento

JavaScript playground

Run JavaScript in a sealed sandbox and read what it logs to the console.

Everything stays on this device

JavaScript playground runs in your browser. The text and files you add are worked on by this device and are never uploaded, to us or to anyone else.

  • No uploads. The page is blocked from sending data to any other server.
  • No account, cookies, ads or tracking.
  • Fonts and scripts come from toolbento.app itself, so the page makes no requests to other companies.
  • Closing the tab clears your text and files from memory.

Read the full details on the privacy page.

Press Run, or Ctrl + Enter (⌘ + Enter on a Mac) while typing. The code runs in a sealed frame that cannot reach other sites.

Result

Console

  1. Messages from console.log and errors appear here.

Missing a feature or found a bug in JavaScript playground? Tell me on X (@_andrewtran) or by email.

How to use JavaScript playground

  1. Write JavaScript in the box.
  2. Select Run, or press Ctrl + Enter.
  3. Read your console.log messages and any errors in Console.

Questions and answers

Is my data sent anywhere?

No. Everything runs in your browser on this device. Nothing you paste is uploaded or stored.

Can my code call an API or load a library?

No. The frame is blocked from the network, so paste the code you need into the box.

Where are the other options?

This page opens Code playground with one choice already made. Every option of that tool is still here, and its own page says more about it.

Esc

Loading tools