✦ KidsCode · Free coding for kidsLearn to code.
Make a little
awesome.
KidsCode is a free playground for curious minds. Guide a robot, snap code blocks together, make pixel art, and write real Python, right in your browser. Big ideas, tiny steps.
while curious:
try_something()
keep_going()
# You've got this!
made
by you.
Meet your programming
building blocks.
Variables, if/else, loops, lists, and more. Learn by snapping real programs together in 20 playful missions.
Fun coding activities
for kids, from the first click.
Start with a robot. Make your own art. Type your first line of Python. There’s more than one way to become a maker.
Give Bit a mission
Tell a little robot where to go. Collect stars and discover the magic of instructions and loops.
Think in pixels
A tiny square can be the start of something big. Build colorful pixel art, one coordinate at a time.
Meet real Python
Make your code talk, think, and repeat. Learn by changing real programs and seeing what happens.
A little code.
A big hello.
Computers need instructions. This one says: “show my message.” Choose a message and see what happens when you run it.
Pick an idea
Every great thing starts with a little “what if?”
Try. Tinker. Try again.
Mistakes are clues. Follow them somewhere fun.
print("I made this!")A preview of what print() does. Ready for real code? Try lesson one →
Don’t just play.
Make the thing.
A silly story machine
An otter. The Moon. Too many pancakes. Your code gets to tell the story.
PUT YOUR THINKING HAT ONBecome a bug detective
Spot the tiny mistakes. Predict what happens. Collect a few “aha!” moments.
YOUR NEW LITTLE SIDEKICKBuild a pocket robot
Give it a name, some energy, and a personality. Then teach it a new trick.
You bring the imagination.
We’ll bring the starting line.
Free coding for kids,
one small step at a time.
KidsCode is a free website where children learn programming by playing, building, and experimenting. Everything runs in a web browser. There is nothing to install and no account to create.
Who it’s for
Kids from about age 7 who wonder how computers follow instructions. Robot missions and pixel art need no typing. The Python trail suits confident readers and typists, often ages 10 and up. Grown-ups are welcome to tag along.
What kids learn
Sequences, loops, variables, if/else decisions, comparisons, lists, dictionaries, functions, and debugging. Many ideas show up twice: first as blocks you snap together, then as real Python you type.
How it works
Pick an activity and press Run. Progress, drafts, and pixel art are saved in the browser on your device. KidsCode works on computers, Chromebooks, and tablets; the block editor likes a bigger screen.
Pick a trail.
Start anywhere.
Two step-by-step coding courses for kids, plus games and creative tools. Each lesson takes about 5–12 minutes.
Block coding for kids
20 visual missions, from your first instruction to a complete algorithm.
- Sequences & output
- Primitive values & types
- Booleans & missing values
- Variables & assignment
- Arithmetic & expressions
- Comparisons
- If / else
- And, or & not
- Counted loops
- While loops & stopping
- Nested loops
- Lists & collections
- Indexing & zero
- Iteration over a list
- Records / dictionaries
- Stacks & queues
- Functions & reuse
- Input, processing & output
- Debugging & testing
- Your first complete algorithm
Python for kids
10 short lessons with real code that runs in your browser.
- Your first program
- Variables & strings
- Numbers & arithmetic
- Input & interaction
- If, else & decisions
- For loops & range
- Lists & indexing
- Functions & return
- Dictionaries
- Put it all together
More ways to play
Explore our learning apps
One good question leads to another. Discover more free, interactive learning tools from the same maker.
Interactive Periodic Table
Meet the elements. Explore their properties and mix compounds in the chemistry sandbox.
Explore chemistryAstronomy Lab
Follow an orbit, explore Moon phases, and discover the worlds beyond our own.
Explore spaceGeometry Lab
Move a point, solve a triangle, and watch angles, shapes, and formulas make sense.
Explore mathBiology Lab
Cross two parents, translate a gene into protein, and watch a population grow.
Explore biologyPhysics Lab
Launch a ball, catch a wave, and experiment with motion, forces, light, and electricity.
Explore physicsEarth Science Lab
Find an earthquake, move plates, carve a river, and follow water and rock through Earth’s cycles.
Explore earth scienceLittle questions. Helpful answers.
Is KidsCode free?
Yes. Every activity, lesson, and playground on KidsCode is free to use. There are no paid levels, subscriptions, or locked lessons.
Do I need to know anything about coding?
Nope! Start with Code Adventures. You can tap commands to guide Bit, with no typing needed. When you’re ready, the Python trail starts at the very beginning.
What ages is KidsCode for?
The visual activities are designed with roughly ages 7–10 in mind. The Python trail suits confident readers and typists, often ages 10 and up. These are starting points, not rules: pick what feels interesting and ask a grown-up for a hand.
Do kids need an account?
No. There is no sign-up or login. Completed activities and your playground draft can be saved in this browser on this device. Clearing browser data removes that progress, and it does not sync to other devices.
Can I really run Python here?
Yes. The Python playground runs real Python in your browser. Nothing to install. The first run downloads the Python engine, so it needs an internet connection and may take a moment.
Is KidsCode like Scratch?
It’s a similar idea: you snap blocks together instead of typing. KidsCode’s block lessons are built with Blockly and focus on programming foundations such as variables, decisions, loops, and lists. You can turn your blocks into Python when you’re ready. KidsCode is independent and is not part of Scratch.
Which devices work best?
A computer, Chromebook, or tablet with an up-to-date web browser. Robot missions, pixel art, and the Python lessons also work on phones. The block editor has more room on a bigger screen.