Skip to main content

About Cantrip

Cantrip is a gamified coding academy built on one belief: learning to code should feel less like a textbook and more like a game. You write real code in your browser, it’s graded instantly, and you earn XP and keep streaks as you climb from Intern to Archmage.

Every lesson runs locally — JavaScript in a sandbox, Python via WebAssembly, SQL on an in-browser database — so there’s nothing to install and nothing to set up. The written content is free; the interactive game loop and AI tutor are what make it stick.

We also do something most coding sites don’t: we teach digital safety — a free course that helps people (and their families) spot scams and stay safe online. Because being good with technology shouldn’t require a CS degree.

22+

interactive courses

169+

hands-on lessons

3

languages, zero setup

Ready to cast your first spell?

Start learning free