Go Playground

An interactive notebook for Go programming.
Write, execute, and share Go code with Markdown support.

Start Coding View on GitHub
Go Playground Screenshot

Three Cell Types

Markdown

Add rich text explanations with full Markdown support. Create tutorials, documentation, and presentations.

# Title
**Bold** and *italic* text
Global

Define imports and variables that are available to all script cells. Perfect for shared dependencies.

import "fmt"
var sharedVar = 42
Script

Write and execute Go code. Each script cell shares the same execution context, so variables and imports persist across cells.

fmt.Println("Hello, World!")

Features

Instant Execution

Execute Go code instantly with gVisor sandboxing. No setup required. Safe code execution environment.

💾

Save & Share

Save your notebooks as .goplay files. Share your code experiments easily with others.

🌙

Dark Mode

Comfortable coding in any lighting condition. Switch between light and dark themes easily.

How It Works

1

Add Cells

Click the + button to add script, markdown, or global cells. Arrange them in any order.

2

Execute

Run all cells or execute individually. See output instantly below each code cell.

3

Save & Share

Save as .goplay file. Open later or share with others to collaborate.

Ready to Start?

Open the app and start coding Go in your browser.

Launch Go Playground