CodeBench Playground
Loading...
</> CodeBenchbrowser coding bench
Runs in your browser

BUILD · CHECK · SHIP

Your pocket-sized code lab.

Write code, catch mistakes, run it safely in a worker, and ask AI for a clean fix when you hit a wall.

01run 02test AIrepair

EDITOR

Working file

Choose language
1
▶Run code ✓Test Compile & check
Load example Clear
Ready when you are.

CONSOLE

Results

×
_

Nothing running yet.

Press Run to see your program's output here.

          
✦

AI PAIR

Stuck? Bring in a second set of eyes.

Describe what you want, or ask for a repair. Your current file is included automatically.

Help me Your note ✦Ask CodeBench AI
SUGGESTIONApply to editor

        
01

Start smallUse the example as a quick sandbox.

02

Test the edgeAdd assert() calls to make checks repeatable.

03

Ask clearlyTell AI the behavior you expected.

CodeBench · a focused place to think in code.No setup required.