Where to start
Choose by age: sorting games and Quick, Draw! for young children, AI for Oceans and Teachable Machine from about age 8, Machine Learning for Kids once a child can use Scratch, and Python for teenagers. Use your own drawings, objects or public examples, never personal photos or private information.
Free machine learning tools for kids, by age
Preschool to age 7: sorting games and drawing guesses
Young children need no special equipment. Sort toys or pictures by a rule you invent together, then ask how you would teach a robot to do it. Play a drawing game where the computer guesses, reading the prompts aloud, and talk about why it was right or wrong.
Real example: Quick, Draw!. Google's Quick, Draw! asks a neural network to recognise your doodle and adds drawings to a large doodle dataset shared publicly for machine learning research.
From about 8: train a model in a game
Children label examples, watch a model learn from them and see how their own choices change what it does. It needs no coding and works well as a first classroom lesson.
Real example: AI for Oceans. Code.org lists AI for Oceans for grades 3 to 12 as a one-hour lesson: you train a real machine learning model to identify sea creatures and trash in the ocean.
From about 8, with an adult: teach the computer your own examples
Children show the webcam a few examples of each thing, such as a thumbs up and a wave, and the computer learns to tell them apart. Then they test it and find where it fails, for example in different lighting.
Real example: Teachable Machine. Google's Teachable Machine trains on images, sounds or poses with no coding or account. Its FAQ says training happens in your browser tab, and samples are not sent to any server unless you save the project to Google Drive.
Scratch users, about 8 to 14: build games that learn
Once a child is comfortable in Scratch, they can collect examples, train a model and use it in a game or chatbot they build themselves. Beginner worksheets supply most of the code, so the focus stays on the machine learning.
Real example: Machine Learning for Kids. Dale Lane's free site has been available since 2017 and is used by schools, code clubs and families. His book of the same name (No Starch Press, 2021) is a paid companion with Scratch projects for ages 12 and up.
Teenagers: structured lessons, then Python
Teenagers can follow lessons that explain how models are trained and where they go wrong, then train their own models in Python on public datasets such as Palmer Penguins.
Real example: Experience AI. Developed by the Raspberry Pi Foundation and Google DeepMind, Experience AI offers free lessons for secondary school classrooms, with lesson plans, slide decks, worksheets and videos that also work in coding clubs.
How to start with Machine Learning for Kids
Yes, kids can learn machine learning, and you need only a web browser to start. Machine Learning for Kids runs entirely online with nothing to install, and its Try it now option needs no sign-up. These steps take a child from a first model to a Scratch game.
- Open the site and click Try it now. Go to machinelearningforkids.co.uk, click Get started, then Try it now. Every feature works without registering; you can keep one project at a time, and it is deleted after at least four hours.
- Teachers: set up a class account. Sign up as a teacher or code club leader to manage students from an admin page. An unmanaged class account uses API keys from your own free IBM Cloud account; for a managed one, you email Dale Lane to set it up.
- Pick a beginner worksheet. Open Worksheets and filter by difficulty. Beginner worksheets include most of the Scratch code already, and each project is written to last a single lesson.
- Train, test, then make. In Train, add examples for each label. In Learn & Test, train the model and try new examples. In Make, open Scratch 3 or Python and build the project, then add examples wherever the model gets things wrong.
- Move to Python. Teenagers ready for typed code can repeat the same ideas in Python with real datasets. Taught in the Python track of Foundations of AI
Machine learning tips for parents and teachers
If you're a parent or teacher
Parents and teachers do not need to know machine learning. Keep sessions short and hands-on, let the child choose what to teach the computer, and ask three questions each time: what did it learn from, what did it get wrong, and how could we fix it? Use your own drawings, objects or public examples, never photos of other people, and supervise webcam and microphone use.
If you work in machine learning
If you work in machine learning and want to help a school or code club, start from examples rather than code, and treat mistakes and fairness as part of the activity. Offer to run one lesson from an existing worksheet, such as Machine Learning for Kids' Fooled project on models that are trained badly.
Roles that do this work: Parent or carerComputing teacherCode club leaderSTEM outreach volunteer
Tools you will use
| Tool | What you use it for |
|---|---|
| Machine Learning for Kids | Dale Lane's free site: children collect examples, train models that recognise text, pictures, numbers or sounds, and use them in Scratch or Python. Try it now needs no account; teachers can create class accounts. |
| Machine Learning for Kids worksheets | Step-by-step project guides, each written to last one lesson, graded beginner, intermediate and advanced, with teacher's notes. |
| Teachable Machine | Google's no-code tool for teaching a computer your own images, sounds or poses from a webcam or microphone, with no account and training in the browser. |
| AI for Oceans | Code.org's one-hour activity for grades 3 to 12: label sea creatures and trash and watch a model learn from your choices. Runs on computers, Chromebooks, tablets and phones. |
| Scratch | Free block-based coding from the Scratch Foundation and MIT Media Lab, designed for ages 8 to 16, where children turn a trained model into a game or story. |
| Experience AI | Free lessons from the Raspberry Pi Foundation and Google DeepMind for secondary school classrooms and code clubs, with lesson plans, slides, worksheets and videos. |
Public data to practise on
- Quick, Draw! dataset: Doodles drawn by players of Google's Quick, Draw! game, browsable online by category, for talking about what the computer learned from.
- Palmer Penguins: Measurements of three penguin species, a friendly table for teenagers to invent a sorting rule and then compare it with a model.
Your first project
With an adult, open Machine Learning for Kids, click Get started, then Try it now: no account is needed, and the project is deleted after at least four hours. Download the beginner Make me happy worksheet from Worksheets, create a text project with one label for kind messages and one for mean ones, and type about ten examples of each. Train the model, test it with sentences it has not seen, then build the Scratch character that smiles or cries. Finish by finding a sentence it gets wrong and adding examples to fix it.
Keep the result, your code and a short note on what didn't work. That record is worth more than the score.