Skip to content
saltwaterbrc
Cloudflare Sandbox SDK

Code Playground

Write and run code in an isolated Linux container on Cloudflare's edge. Every execution runs inside a sandboxed environment — powered by Workers, Durable Objects, and Containers.

Press Shift + Enter to run • Tab for indent

Sample Code:

Output

Sandbox Output
 

How This Works

1

Code sent to Worker

Your code is securely transmitted to a Cloudflare Worker endpoint.

2

Durable Object manages the container

A Durable Object orchestrates container lifecycle and resource allocation.

3

Code runs in isolation

Your code executes in a fully isolated Linux container with limited resources.

4

Results stream back

Stdout and exit codes are streamed back in real-time via Server-Sent Events.

Powered by Cloudflare Workers & Durable Objects

Playground Visitors: -