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.
- Python
- JavaScript
- C
- C++
- Java
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
- There are no accounts, no passwords and no advertising.
- Your code and files stay in your browser. They are not uploaded unless you choose to send them in a bug report.
- To keep the site healthy, the server records technical request details (time, page, status, a network address) in a short-lived security and performance log. It does not log what you type or the code you run.
- If you send a bug report, we store exactly what you typed in the form, plus the browser details shown there. Network addresses are stored only as a salted hash.
Credits and licences
- Pyodide: Python in WebAssembly (Mozilla Public License 2.0)
- CodeMirror: the code editor (MIT)
- LLVM Clang and LLD, running as WebAssembly: the C and C++ compiler (Apache 2.0 with LLVM exceptions)
- TeaVM: Java in the browser (Apache 2.0)
graphics.pyby John Zelle, from Python Programming: An Introduction to Computer Science (GPL)