⭐ 0🔥 0🏆 0 pts

How can my child start coding for free? A guide by age, from 5 to 12

For parents · 14 November 2026 · 8 min read

Free ways for a child to start coding, by age: ScratchJr and screen-free games at 5 to 7, Scratch and Code Club at 8 to 12, then real commands and Python.

The short answer, by age

Your child can start coding without spending a penny, at almost any age from five. The right first step depends less on the birthday than on two skills: how well they read, and how easily they find the keys.

Age (roughly)Free first stepWhat it builds
5 to 7ScratchJr on a tablet, plus screen-free “be the robot” gamesSteps in order, cause and effect
8 to 12Scratch in a web browser, a Code Club, or Experience CS at schoolLoops, decisions, making things
About 9 or 10 and up, once the keys feel easyReal commands in a practice terminal, then PythonExact instructions, files, reading errors
13 and upMore Python, a web page of their own, Git save pointsReal projects on a real computer

Treat these as starting points, not rules. The Raspberry Pi Foundation, the charity behind Code Club, suggests simple programmable toys from about four, Scratch from about six, and text-based languages at around nine or ten, when their skill with the keys is often good enough. A keen seven-year-old may race ahead, and a twelve-year-old who has never coded can begin at whichever row fits.

Ages 5 to 7: tablets and games without a screen

At this age, coding means putting steps in the right order and seeing what happens. Two free routes work well.

Try “be the robot” tonight. Your child gives you instructions for making a jam sandwich, one at a time, and you follow each one exactly as said. “Put the jam on the bread”, with the lid still on the jar, makes a lovely mess and a first bug. Then swap: you give the steps and your child is the robot.

DayOneCode is written for slightly older children, but a six- or seven-year-old who reads well can try Computers follow instructions beside you: a robot chef that needs exact steps too.

Ages 8 to 12: Scratch, Code Club and classroom units

This is the age for Scratch. Its Help Center says Scratch is intended for 8 to 16-year-olds, and that for most people the choice between ScratchJr and Scratch comes down to reading level and comfort with the keys. Scratch runs in a computer’s web browser and is free for everyone. It was developed at the MIT Media Lab in 2007 and moved in 2019 to the Scratch Foundation, an independent nonprofit.

Two more free options are worth knowing:

When to move to typed code

Blocks take away the hardest early chore: spelling. Typed code brings it back, and that is the real jump. Most children are ready when three things are true:

For many children that happens around nine or ten, which matches the Raspberry Pi Foundation’s advice. If the keys still feel slow, stay with Scratch for a while; it is not a step back. Commands are short, so a few minutes a day builds speed quietly.

Real commands in a terminal

Many courses jump from blocks straight to a programming language. DayOneCode starts one step earlier, with the computer itself: what a file is, how a folder is a drawer that can hold more drawers, and how a path works like a home address. Then your child talks to the computer in the terminal, the text window where you ask for exactly what you want: talking to the waiter instead of pointing at the menu.

Level 1 is free, has seven short lessons of five to ten minutes each, and needs no account, email or download. Every command runs in a pretend terminal inside the web page, so nothing your child types can reach your real files. Try five commands here, one at a time.

A pretend Windows PowerShell on a pretend disk. Type a command and press Enter. Nothing here touches your computer.

⌨️ Practice terminal
Try:

dir lists what is in a folder. cd images walks into the images folder and cd .. walks back up one. cat notes.txt shows what a file says, and python hello.py runs a program that prints Hello. They are real commands, spelt exactly as coders write them in PowerShell on Windows. What is a terminal? explains the rest for grown-ups.

Python, free and in the browser

Python is a good next step: for children ready for text, the Raspberry Pi Foundation’s age guide points to its own Introduction to Python path. Python.org calls the language friendly and easy to learn, and it is open source and free to use. Nothing needs installing to begin: DayOneCode’s Python levels run in a small Python box inside the page. Hello, Python! starts with a single print line, and by Guess the Number your child has written a real game with a random number.

