Browser extension

Run code

There are two ways to get code into the extension.

From a page you are reading

  1. Select the code on the page.
  2. Right click, and choose Execute with JDoodle.
  3. The panel opens beside the page with your code already in it.
  4. Check the language and version, then choose Execute.

This works wherever the text can be selected, including an answer from an AI assistant.

By typing or pasting

  1. Choose the JDoodle icon to open the panel.
  2. Clear whatever is in the editor.
  3. Type or paste your code.
  4. Choose the language and version, then choose Execute.

You can edit the code in the panel either way, before or after a run.

Language and version

Both are dropdowns underneath the Execute button. Set the language first, because the version list changes with it.

The extension tries to work out the language from the code you paste. It is often right, but not always, so check it before you run. Setting it yourself is always faster than debugging a wrong guess.

Resizing the panel

Drag the edge between the page and the panel. The panel keeps the width you give it.

What to keep out of it

Treat the panel like any other editor on a shared screen. Do not paste passwords, API keys or tokens into code you are about to run, and be careful running unfamiliar code that reads files or makes network calls.

What next

Execution history keeps what you ran.

This website uses cookies to ensure you get the best experience on our website.