UCI OnlineGDB

v0.21.0

About ZotGDB

A programming environment that opens in a browser tab: write, run and debug code with nothing to install and no account to make.

Why it exists

Learning to program should start with writing programs, not with installing compilers, fixing paths or configuring a debugger. ZotGDB gives every student the same working environment on any computer, including a school laptop or a Chromebook, and makes debugging a first-class skill: you can set breakpoints, step through code, and watch the call stack and variables change while a program runs.

It is built for introductory computing courses, labs and office hours, where the goal is to get students from "it does not run" to "I understand why" as quickly as possible.

What you can do

Run real code

Python, JavaScript, C, C++ and Java, with a terminal that accepts input while the program runs.

Debug visually

Breakpoints, step over / into / out, call stack, local variables and watch expressions.

Draw and animate

tkinter and John Zelle's graphics.py open a live window with animation, mouse and keyboard.

Work on projects

Multi-file examples with a file tree, a library browser and examples you can search and filter.

Safe by design

Your program runs inside your own browser, in a sandbox on a separate web origin, not on our server. The sandbox cannot read the page you are typing in, cannot reach other sites, and a time limit (that you can change) stops endless loops. The server only hands out the web page and its files; it never runs student code.

Your privacy

Credits and licences

Open the IDE Report a bug