A cookie is a small, harmless text file that is stored on your browser when you visit almost any website. The cookie allows the website to “remember” your visit next time you browse that site. Although many people are not aware of this, cookies have been used for 20 years, ever since the first World Wide Web browsers came into existence.