Kodewick
Start learning →
Free · No sign-up · Runs in your browser

Write code and see every step

Run your code and watch variables, lists, pointers and the call stack drawn step by step. When it breaks, step back and see how it got there.

  • 6 languages
  • Runs in your browser
  • Export a GIF
  • Free forever
Playing by itself: pause or drag at any timeEdit this code →
6programming languages
7site languages
0installs or accounts
100%free
Pick a language

Every language, step by step

Each language has its own online compiler: write, run, then press Step to watch it.

What you see

Not just the output: the whole run

Most online compilers only print the result. This one draws every step.

Step forward, and back

Values, list cells, where each pointer points, the call stack growing and unwinding: drawn at every step. Drag the slider to go back to any step.

Step forward, and back

Stops where it breaks

Out of bounds, a dangling pointer, dividing by zero: the run stops on that line and says why in plain words. Drag back to see how it got there.

Stops where it breaks

Share it, teach with it

Export a run as a GIF, send a link, or copy an embed code into your slides or blog.

Share it, teach with it
Compare

How is it different from Python Tutor?

Python Tutor is the classic step-by-step visualizer, and we admire it. Here is what each does best.

KodewickPython Tutor
Site languagesEnglish, Chinese, Spanish, Portuguese, Japanese, French, GermanEnglish
Programming languagesPython, C, C++, Go, SQL, turtlePython, Java, C, C++, JavaScript
Where the code runsIn your browser: results right awayOn their server
What comes nextFree courses, challenges and an algorithm visualizerFocused on visualizing
Learning Java or JavaScriptNot yetA better fit
Keep going

Got it? Keep learning

Questions

Questions

Do I need to sign up or install anything?

No. Open the page to write, run and step through code; it is kept in your own browser.

How is it different from Python Tutor?

Both step through code. Kodewick also runs Go, SQL and turtle, runs the code in your browser, is in seven languages, and leads on to free courses and challenges. For Java or JavaScript, Python Tutor is the better fit.

Can I see C pointers?

Yes. Pointers are drawn as arrows to the variable or array cell they point at; malloc’d memory and linked lists are drawn too, and reading out of bounds or a dangling pointer stops on that line.

Does input work (input, scanf, cin)?

Yes. Type the input before you run; each read takes the next line.

How long can a program run?

When stepping, up to 20 million steps in Python, 5 million in C and Go, and 10 million in C++: far more than any exercise needs.

Does it work on a phone?

Yes. Open it in your phone’s browser to write code and step through it.

Can I put it in my slides or website?

Yes. Share lets you export a GIF, copy a link, or copy an embed code for your page.

Write some code. Watch it run.

Free, no sign-up, right in your browser.

Open the code visualizer →