Coding for Kids Online: Best Platforms by Age
In this article
The best online coding platform for a child depends almost entirely on age: Scratch (free, from MIT) suits ages 8-16, ScratchJr suits 5-7, and Code.org offers free structured courses for ages 4-18. For kids who already type comfortably and want a real language, platforms that teach Python or JavaScript through guided puzzles are the next step.
Below is how the main platforms differ, how to match one to your child, and what a realistic first month looks like.
The Main Free Platforms
Scratch is the safest starting point for most children aged 8 and up. Kids snap colored blocks together to make animations and games, so they learn loops, conditionals and events without typing syntax. It runs in a browser, projects save to an account, and everything is free.
ScratchJr is a separate app for ages 5-7 with bigger blocks and simpler logic, used on a tablet rather than a browser. Code.org is free and organizes material into courses by grade band, including an unplugged option for children too young to read fluently. Its Hour of Code activities are self-contained one-hour projects, which makes them a low-commitment way to test interest.
Paid Platforms and What They Add
Tynker and CodeMonkey are well-known paid platforms that add structured paths, voice guidance and a wider range of languages, including Python. They are worth paying for when a child has finished the free material and wants a longer, guided curriculum; they are not necessary for a first taste of coding.
Most paid platforms offer some free starter levels. Let the child complete those before subscribing, because the deciding factor is whether they return to it unprompted, not how polished the lessons look.
Matching Platform to Age
Ages 5-7
Use ScratchJr or Code.org's early-reader courses. Reading ability, not intelligence, is the limit here: block-based tools that use icons and audio instructions work, text-based ones do not.
Ages 8-11
Scratch is the default. A child this age can build a playable game in a few sessions, and the Scratch community lets them remix other people's projects, which is one of the fastest ways to learn.
Ages 12 and up
Move to text-based platforms teaching Python or JavaScript, often through game or puzzle formats. Typing speed matters: a child who types slowly will spend more energy on the keyboard than on the logic. If typing is weak, one more year of Scratch-style work is not a setback.
A Realistic First Month
Here is a worked example for a 9-year-old starting on Scratch with two 30-minute sessions per week.
Week 1: complete the built-in introductory tutorial (about 15-20 minutes), then spend the rest of the first session making the cat sprite move with arrow keys. Total time: 60 minutes.
Week 2: add one loop and one sound. The child now has a project with three core ideas: events, motion and repetition.
Week 3: follow a tutorial for a simple game such as a maze or a catch-the-object game. This typically takes one to two sessions.
Week 4: change the tutorial game into the child's own version, a different sprite, a new rule, a faster speed. This modification step is where real learning happens, because it requires understanding what each block does rather than copying it.
At 2 hours per week, that is roughly 8 hours in the first month, which is enough to reach independent small projects. Children who take to it will go further on their own; the schedule is a floor, not a target.
One Misconception Corrected
A common belief is that kids must start with a real language like Python or the results somehow don't count. The opposite is true: block-based platforms teach the actual concepts of programming, including variables, loops, conditionals and debugging, and the transfer to text languages is direct. A child who has built a year of Scratch projects picks up Python syntax quickly, because the syntax is the only new thing. Starting a 7-year-old on Python usually produces frustration with typos, not faster progress.
Supervision and Safety Settings
Scratch and Code.org are built for children and moderated, but set up the account yourself so you control the username and password. Use a first-name-only or invented username, and turn on comment settings you are comfortable with: Scratch lets you restrict comments on your child's projects through account settings, and labels can differ slightly by version. Sit nearby for the first few sessions for ages under 10, less to help than to see what engages them.
Screen-time rules work better as session-based than time-based: one finished project per session is a better stopping point than an arbitrary timer, because it ends on accomplishment.
How to Tell It's Working
The signal to watch for is self-initiated return. If, after four weeks, the child opens the platform without being asked, extends a project on their own, or explains a bug to you at dinner, the platform and pace are right. If sessions end in frustration twice in a row, drop the difficulty rather than the platform: go back one tutorial level, or switch to a project type closer to their interests, such as music, art or storytelling rather than games.
Interest, not age, decides how fast to advance. A motivated 10-year-old can be writing Python within a year; an uninterested one gains just as much from a slower pace, because the point is problem-solving habits, not a finish line.