About

An online compiler that shows its working

Compilers.zubaer runs 21 languages in your browser, free and without an account. It was built to do more than print the output: it lets you watch a programme run, one line at a time.

Why it exists

Most online compilers answer one question: what does this programme print? A learner usually has a different one: why does it print that? Answering it normally means installing a compiler and a debugger and learning both. Here you press Step instead.

What you can do

  • Step through codeRun C, C++ and Python a line at a time, forwards and backwards, with each step explained in plain words.
  • See the memoryWatch variables change, follow the call stack through recursion, and see what a pointer points at.
  • Draw as you runUse Turbo C’s graphics.h, or Python’s turtle and matplotlib, and watch the picture build with the code.
  • Look inside a processorWrite 8086 assembly and watch the registers, flags, stack and machine code as each instruction runs.
  • Build a web pageEdit HTML, CSS and JavaScript with the page beside your code and its console underneath.
  • Query a databaseRun SQLite and PostgreSQL in the browser and read each result as a table you can export.
  • Run everything elsePHP, Java, C#, Go, Rust, Ruby, Bash, COBOL, Prolog and more run in a sandbox, with a live terminal for input.
  • Ask the assistantHave your code or an error explained, or get a suggested fix that you review line by line before applying it.
  • Keep your workShare a link that reopens your code as it was, or sign in to save programmes and return to them later.

How it works

The step debuggers, the 8086 emulator, the web preview and the SQL tools run entirely in your browser. Your code for those never leaves your device, and they keep working on a slow connection once the page has loaded.

The other languages are compiled and run on our server inside an isolated sandbox with limits on time, memory and network, and the output is sent back to you. The AI assistant sends your programme to an AI provider only when you press one of its buttons. The privacy policy sets out exactly what goes where.

Who it is for

Students learning their first language or revising for an exam, teachers who want to show a loop or a pointer on a projector, and developers who need to check a small idea without opening a project. It works on a phone as well as a laptop.

Who builds it

Compilers.zubaer is built and maintained by Md. Zubaer Ahammed, a senior full-stack developer. The step debugger and the 8086 emulator began as his Android apps and share their engines with this site. You can see more of his work at zubaer.com.

Good to know

The site is free. Runs have limits on resources and frequency, so it suits short programmes rather than long-running jobs. The step debuggers cover the parts of each language taught in a first course, and say so when a programme uses something they do not support; you can then run it on the server instead. The site is not affiliated with the language vendors. See the terms for the rules of use, or get in touch with a question.