21 languages · free · no sign-up
The online compiler that shows you how your code runs
Most online compilers print the output and stop. This one lets you step through C, C++, Python and 8086 a line at a time, forwards and backwards, and watch the variables, the memory and the picture change as you go.
- Runs in your browser
- Works on a phone
- Share by link
More than a Run button
See what the code does, not only what it prints
Step forwards and back
Run a single line, read in plain words what it did, then undo it and watch again. Breakpoints stop a run where you choose.
Try it in CVariables, pointers and memory
Every variable with its value before and after, the call stack for recursion, and a memory map that shows what a pointer points at.
Try it in C++Graphics that draw as they run
Turbo C graphics.h for circles, bars and animation, and Python’s turtle and matplotlib. The picture follows the code line by line.
Open PythonInside the processor
8086 assembly, assembled into real machine code. Watch the registers, the flags and the stack change with each instruction.
Open 8086Web pages and SQL, live
HTML, CSS and JavaScript with the page beside your code. SQLite and PostgreSQL with each result as a table you can export.
Open the HTML editorAn assistant that explains
Ask what your programme does, what an error means, or for a fix. Changes arrive as a comparison you review before applying.
Ask about your code
Languages
Pick a language and start typing
Step through it
Run one line at a time, forwards and backwards, and read what each line changed.
- PythonOnline Python compiler for scripts, stdin, and fast experiments.Step throughTurtlePlots
- COnline C compiler with GCC-style sandbox runs.Step debuggerMemory mapGraphics
- C++Online C++ compiler for competitive-style single files.Step debuggerMemory mapGraphics
- 8086 AssemblyWrite 8086 assembly, step through it, and watch the registers, flags and memory change.EmulatorRegistersMachine code
See it live
A page beside your code, or every query as a table. These run in your browser.
- JavaScriptRun JavaScript (Node) online with stdin and console output.Live previewNode
- TypeScriptCompile and run TypeScript online in a safe sandbox.Live previewNode
- SQLiteTry SQLite SQL online against an ephemeral database.Result gridSchema
- HTML, CSS & JSWrite HTML, CSS and JavaScript and see the page beside your code as you type.Live previewConsole
- PostgreSQLRun PostgreSQL queries in your browser and read each result as a table.Result gridSchema
Run it
Compiled and run in a sandbox on the server, with a live terminal for input.
- PHPRun PHP in the browser — scripts, strings, and quick checks.Sandbox runLive terminal
- JavaOnline Java compiler for a single public class.Sandbox runLive terminal
- C#Online C# compiler for short console programmes.Sandbox runLive terminal
- GoOnline Go compiler for small packages and stdin.Sandbox runLive terminal
- RustOnline Rust compiler for single-file experiments.Sandbox runLive terminal
- RubyOnline Ruby interpreter for scripts and quick demos.Sandbox runLive terminal
- BashRun Bash scripts online in an isolated shell.Sandbox runLive terminal
- COBOLOnline COBOL compiler for classic business-language demos.Sandbox runLive terminal
- PrologOnline Prolog runner for logic-programming examples.Sandbox runLive terminal
- KotlinOnline Kotlin compiler for console programmes on the JVM.Sandbox runLive terminal
- ROnline R compiler for statistics scripts and data frames.Sandbox runLive terminal
- LuaOnline Lua interpreter for scripts, tables and quick tests.Sandbox runLive terminal
How it works
From a blank editor to understanding, in three steps
Write or paste
Open a language and start from the sample, an example, or your own code. Nothing to install and no account to make.
Run, or step
Press Run for the answer, or Step to go one line at a time and read what changed. Type input when the programme asks for it.
Keep it or share it
Share a link that reopens your code exactly as it was, or sign in to save programmes and return to them on any device.
Open the editor and press Step
It takes a few seconds to see your first line explained.