The web is a messy, gigantic library where new books appear every second and old ones vanish without warning. Yet we can still find exactly what we want in a fraction of a second. This chapter shows how we turn that chaos into insight. We mine the content, links, and clicks of the web. And we build the search engines that make it all usable.