Run JavaScript Online

Execute your JavaScript code instantly with our powerful online runner. No setup required. Perfect for testing, learning, and prototyping.

Try it Now View Examples

Output

Documentation

Learn how to use the JS Runner effectively with our comprehensive documentation. Get started with examples, tips, and best practices.

all the code you write here will be executed in a sandbox environment, so you can safely test your JavaScript without affecting your local

Examples

Simple JavaScript code to Try

Run Button

Example 1


<h1>Hello World</h1>
<script>
document.write("Hello, Marstrx!");
</script>
            

Example 2


<button onclick="alert('Clicked!')">Click Me</button>