New JsSandbox 0.6.0 adds a built-in AI assistant, a hybrid runtime, and 20 themes. See what’s new

v0.6.0 is here Free forever · MIT No account

Code at the speed of thought.

JsSandbox is a desktop JavaScript playground that runs your code as you type. TypeScript, JSX and TSX compile instantly. Node.js, the browser, npm packages and your own AI assistant are all one keystroke away.

Works offline No subscription ~130 MB installer v0.6.0
JsSandbox desktop editor running a canvas demo with syntax highlighting, the console showing REPL-style results, and a live browser preview.
Screenshot of JsSandbox showing a live canvas demo running in the browser runtime alongside the console output.
Runtimes
3 in one app
Themes
20 built in
AI providers
40+ your key
Subscriptions
$0 forever
  • JavaScript
  • TypeScript
  • JSX
  • TSX
  • npm
  • React
  • Node.js
  • Monaco
  • Prettier
  • Vim keys
  • Windows 10/11

Why a desktop playground?

Stop tab-switching. Start shipping small ideas.

A browser playground is fine for a snippet. A real desktop playground gives you the files, packages, runtimes and speed of your actual machine — without a subscription or a login screen.

Native speed, zero round trips

Code is compiled with esbuild and executed locally. No upload, no cold start, no queue. Results appear while you type.

Both sides of JavaScript

Run Node.js scripts, real browser DOM and canvas code, or both together in a hybrid runtime with a live DOM snapshot.

Your code stays yours

No account and no telemetry. AI is optional and bring-your-own-key. Keys are protected with OS secure storage, not a server you don't control.

Everything in the box

A playground that grew up.

Instant evaluation is the headline. The rest is the reason you'll keep it open all day: real editor intelligence, real packages, real runtimes, and a console that tells you the truth.

Instant evaluation. Literally while you type.

Turn on auto-run and every top-level expression prints its value in the console as soon as it runs. Or press Ctrl+Enter when you want control. Results stream, async work keeps going, and a runtime error no longer throws away the output you already earned.

// results update as you type
const team = [
  { name: 'Ada', commits: 128 },
  { name: 'Grace', commits: 142 },
]

team.sort((a, b) => b.commits - a.commits)
    .map(({ name, commits }) => `${name}: ${commits}`)
→ [ 'Grace: 142', 'Ada: 128' ]

Three runtimes. One status bar.

Switch a tab between Node.js, a sandboxed real browser, and Browser & Node.js. Every tab keeps its own language, runtime and output.

VS Code intelligence, no VS Code.

Monaco brings autocomplete, type checking, signatures, error lens–style diagnostics and package-aware TypeScript definitions. Hover a package and the editor knows it.

npm without leaving the app.

Install, inspect and remove packages in the current workspace with live npm output. Import them straight into a snippet; esbuild bundles the rest.

An AI assistant with your own key.

OpenAI, Anthropic, Gemini, Ollama, LM Studio and 40+ compatible providers. It sees your current code, answers questions and can replace or append a snippet. No key required to use JsSandbox.

A console that acts like a console.

Logs, groups, counters, timers, tables, object inspection, source-mapped errors and copyable entries. Errors get a line marker in the editor and a plain-English location in the console.

Beautiful by default, configurable by obsession.

Twenty themes, from JsSandbox Dark and Daylight to Dracula, SynthWave '84 and Monokai. Prettier formatting with every option exposed. Vim keys, ligatures, minimap, line wrapping, bracket colors and a layout that remembers itself.

Pick a side

Three runtimes.
One playground.

A browser tab for DOM and canvas. A Node.js process for files, APIs and real packages. A hybrid for the scripts that need both — without pretending either one is something it isn't.

  • Every tab has its own language and runtime selector.
  • Async output keeps streaming after evaluation finishes.
  • A 20-second runaway guard, plus Stop and Clear when you need them.
Ctrl + Enter to run the active tab

Node.js runtime

A dedicated Electron utility process with the full Node API. Read files from your working directory, import npm packages, and use top-level await.

1import { readFile } from 'node:fs/promises'
2
3const pkg = JSON.parse(
4  await readFile('package.json', 'utf8')
5)
6
7console.log(pkg.name, pkg.version)
8'Node + npm, locally'
Console Node.js
→jsandbox 0.6.0
→'Node + npm, locally'

Optional, local-first AI

Your AI. Your key.
Your data.

JsSandbox ships with an assistant, not a subscription. Connect the provider you already trust, or run a local model and send nothing outside your machine.

  • Keys stay on your machineStored per provider with Windows DPAPI or the platform's secure credential storage. Never exposed to the renderer after saving.
  • It sees the code in front of youAsk for a fix, an explanation or a new snippet. Apply the result by replacing the current code or appending it.
  • Cloud or completely localOpenAI, Anthropic, Gemini, Groq, DeepSeek, xAI, OpenRouter, Ollama, LM Studio, vLLM and any compatible endpoint.
OpenAIAnthropicGeminiMistralGroqOpenRouterDeepSeekxAIOllamaLM StudiovLLM+ more
JsSandbox AI assistant panel answering a greeting and offering Replace code, Append and Copy actions next to the editor.
Replace, append or copy — you stay in control

Make it yours

Twenty themes.
Zero judgment.

A playground should feel like your editor, not someone else's marketing department. Pick a look below — the real app ships every one of these and remembers your choice.

Try a theme

Open source, open book

Free is a feature, not a trial.

JsSandbox is MIT-licensed and built in the open. The app has no account and no telemetry, and no upsell modal. Unless you explicitly send code to an AI provider, the only person who sees your code is you.

MIT licensed

Read it, fork it, build it, ship it. The source is public and the license is permissive.

Local-first

Tabs, snippets, themes, settings and environment variables live on your machine and survive restarts. No cloud workspace required.

Updates, not nags

Checks GitHub Releases quietly. When a new version exists you can update now, remind me later, or skip that version.

Rajat Malik, creator of JsSandbox

Built by Rajat Malik

Senior lead software engineer and frontend architect with 15+ years of shipping products. JsSandbox is the scratchpad he wanted — so he built it.

Meet the developer

Before you download

The short answers.

Everything else lives in the guide and the full FAQ.

Is JsSandbox really free?

Yes. JsSandbox is free and open source under the MIT License. There is no subscription, license key, locked tier, account, or trial. You can inspect the source, build it yourself, or use the Windows installer.

Does JsSandbox work offline?

Yes. The editor, compilation, Node.js and browser runtimes, saved workspace, snippets, and themes all work locally without a connection. Internet access is only needed for installing npm packages, optional AI requests, and the automatic GitHub update check.

Which operating systems are supported?

A packaged Windows 10 and Windows 11 installer is available today. The Electron and electron-builder configuration also targets macOS and Linux, but Windows is the primary supported and tested platform at the moment.

Is my code or AI API key sent anywhere?

Your code and workspace stay on your machine. JsSandbox does not include telemetry. The optional AI assistant sends the context you choose to the provider you configure, and API keys are protected with the operating system's secure credential storage. The app checks GitHub Releases for updates unless you disable that check.

Your next small idea

One keystroke away.

Download JsSandbox for Windows, open the app, and start typing. No account. No subscription. No ceremony.

v0.6.0 · ~130 MB · Windows 10/11 · MIT License · No account required