Programming has become an essential skill for grown-ups and children, and the internet is full of coding programs for kids. The benefits of learning to code are huge: Building simple websites and games helps kids refine their design, logic, and problem-solving abilities, and also allows them to express ideas and creativity in unique ways.
We’ve rounded up our favorite free learn-to-code games and programs for kids, plus the best paid options.
Find even more fun ideas for building children’s skills in our STEM and Science Experiments Guide.
MBlock teaches older kids several program languages. Image courtesy of mBlock
Free Coding for Kids Websites
Code.org
This nonprofit foundation’s website is an excellent starting point for coding novices. It shares plenty of useful online resources, apps, and even local schools that teach coding. The creator behind the Hour of Code movement that has led many tech companies to create free tutorials and basic programs accessible to all, Code.org’s own Hour of Code page for kids includes dozens of grade-level-based coding games, from Moana to Minecraft. What’s especially nice is how many activity options are accessible offline for kids with spotty internet.
Code Monster
Particularly useful to quickly demonstrate the very basic nature of what code is and how it works, Code Monster presents visitors with two adjacent boxes. One displays code, the other shows what the code does. As you play with the code (with some help from a prompt, and maybe a parent to begin with), you learn what each command does. if you have an older kid or ‘tween who gets the basics, try Code Maven, a sister site.
Code Galaxy
Code Galaxy is a full-service online coding school that offers virtual coding classes, summer camps, private tutoring, and more—but the company makes our free section because it also offers one or more free, live coding workshops every month. The themes change monthly, so it’s worth bookmarking so you remember to sign up for these fun, free events. Other programs at Code Galaxy, like courses on game development and design, web development, Python programming, and other STEM-related programs, are all available by signing up for one of the school’s monthly plans.
Scratch
Designed by MIT students and aimed at children ages 8 to 16, this easy-to-use programming language that is the foundation of many schools’ coding programs lets kids build almost anything they can dream up. There are no obscure lines of code here. Instead, arrange and snap together Scratch blocks as if they are virtual Lego (all with the help of a cheeky cat). It’s more than just a coding guide; it’s a vibrant online community of programmers who swap ideas and inspiration.
mBlock
Based on Scratch and its “building block” approach to code, mBlock offers a step up for older kids who want to learn Python, AI, and other skills, too. For kids who learn best by playing games, the platform is available for free on mobile apps, too.
Khan Academy
Known for its extensive and challenging math games, Khan Academy also has basic programming tutorials that teach kids how to build graphics, animations, interactive visualizations, and more. Its Hour of Code section is guided by an interactive video that guides users through the process of making a simple snowman, and links out to more advanced projects from there.
Swift Playgrounds
Designed by Apple for the iPad, Swift Playgrounds is a much more sophisticated-looking (but still simple to learn) version of Code Combat (see below), with the added benefit of being free. Best for ages 4 and up, Swift prompts kids to solve interactive puzzles in the guided “Learn to Code” lessons to master the basics of coding. Children can go on to experiment with a wide range of challenges that let users explore many unique coding lessons and experiences. It requires a Mac with an OS of 10.15.4 or higher, or an iPad with an OS of 13.4 or higher.
RELATED: 60+ Easy Science Experiments Kids Can Do at Home
Kids learn how to program their own games. Photo courtesy of Code Combat
Best Paid Learn to Code Websites for Kids
Note that many of these programs have free trials that allow kids to learn the basics of the platform or game before signing on to more substantial programming.
Codingal
Intro class and hackathons are free; classes and apps have various prices
Codingal offers K-12 students a platform to learn coding through one-on-one online classes and fun coding competitions and hackathons. The curriculum uses coding to help students develop problem solving and critical thinking skills through coding. Participation in hackathons and coding competitions is free of charge and gives students a chance to win certificates from prestigious universities.
CodeSpark Academy
7-day free trial, then membership $10-$13 per month
With CodeSpark Academy, kids learn how to code and develop valuable life skills while playing and having fun. Children see CodeSpark Academy as a game, while the wide-ranging interactive learning activities are designed to deliver education and coding instruction in a fun and accessible way. Membership includes unlimited access to hundreds of activities and weekly challenges for up to three children.
Create & Learn
8 free introductory classes; free coding events and tutorials available; classes vary by ages and session
Founded by tech experts from Google and Apple, Create & Learn online coding program offers a rigorous and fun curriculum for kids in grades K-12. Topics include Scratch, Minecraft coding, Python, robotics, cloud computing, and more. All classes are taught live online, with a project-based approach that encourages creativity and critical thinking. Online camps and periodic free events are also offered.
Codecademy
Basic classes are free, then plans start at $17.49/month
This interactive website is user-friendly and teaches kids basic code through fun, simple exercises that feel like games. To go beyond the basics, you’ll need to subscribe.
Code Avengers
Prices start at $20-$29/month following free trial
While Code Avengers lacks the eye-catching graphics of other options, it does offer a series of free intro classes in building web pages, apps, and games. Get started with the seven-day free trial, which grants access to the first five lessons in each course, ranging from Python to web development, JavaScript, and more. If you like what you see, purchase a membership plan.
Code Combat
Prices start at $99/year following a free trial
Best for older kids, Code Combat uses an interactive, competitive gameplay mode for its coding program for kids. The first game is free to try, but after that, parents need to purchase a subscription.
Code Monkey
Prices start at $6/month following free trial
Kids have to move a monkey around to solve problems, and get rewarded with stars as well as funny graphics and images along the way. Though a deeper dive into Code Monkey comes at a (still relatively affordable) cost, there are a substantial number of free challenges in the game to give kids a real experience without keying in the credit card.
Codemoji
Prices start at $15/month following free trial
Put those ubiquitous emojis to work educationally with this website that eschews complex codes for user-friendly expressions, quite literally: Kids learn to code by using emojis to substitute for HTML or CSS codes, and then can unleash their skills in the “playground” or “workshop” section of the site. Parents appreciate the clean, easy-to-follow design of the website.
Kodable
Prices start at $9.99/month or $79.99/year following free trial
Kodable has built a full-fledged coding curriculum for kids ages 4 to 10. Kindergartners can learn basic programming logic and build from there so that by the time they’re in fifth grade, they’re writing JavaScript code. Widely used in schools, Kodable is also available on iOS devices.
Stencyl
Starter program is free; or pay $99/year to publish work to your desktop as well as web
Inspired by Scratch’s snapping blocks system, this software allows users to create simple games for mobile or desktop devices. If your child is serious about it, there are paid pro plans that come with advanced functionality, including the ability to publish and sell your games. it’s best for kids ages 12 and up.
Tynker
Prices start at $25/month or $168/year after a free trial
Like many popular coding programs, Tynker works with interlocking blocks of code, making the language accessible to kids (5 to 17 is the recommended age range). Self-paced classes are split into recommended-age categories for easy entry points. Each child needs an account, but multi-child discounts are available, and there are occasional sales, too.
Kids can try self-paced classes with Tynker’s coding program. Photo courtesy of Tynker
Coding for Kids Apps for Phones and Tablets
In addition to the computer coding programs above, there are tons of great mobile apps if you’re looking to teach your kids to code on the go. This is just a short list of coding apps for phones and tablets that have gotten thumbs-ups from parents; more are being released all the time.
Code the Robot. Save the Cat
Code Masters Wonderwood
Code Karts
Cargo-Bot
Daisy the Dinosaur
Hopscotch
Grasshopper
Space Coders
This article was originally published in September 2013. Drew Kristofik and Kelley Heyworth contributed additional reporting.