For javascript sandboxes, the first results are codesandbox/codesandbox-client (This repository is a comprehensive cloud-based web IDE and code execution platform that provides secure sandboxing, browser-based and server-side execution, npm package support, and live preview capabilities), dabbott/javascript-playgrounds (JavaScript Playgrounds is a browser-based execution engine that isolates untrusted code inside web workers with dynamic module loading, matching the core intent despite lacking server-side execution features) and cloudflare/sandbox-sdk (This is a secure containerized sandbox toolkit designed to run untrusted code at the edge, though it focuses broadly on server-side execution and AI agents rather than being specifically tailored for browser-based JavaScript playgrounds). jsbin/jsbin and stackblitz/core round out the shortlist. Compare the match explanations and check the project documentation against your requirements.
Explore the best open-source JavaScript sandboxes for secure code execution. Compare top GitHub repositories and find the right fit.
This project is a cloud-based web IDE and development workspace that provides a professional code editor and execution environments directly within the browser. It functions as a browser-based code execution engine for rapid prototyping and a scalable cloud workspace for managing repositories and writing code without local environment configuration. The system features secure sandboxing for isolated development, allowing untrusted or experimental code to run in separated virtual environments. It supports both client-side execution via browser-based bundling and server-side execution through a
This repository is a comprehensive cloud-based web IDE and code execution platform that provides secure sandboxing, browser-based and server-side execution, npm package support, and live preview capabilities.
Javascript Playgrounds is a browser-based code execution engine designed for running untrusted JavaScript snippets and managing interactive playgrounds. The system isolates user-submitted code inside dedicated web workers to prevent main thread blocking and protect the host environment, while supporting dynamic module loading that fetches external libraries and third-party scripts on demand. The platform includes architectural tools for mobile device simulation, rendering application output inside configurable viewport wrappers with adjustable platform dimensions and status bar styling. Debug
JavaScript Playgrounds is a browser-based execution engine that isolates untrusted code inside web workers with dynamic module loading, matching the core intent despite lacking server-side execution features.
The sandbox-sdk is a development kit designed for building secure, isolated execution environments on a global edge network. It provides a framework for creating ephemeral, containerized workspaces that allow developers to run untrusted code, manage build tasks, and host automated scripts without compromising host system security. By leveraging a serverless runtime, the platform enables the deployment of these environments directly at the network edge to ensure low-latency performance. The platform distinguishes itself by integrating language models with sandboxed execution, facilitating the
This is a secure containerized sandbox toolkit designed to run untrusted code at the edge, though it focuses broadly on server-side execution and AI agents rather than being specifically tailored for browser-based JavaScript playgrounds.
JSBin is a collaborative JavaScript playground and online frontend sandbox for writing, executing, and debugging web code. It provides a real-time code editor and an integrated environment that instantly renders HTML, CSS, and JavaScript with a live preview. The platform is designed for live coding demonstrations and pair programming, featuring a broadcasting environment that transmits keystrokes and code changes to other users instantly. It supports real-time synchronization for multiple developers through shared live sessions and includes a transpilation tool to convert alternative programm
JSBin is an online frontend sandbox and collaborative code playground that features live code execution and an integrated editor, though it focuses primarily on browser-based frontend development rather than secure server-side isolation.
Online IDE powered by Visual Studio Code ⚡️
This online IDE provides an isolated browser-based environment for running JavaScript code and features code editor integration, though it focuses more on full project workspaces than lightweight sandboxing.
Sandbox is a cloud-based development environment that provides web-based code editing directly within the browser without requiring local machine setup. It runs full Linux development environments inside remote execution containers, supplying an isolated sandbox for each workspace to safely run interactive terminals and live application previews. The platform integrates artificial intelligence capabilities to accelerate daily coding workflows, featuring an automated code assistant that generates intelligent code completions and custom recommendations as users type. Additionally, it supports m
This cloud-based development environment provides browser-based code editing and isolated containerized workspaces, fitting the sandbox category well despite leaning more toward full IDE workspaces than lightweight code snippet execution.
A nifty javascript sandbox for node.js.
This repository is a JavaScript sandbox designed for safe execution in Node.js, fulfilling the server-side execution and code isolation aspects of your search, though it lacks browser-based execution and built-in UI editors.
Runestone is a web-based code editor component and rendering engine designed for browser-based text editing. It functions as a customizable interface that handles the visual representation of code, including line numbering, indentation, and line wrapping. The project features a rule-based syntax highlighting engine that applies colors to text ranges based on language grammar definitions. It also includes a regex-based text search engine that locates specific patterns and applies visual highlights to matching character offsets. The editor manages text input through automatic character pairing
This is a native iOS code editor component built in Swift rather than a browser-based or server-side JavaScript sandbox for executing code safely.
Monaco Editor is a web-based text editing component designed to provide advanced syntax highlighting, code completion, and language intelligence within browser environments. It functions as a reusable interface element that enables developers to integrate professional-grade coding experiences into web applications. The editor distinguishes itself through a native client for the Language Server Protocol, which connects the interface to external analysis tools for deep diagnostics and refactoring capabilities. It utilizes a memory-efficient, declarative text buffer to manage large documents and
Monaco Editor provides the browser-based code editing interface often used in sandboxes, but it is purely an editor component and lacks the secure execution environment or backend runtime needed to actually run JavaScript code.
monaco-react is a React component wrapper for the Monaco Editor, providing a declarative way to embed a browser-based text editor into web applications. It includes components for standard code editing with syntax highlighting and a specialized diff editor for side-by-side version comparison. The project enables the integration of syntax validation to flag errors and provides mechanisms for managing multiple files through unique model identifiers, which preserve undo history and selection states during switches. It allows for custom asset loading via CDN or local paths and provides access to
This repository provides a React wrapper for the Monaco code editor, serving as a building block for code editing rather than a complete isolated execution environment or sandbox.
rlm is an LLM code execution engine and orchestration framework designed to coordinate multiple language model calls and recursive sub-tasks through a programmable environment. It provides a sandboxed REPL environment and a recursive context processor to handle inputs that exceed standard token limits by programmatically decomposing prompts. The project differentiates itself through a reinforcement learning training harness used to teach models how to utilize recursive calls and code execution. It includes a reasoning visualization system that records and renders execution trajectories to ana
This repository is an LLM orchestration framework and code execution engine for language model agents rather than a JavaScript code sandbox for web development or online code editors.
| Repository | Stars | Language | License | Last push |
|---|---|---|---|---|
| codesandbox/codesandbox-client | 13.6K | JavaScript | NOASSERTION | |
| dabbott/javascript-playgrounds | 1.4K | TypeScript | NOASSERTION | |
| 1K |
| TypeScript |
| NOASSERTION |
| jsbin/jsbin | 4.4K | JavaScript | MIT |
| stackblitz/core | 10.8K | — | MIT |
| ishaan1013/sandbox | 1.4K | TypeScript | MIT |
| gf3/sandbox | 853 | JavaScript | ISC |
| simonbs/runestone | 3.1K | Swift | mit |
| microsoft/monaco-editor | 46.2K | JavaScript | MIT |
| suren-atoyan/monaco-react | 4.6K | TypeScript | mit |