Ages

Now you know how the internet works!

What next?

Try it yourself ↓

How does the internet work?

▶ 5:39 video · Watch on YouTube

  1. 0:00 Start
  2. 0:36 A network of networks
  3. 1:28 Chop it into packets
  4. 2:36 Names and numbers
  5. 3:24 Light under the sea
  6. 4:23 Cut a cable

Your turn

Send packets across the world

Send little letters!

Each lab is one step from the video. Send a message, drop a packet, look up a name, peel a cable and cut the links.

Each lab isolates one idea. The mesh is a toy network; routes are picked by shortest path with random delays. icann.org → 192.0.32.7 is ICANN's published example.

Tap the buttons and watch the envelopes.

1

A network of networks

Networks joined by routers

The helpers

Tap a network to light up its links. How many networks does one packet cross to reach the server?

Highlight each autonomous network. Which links join one provider to another?

Tap a button. Which helpers light up?

2

Chop it into packets

Packet switching and TCP repair

Little letters

Send “HELLO”, then drop packet 3. What does the receiver do about the gap?

Drop a packet in flight. Watch the receiver request a retransmission, and note the arrival order.

Send the letters. Tap one to lose it. What happens?

3

The internet’s phone book

A DNS lookup

Look up the name. What number comes back, and where do the packets go next?

Resolve the name, then watch the packets leave addressed to the IP, not the name.

A real, published pairing; addresses can change over time.

4

Inside a sea cable

Anatomy of a submarine cable

Inside the cable

Peel the cable layer by layer. Which layer actually carries your packets?

Peel the layers. Which carries data, and what are the others for?

Tap to peel the cable. Where is the light?

5

Cut a cable

Try to break the internet

Snip the roads

Tap links to cut them, then send. How many cuts until the message can’t get through?

Cut links to partition the graph. How much redundancy does the mesh have?

Tap a road to snip it. Send the letters. Do they still get there?

How does the internet work?

When you send a message, it zooms to your friend in a blink, even if they live across the sea. How?

Lots of little letters

Your message is cut into tiny parts. Each part goes in its own little envelope with an address on it, like a letter in the post.

A giant web of helpers

Your laptop talks to a box at home called a router. It passes the envelopes to more helpers, and they pass them on, all around the world. The envelopes can take different roads. At the end, they are put back in order, like a puzzle. If one gets lost, the computer asks for it again.

Light under the sea

To cross the sea, the envelopes almost always go through long cables on the sea floor, not through the sky. Inside are threads of glass as thin as a hair, and tiny flashes of light zoom through them.

Snip!

Sometimes a ship's anchor breaks a cable. Then the envelopes can usually take another road. There is no one boss computer, so the rest of the internet keeps going.

Did you know? Sharks hardly ever bite the sea cables. Ship anchors and fishing boats cause most of the breaks.

How does a VPN work? · ← More explainers

How does the internet work? The short answer

The internet is a giant network of networks: billions of computers, phones and servers linked together by cables, radio and routers.12 When you send a message, your device doesn't send it in one piece. It chops it into small chunks called packets. Each packet carries a label with where it's going, and routers pass it along, network to network, until it reaches the right address. There, the packets are put back together in the right order.611

Two shared sets of rules make this work: IP (Internet Protocol) gets each packet to the right computer, and TCP (Transmission Control Protocol) puts the pieces back in order and asks again for any that go missing.9 The whole trip across an ocean usually takes less than a second.11

What is the internet? A network of networks

Start at home. Your phone or laptop talks to your router, either by Wi-Fi (radio) or by a cable.5 A router is a small computer whose job is to forward messages between networks. The box in most homes is actually three things in one: a switch, a router and a modem.5

Your router connects to an internet service provider (ISP), a company that runs many more routers. Those routers link to other ISPs' routers, and they link to others, all over the world.5 The internet is simply all of these separate networks joined together. Each one can be built differently, and there is no central control room running the whole thing.1

Somewhere out there are servers: computers that store websites, videos and messages and send them out when asked.11 Big services live on many servers in many data centres, not one giant computer.6

What are packets, and what is packet switching?

Here's the key idea. Packet switching breaks a message into smaller pieces that travel independently over any available route and are reassembled at the destination.12 Imagine cutting a letter into strips and posting each strip in its own numbered envelope.11

