Coding for Kids: Best Online Tutorials by Age
In this article
Scratch, Code.org, and Blockly-based tutorials are the best starting point for most kids ages 7-12, because they teach real programming logic through drag-and-drop blocks instead of typing. A 9-year-old can typically build an animated game in Scratch within two or three 30-minute sessions, moving a cat character with arrow keys and making it say words when clicked. Typing-based languages like Python come later, usually around age 11-13, once keyboarding is comfortable.
Age is the single most useful filter, so this page is organised around it: what to start with, how a first session actually runs, and where most kids stall.
Which Coding Tutorial Fits Which Age?
Platforms differ mainly in whether the child drags blocks or types code.
Ages 4-6: pre-readers
Apps and unplugged-style puzzles where a child snaps picture blocks together to move a robot through a maze. These build sequencing and direction logic before reading is fluent. Sessions of 10-15 minutes suit this age; longer sessions lose them.
Ages 7-10: Scratch and block coding
Scratch is the standard choice here. Kids snap coloured blocks for motion, looks, sound and control into stacks, and the code runs instantly. Code.org's courses cover the same ideas with a lighter, puzzle-driven structure and a clear progression from one-hour tutorials to full multi-week courses. Both are free.
Ages 10-13: the bridge to typing
Some kids stay happily in Scratch for years, and that is fine. Others are ready for typed code. A common bridge is a block-to-text environment, where the same program can be shown as blocks or as Python side by side, so the child sees that blocks and text are the same logic in two costumes.
Ages 13+ and confident typers
Python is the usual first typed language: its syntax reads close to English, and errors are less punishing than in many languages. Free browser-based editors mean nothing needs installing. JavaScript is the alternative when the goal is websites rather than general programming.
How a First Session Actually Works
Plan the first session as 30 minutes, at a shared screen, and aim to finish one small working thing rather than half a big one.
1. Pick one guided tutorial, not a blank project. A blank editor is the fastest way to lose a beginner.
2. Sit with the child for the first 10 minutes. Read the instructions aloud if reading is slow; the point is the logic, not the reading.
3. Let them drive the mouse or trackpad the whole time. Resist fixing things yourself; ask "what do you think that block does?" instead.
4. Finish with something that runs: a character that moves, a sound that plays, a maze level solved. A finished tiny thing beats an abandoned big one for motivation.
5. Stop while it is still fun, around the 25-30 minute mark for younger kids. Leave them wanting tomorrow's session.
After two or three guided tutorials, most kids want to modify what they built - change the character, add a score, make it faster. That tinkering stage is where real learning happens, so make room for it.
Where Kids (and Parents) Get Stuck
Four failure points cover most abandoned attempts.
Starting with text too early. A 7-year-old typing semicolons fights two battles at once: the logic and the keyboard. Blocks remove the second battle until typing is solid.
Tutorials too long. A course that promises 20 hours can feel like homework. Start with one-hour tutorials and let interest, not a curriculum, set the pace.
The parent takes over. Debugging a child's program for them teaches the parent to code. When something breaks, hand it back: "it says the block is missing - where should it go?"
No visible result. If five minutes pass without something on screen changing, attention is gone. Choose tutorials with instant feedback: every block placement does something immediately.
One more quiet trap: moving platforms too often. Each has different blocks and menus, and re-learning the interface costs a week of momentum. Pick one, stay 3-4 months, then reassess.
Signs Your Child Is Ready to Move Up
Look for these signals before switching from blocks to a typed language:
- They build projects with no tutorial at all, inventing their own goals.
- They use variables and loops without being prompted, or ask what they are.
- They complain that blocks are "babyish" or limiting.
- They type at roughly 15-20 words per minute without hunting for keys.
- They debug their own errors, or try two or three fixes before asking for help.
Two of these together is a stronger signal than any single one.
Rule of thumb to remember: blocks until they can type, Python until they have a project, then let the project pick the language. A kid who wants a game may end up in a game engine; one who wants a website ends up in HTML and JavaScript; the language follows the interest, not the other way round.
Free Versus Paid Kids' Coding Tutorials
The free tier covers most of the journey. Scratch, Code.org, and Blockly tutorials are free and were built for education, with child-safe communities and no ads in the editor. Free Python courses and browser editors cover the typed stage too.
Paid options - subscription courses and live online classes - mainly buy three things: a structured path through the material, a human who answers questions the same day, and a scheduled time that resists the pull of other screens. For a self-driven child, free is usually enough. For a child who stalls without a deadline or wants teammates, a paid class can be worth it.
Check any platform's account settings before your child joins: look for a privacy setting that limits who can comment on or view projects, and create the account yourself so you control the email and password. Menu labels differ slightly between versions, but a privacy or account section is present in all the major education platforms.
What Comes After the First Game?
Once the first animated project works, the natural next questions are these.
How often should sessions be? Two or three short sessions a week beat one long one. Twenty to thirty minutes each keeps momentum without fatigue, and spacing helps skills settle between sessions.
Can coding help at school? Block programming maps directly onto maths ideas - coordinates, angles, negative numbers - and onto the general skill of breaking a problem into ordered steps. Kids notice the connection themselves when a sprite moves using x and y.
When should they learn a second language? After one substantial finished project in the first language, not before. Concepts transfer; syntax does not, so switching early means relearning surface details twice.
What if they only want to make games? That is not a distraction - it is the engine. Game-making exercises loops, conditionals, variables and collision logic more naturally than most exercises. Follow the games.