🌐 How does the internet work?
Kids Ask · A real kid question, answered · Grades 2–6
The short answer
The internet is millions of computers connected together. When you send something, like a photo, your computer chops it into small pieces called packets. Each packet has a "to" address and a "from" address, called IP addresses. Machines called routers pass each packet along, one hop closer each time, until it reaches the other computer. That computer puts the packets back together in the right order.
📨 Send a message across the network
Press Send message to chop the message into 4 packets. Then press Next hop to move the packets one router at a time. Packets can take different roads! Try Cut a cable in the middle of a trip and watch the routers find another way.
This is a tiny model. The real internet has a huge number of routers, and real packets move in a tiny fraction of a second.
Dig deeper: packets, addresses and routers
Chopped into packets
The internet does not send a big file all in one piece. It splits the data into small chunks called packets, and the network "transmits one packet at a time." In one example from a Stanford University computer science class, a 50 KB picture becomes about 32 packets of 1,500 bytes each.
Every computer has an address
"Every computer on the internet has an "IP address" that identifies it (like a phone number)." Each packet carries two addresses: who it is from and who it is going to. Your computer usually gets its address from your home router automatically (Stanford CS106A).
Hop, hop, hop
Your computer is connected to a router, and that router connects to the wider internet. Each router looks at the "to" address and sends the packet "1 hop closer" to where it is going. No single router knows the whole trip, and "there is no "center" of the internet that knows everything" (Stanford CS106A).
Going around problems
Routers keep checking which links are working well. If a cable breaks or a link gets too busy, "the routers "route around" such damage automatically." Packets may even take different paths and arrive mixed up, so the computer at the end "puts all the packets back together in the right order" (Stanford CS106A).
✅ Quick check (3 questions)
🧪 Try this at home: a paper packet relay
You need 3 or more people. Write a short sentence on a strip of paper, then cut it into 4 pieces. Number each piece 1 to 4 and write "TO: (name)" and "FROM: (your name)" on each one. Hand the pieces to different helpers (your "routers"), standing in different spots around the room. Each router walks the piece one step closer to the person it is going to, then hands it on. When all 4 arrive, the receiver puts them back in number order. Did they arrive in order? Now try it with one "router" sitting out. Can the pieces still get there?
For grown-ups: keep scissors with an adult and keep paths clear. This is a good moment to talk about staying safe online. See our internet safety page.
Sources
We opened and checked each of these pages while writing this one.
Related: Internet safety for kids · Binary numbers · Unplugged coding games