Every packet has two parts:7

PartWhat it holdsPostal version
HeaderWhere it came from and where it's going (IP addresses); with TCP, also where it fits in the messageThe envelope with addresses and "page 3 of 5"
PayloadA small piece of the actual data: text, a slice of a photo, a bit of videoThe strip of letter inside

At each router, the header is read and the router checks its routing table, a list of paths, to pick the best next hop.8 Packets from the same message can take different routes and arrive out of order. The receiving computer puts them back together like a jigsaw puzzle.911

Why bother? Because packets from many different messages can take turns on the same link, many people can share the same cables at once. And where backup routes exist, packets can avoid a failed link or router.26

What do TCP and IP do?

IP is the addressing and delivery part. Each packet is individually addressed and sent towards its destination, but IP on its own doesn't check that everything arrived or that it's in order.9 TCP sits on top. It numbers the pieces, puts them back in order, asks for missing pieces to be resent, and lets the sender know the message got through.9 That "just send it again" design goes back to the very first plans for the internet: if a packet didn't make it, it would shortly be sent again from the source.1

Vint Cerf and Bob Kahn designed TCP/IP in the 1970s, and the ARPANET switched over to it on 1 January 1983.1

What is an IP address, and what does DNS do?

Every device on the internet has an IP address, a number that identifies it, like a postal address.511 The classic kind (IPv4) is 32 bits long and written as four numbers separated by dots, such as 192.0.2.172.516

People are bad at remembering numbers, so we use names. The Domain Name System (DNS) links a name to a number: ICANN's website is at icann.org rather than 192.0.32.7, which is how computers know it.3 That's why DNS is often called the phonebook of the internet.10 When you type a web address, your device first looks up the number, then sends its packets labelled with it. The organisation ICANN coordinates these unique names and numbers worldwide, but it doesn't control what's on the internet.3

Does the internet use satellites or undersea cables?

Mostly cables. To cross oceans, nearly all data travels through submarine fibre-optic cables lying on the sea floor.4 Inside them, lasers flash data as pulses of light down glass fibres roughly as thin as a human hair.4 Each fibre has a glass core wrapped in glass that bends light differently, which keeps the light trapped inside.13 The fibres are wrapped in plastic, and sometimes steel wire, for protection. Out in the deep ocean, a whole cable is only about as wide as a garden hose.4

  • TeleGeography tracks more than 600 active and planned submarine cables, and estimates that the cables already in service total over 1.5 million kilometres.4
  • One modern cable, MAREA across the Atlantic, can carry 224 terabits per second.4
  • Satellites carry only a tiny share: US FCC figures put them at just 0.37% of US international capacity.4
  • Even on your phone, the signal is only wireless as far as the nearest cell tower. After that, it travels through cables.4

What happens when a cable breaks?

Cable faults happen roughly 200 times a year. About two-thirds are caused by fishing boats and ships dragging anchors. Natural events such as earthquakes cause some too. Shark bites are extremely rare.4 Usually you don't notice, because networks spread their traffic across several cables: if one breaks, packets can travel over the others while the broken one is repaired. Where there are few backup cables, a break can cause slowdowns or outages.4 That's packet switching doing exactly what it was designed for.2

Are Wi-Fi and the internet the same thing?

No. Wi-Fi is just the short wireless link between your device and your router; wired and wireless networks work the same way.5 Your router then connects to your ISP, and that's what joins you to the internet. So you can have Wi-Fi without internet (your devices can still see each other at home), and you can use the internet without Wi-Fi (through a cable or mobile data).

Is the internet the same as the web?

No. The internet is the network, the cables, routers and rules that move packets. The World Wide Web is one service built on top of it: pages and links you view in a browser.5 Email, video calls and online games also run on the internet. The web was invented by Tim Berners-Lee at CERN in 1989,14 twenty years after the first message crossed the ARPANET.

Who invented the internet?

No one person. Several researchers developed packet switching in the 1960s, working separately at MIT, RAND and Britain's National Physical Laboratory.1 The US research agency ARPA (now DARPA) built the ARPANET, and the first computer-to-computer message went from UCLA to the Stanford Research Institute on 29 October 1969. By the end of that year, four computers were connected: at UCLA, SRI, UC Santa Barbara and the University of Utah.12 Bob Kahn's idea of joining many different networks, and the TCP/IP rules he and Vint Cerf designed, turned it into the internet.1 Today about 6 billion people, roughly three-quarters of the world, are online (ITU estimate for 2025).15

