Cookie Cookies are data files written to your hard drive by some Web sites when you view them in your browser. These files can contain information the site can use to track such things as passwords, lists of pages you've visited, browsing habits or can store information from a shopping cart.