211 free lessons

Skip to main content

Learn to code for free

We're a student-run nonprofit. Start with Python, try a web project, or learn to build with AI at your own pace.

New to coding? Start with Python lesson one →

Hi, I'm Koda. Tap to say hello.

  • 6,000+

    Students Reached

  • 150+

    Countries

  • 30+

    Languages Taught

  • 20k

    Minutes of Teaching

  • 100%

    Free to learn

Two courses to start with

Both courses are free.

Python for Complete Beginners

Write your first Python programs and practise with variables, loops, and functions.

Enrol free →

Vibecoding 101

Build apps with AI tools like Cursor and Copilot while you learn how the code works.

Enrol free →
In the classroom
Hands-on learning
Smiling student
Students coding

Photos from our workshops

Our volunteers teach in classrooms and at community events. Tell us what your group would like to learn.

Host a workshop

CodeWithPurpose India

Find coding workshops in India or ask how to set up a chapter at your school or college.

Congressional Recognition · 2026

Tremendous leadership and service to your community.

Representative Mark DeSaulnier of the U.S. House of Representatives recognised CodeWithPurpose for our work bringing free coding education to students in more than 150 countries.

Representative Mark DeSaulnier · March 4, 2026

See what we're making

Short lessons, student stories, and the work happening behind free education.

View all videos →

New videos are on the way

Follow along while we bring our lessons and workshops to the screen.

Follow on Instagram

What students and families usually ask

Still have a question? Contact us.

Why we keep it free

“Every dollar helps us build a more inclusive future where code is a tool for good. Whether it's $5 or $500, you're helping a student start learning today.”

Shreyan, Samanyu & Bruhatt

Teach with CodeWithPurpose

Help run a workshop, mentor a student, or contribute to a course.