Common misconceptions

"The internet travels through space, by satellite." Almost all data between continents goes through undersea fibre-optic cables. Satellites carry about 0.37% of US international capacity.4
"Wi-Fi is the internet." Wi-Fi is only the radio link to your router. The router connects you to your ISP and on to the internet.5
"The internet and the web are the same." The web (1989) is one service that runs on the internet (which began in 1969).514
"One central computer runs the internet." It's thousands of independent networks, with no global control at the operations level.1
"Sharks keep biting through the cables." Most faults come from ship anchors and fishing gear; shark bites are exceedingly rare.4
"The ARPANET was built to survive a nuclear war." The internet's own founders call this a false rumour. Only an unrelated RAND study considered nuclear war.1

Staying safe online

The internet connects you to billions of people, and most of them you will never meet. So keep personal things private: don't share your address, phone number, school or where you are with anyone online, and if someone asks, or anything online feels scary, hurtful or wrong, tell a parent or another grown-up you trust.17

Keep exploring

Once you know how packets travel, see how a VPN sends traffic through an encrypted tunnel, or how AI works, including online AI services that answer from servers in data centres at the far end of these cables.

FAQ

How does the internet work, in simple words?

The internet is a huge network of networks. When you send something, your device chops it into small pieces called packets, each with an address. Routers pass each packet along, network to network, until it reaches the right address. The receiving computer puts the pieces back in order (that's the job of the rules called TCP).

Are Wi-Fi and the internet the same thing?

No. Wi-Fi is just the short radio link between your device and your router at home. The router connects, usually by cable, to your internet service provider, which connects you to the rest of the internet.

Can Wi-Fi work without the internet?

Yes. Wi-Fi can connect devices in your home to each other even if the router's link to your internet service provider is down. You just can't reach websites or anything outside your home network.

What keeps the internet running?

Thousands of independent networks run by internet service providers, companies, universities and governments, all following the same shared rules (protocols like TCP and IP). Groups like ICANN coordinate the names and numbers. No single computer or company is in charge.

Does the internet go through satellites or cables?

Mostly cables. Almost all data between continents travels as light through fibre-optic cables on the sea floor. According to US FCC figures quoted by TeleGeography, satellites carry only about 0.37% of US international capacity.

What is the difference between the internet and the web?

The internet is the network: the cables, routers and rules that move packets around. The World Wide Web, invented by Tim Berners-Lee at CERN in 1989, is one service that runs on top of it, along with email, video calls and games.

Who invented the internet?

No single person. Packet switching was developed in the 1960s by several researchers, the first ARPANET message was sent from UCLA in 1969, and Vint Cerf and Bob Kahn designed TCP/IP, the rules that let different networks join into one internet.

How can kids stay safe online?

Keep personal things private, like your full name, address, school or passwords, and don't share photos with people you don't know. If anything online feels wrong, scary or confusing, stop and tell a grown-up you trust.

Did this help it click?

Sources

  1. Internet Society, A Brief History of the Internet (Leiner, Cerf, Kahn, Kleinrock et al.)
  2. DARPA, ARPANET
  3. ICANN, What Does ICANN Do?
  4. TeleGeography, Submarine Cable Frequently Asked Questions
  5. MDN Web Docs (Mozilla), How does the Internet work?
  6. Cloudflare Learning Center, How does the Internet work?
  7. Cloudflare Learning Center, What is a packet?
  8. Cloudflare Learning Center, What is a router?
  9. Cloudflare Learning Center, What is TCP/IP?
  10. Cloudflare Learning Center, What is DNS?
  11. Washington State University, Ask Dr. Universe: How does the internet work?
  12. Encyclopaedia Britannica, Internet
  13. Encyclopaedia Britannica, Optical fiber
  14. CERN, The birth of the Web
  15. ITU, Facts and Figures 2025: Internet use
  16. Internet Society, If You See Something Online, Say Something
  17. IETF, RFC 791: Internet Protocol