Codetoy is a zero-boilerplate coding environment for building WebAssembly experiences directly in your browser.

At its core, Codetoy is built around CanvasRenderingContext2D, so if you’ve ever drawn something on an HTML canvas, you already understand the fundamentals.

AssemblyScript

AssemblyScript is a strictly typed subset of TypeScript that compiles to WebAssembly.

  • Familiar TypeScript syntax for web developers
  • Maps directly to WebAssembly features
  • Supports operator overloading!

AssemblyScript Docs →

C#

The C# playground runs modern .NET directly in the browser.

  • Full C# 14 language features
  • Familiar to Unity and .NET developers
  • Excellent for developers already familiar with C#

C# Docs →

New to Programming?

If you’re completely new to coding, Codetoy will make more sense after learning the basics.

I strongly recommend starting with Khan Academy's excellent Computer Science course.

KhanAcademy.org/cs →

Once you understand variables, loops, and functions, Codetoy is a great place to experiment.

Want to learn more?

Join the discord and chat with the community