When the box feels small, a grown-up can install Python on the family computer from python.org; do that step together. Python for kids covers what comes next.

What changed in 2025 and 2026

Many lists of free coding sites for kids are now out of date. Three changes matter:

The Hour of AI is about AI literacy, so look at each activity before your child starts: who made it, what age it is for, and whether it asks anyone to sign in.

Keeping it safe: accounts, privacy and AI

Free sites can still collect things. Before your child starts anywhere, ask: does it need an account, does it ask a child for an email or a real name, and can strangers chat with them?

Keep the computer in a shared room for the first few weeks, and sit in on the first lesson. To see where the course ends up, What is an AI coding agent? explains it for grown-ups. DayOneCode is independent and is not connected with Scratch, the Raspberry Pi Foundation, CodeAI, Google, the Python Software Foundation or Anthropic.

A free four-week plan

This plan suits a child of about 8 to 12 who has done a little Scratch, or none at all. Aim for one lesson of about ten minutes on most days. Each link opens the lesson, and none needs an account.

WeekLessonsBy the end, your child can
1Computers follow instructions, Everything is a file, Folders keep things tidy, and one “be the robot” gameExplain why a computer needs exact steps, and read a file’s ending like the label on a lunchbox
2Paths: every file has an address, Meet the terminal, Tidy and find, then the Level 1 testFind any file by its path and run first commands; Level 1 done
3Where am I?, Look around, Walk around, Build things, and a few laps of Command RacerMove between folders and make new ones by command
4Write and read, Speed tricks, The treasure mission, then the Level 2 testWrite and read files, use the Tab key and the Up arrow; Level 2 done

Each level ends with a test, a sticker and a free certificate. After four weeks, open the Stats page together: its Parent Progress part shows the lessons, stars and commands learnt, and prints on one page. Then carry on with Level 3, or jump to Hello, Python! if your child is itching to make a game.

Try it on DayOneCode

Questions and answers

Is there a free way for kids to learn coding?

Yes, several. ScratchJr and Scratch are free block-based tools, Code Clubs are free to join, and schools can use Experience CS at no cost. For real commands and Python, DayOneCode is free and needs no account. Be wary of “free” classes that are only a trial lesson for a paid course.

At what age should a child start coding?

There is no single right age. Screen-free sequencing games and ScratchJr suit children of 5 to 7, and Scratch suits most children from about 8. Text-based code usually works best from around nine or ten, once a child reads well and finds the keys without a long search.

Can a 10-year-old start coding?

Yes, and ten is a good age to begin. A ten-year-old can start with Scratch, or go straight to typed commands and Python if they read comfortably. DayOneCode’s Level 1 starts from zero, with seven short lessons about files, folders and the terminal, and nothing to set up.

How do I teach my child to code if I cannot code myself?

You do not have to teach the code. Choose a free course, do the first lesson side by side, then let your child explain each step to you: what did the computer do, and why? Keep sessions to about ten minutes on most days, and read any red error text together.

Are Google’s free coding classes for kids still running?

No. Google CS First was turned down on 30 June 2025, and the CS First data Google held was deleted. Its help page now points to Experience CS, free Scratch-based units for students aged 8 to 14, built by the Raspberry Pi Foundation with Google’s support. Ask your child’s school whether it uses them.

Does my child need an account to start coding?

Not always. DayOneCode needs no account, email or download, and progress stays in your browser. Other sites may ask for a sign-up to save work. In the US, sites aimed at children under 13 must, with a few exceptions, get a parent’s verifiable consent before collecting personal information, so make any sign-up together.

Sources

The facts on this page were checked against these pages (14 November 2026):

More from the blog

DayOneCode is an independent learning site, not affiliated with or endorsed by Anthropic. Claude and Claude Code are trademarks of Anthropic.