A cookie is a small text file that stores Internet settings and is used by almost every website. The cookie is downloaded by your Internet browser when you access a website. It allows the website to recognise your device and store some information about your preferences or past actions.