Cookies are small files that websites put on your computer to store small bits of information. A cookie can keep you logged into a website by writing ID information to a cookie file. Cookies can also be used to store the items in your shopping cart.

However, not all cookies are used for benign purposes. A lot of cookies are used to track your online activity. Ad servers send cookies along with ads to identify viewers and track their habits. This information is used to build profiles of us as viewers that can be used to push relevant ad content at us whether we like it or not. Some of these tracking cookies may be able to actually tie your online activities to your real-world identity.

Managing cookies is part of a set of simple actions you can take to protect your information and your privacy. You can also easily clear the history of visited websites that each browser tracks if you don't want other users of your computer to see your online activities. Here's how to delete cookies in Chrome, Firefox, Internet Explorer, Microsoft Edge, and Opera.

NOTE: When deleting cookies in any of these browsers, you will not see a confirmation dialog box asking you if you're sure you want to delete all the cookies, so, make sure you do want to delete all of them. Remember, some cookies are useful in storing information for sites you visit often. Deleting cookies and website data will cause you to have to sign in again or enter information again on those sites.

Google Chrome

To manage cookies in Chrome, click the Chrome menu button (three horizontal bars) and select "Settings" from the drop-down menu.

01_clicking_settings_on_chrome_menu

The Settings screen displays on a new tab. Scroll down to the bottom of the page and click "Show advanced settings".

02_clicking_show_advanced_settings

In the Privacy section, click "Content settings".

03_clicking_content_settings

The Content Settings dialog box displays. In the Cookies section, click "All cookies and site data".

04_clicking_all_cookies_and_site_data

The Cookies and site data dialog box displays, showing you how many cookies have been saved for each site that saved cookies on your computer. Each site has buttons representing each of the cookies (the Channel ID is a channel-bound cookie) for the site. To delete an individual cookie from a site, click one of the buttons and then click "Remove". For example, we clicked the "id" button for the doubleclick.net site, a common advertising network. Details about the cookie display, including when the cookie expires.

05a_deleting_a_single_cookie

To delete all the cookies from that site, click the "X" button to the right.

05_deleting_all_cookies_for_one_site

To remove all the cookies for all the websites in the list, click "Remove All".

06_clicking_remove_all

When you're finished deleting cookies, click "Done" on the Cookies and site data dialog box and again on the Content settings dialog box.

07_clicking_done_on_cookies_and_site_data

If you know you want to delete all cookies and website data, not individually, there's a quick way to do this. On the Settings tab, click "Clear browsing data" under Privacy.

07a_clicking_clear_browsing_data_chrome

On the Clear browsing data dialog box, make sure the "Cookies and other site and plugin data" box is checked. You can also specify a time frame for which you want to delete the cookies from the drop-down list at the top of the dialog box. You can select from the past hour, the past day, the past week, the last 4 weeks, or the beginning of time. Once you're ready to delete all your cookies, click "Clear browsing data".

07b_clear_browsing_data_dialog_chrome

Mozilla Firefox

To manage cookies in Firefox, open the main Firefox menu (three horizontal bars) and click "Options".

08_clicking_options_in_firefox

The Options open on a new tab. Click Privacy in the list of items on the left side of the tab.

09_clicking_privacy

There are two ways to access the cookies saved on your computer, depending on which option is selected in the Firefox will dropdown list. If "Remember History" is selected, click the "remove individual cookies" link.

10_clicking_remove_individual_cookies

If "Use Custom Settings for History" is selected in the dropdown list, click the "Show Cookies" button on the right.

11_clicking_show_cookies

The Cookies dialog box displays showing a list of all the websites that have put cookies on your computer. Click the arrow next to a site name to view a list of the individual cookies placed by that site. To delete an individual cookie, select the cookie in the list, and click "Remove Selected".

12_removing_a_single_cookie

To delete all cookies for a specific website, select the website folder and click "Remove Selected".

13_clicking_remove_selected_for_an_entire_site

To delete all cookies for all websites in the list, click "Remove All".

14_removing_all_cookies_from_all_sites

When you are finished managing your cookies, click Close to close the Cookies dialog box.

15_closing_cookies_dialog

You are returned to the Options tab. Just like in Chrome, there is a quicker way to delete all cookies, too. Make sure the Privacy screen is active on the Options tab and click the "clear your recent history" link under History. This option is only available for the "Remember History" option, not when "Use Custom Settings for History" is selected in the Firefox will dropdown list.

15a_clicking_clear_your_recent_history

If the "Never Remember History" option is selected in the Firefox will dropdown list, the "clear all current history" link is available. The Never Remember History option causes Firefox to restart in private browsing mode.

15a1_clicking_all_current_history

Clicking either "clear your recent history" or "clear all current history" opens the Clear All History dialog box. Here you can select a Time range to clear.

15b_selecting_time_range_to_clear

Then, make sure the Cookies box is checked and then, click "Clear Now".

15c_clicking_clear_now

Internet Explorer

To manage cookies in Internet Explorer, click the gear button in the upper-right corner of the browser window and select "Internet options" from the drop-down menu.

16_selecting_internet_options_in_ie

The Internet Options dialog box displays. To view and delete individual cookies, click "Settings" in the Browsing history section.

17_clicking_settings_on_internet_options_dialog

The Website Data Settings dialog box displays. Make sure the Temporary Internet Files tab is active and click "View files".

18_clicking_view_files

Windows Explorer opens displaying the contents of the INetCache folder. By default, the files are displayed as tiles, but we need to display the details for the files so we can see the types of files. To display the details for the files, click the down arrow on the "More options" button above the list of files.

19_clicking_more_options

Select "Details" from the popup menu.

20_selecting_details

Scroll down until you find files labeled as cookies. They should have "cookie" in the Name and Internet Address. You can select one or more cookie files and delete them either by right-clicking on them and selecting "Delete", as shown below, or by pressing the Delete key. To permanently delete them, hold down the Shift key while you press Delete.

21_deleting_a_cookie

A confirmation dialog box displays. Click "Yes" if you're sure you want to delete the selected cookie(s).

22_delete_confirmation_dialog

Once you're finished deleting individual cookies, you can close the File Explorer window by clicking the "Close" button in the upper-right corner of the window.

23_closing_file_explorer

To delete all your cookies, first close the Website Data Settings dialog box by clicking either "OK" or "Cancel".

24_closing_website_data_settings_dialog

This brings you back to the Internet Options dialog box. Click "Delete" in the Browsing history section.

25_clicking_delete_under_browsing_history

To delete all the cookies and website data, check the "Cookies and website data" check box on the Delete Browsing History dialog box. Select any other desired options and click "Delete" to remove the selected items.

26_delete_browsing_history_dialog

You are returned to the Internet Options dialog box. Click "OK" to close it.

27_closing_internet_options_dialog

A popup message displays at the bottom of the IE window telling you that the selected browsing history has been deleted. There's an "X" button on the far right of the popup window you can click to close the message.

28_ie_finished_deleting_history

Microsoft Edge

Before we go into how to manage cookies in Microsoft Edge, we'd like to point out a major limitation of Edge. You cannot manage cookies by site or individual cookies, like you can in Chrome, Firefox, and Internet Explorer. All you can do is delete all cookies and saved website data.

That said, here's how to delete cookies and website data in Microsoft Edge. Click the More menu button (three horizontal buttons) and select "Settings" from the menu.

29_selecting_settings_in_edge

Under Clear browsing data, click Choose what to clear.

30_clicking_choose_what_to_clear

On the Clear browsing data pane, make sure the "Cookies and saved website data" box is checked and then click "Clear".

31_clicking_clear

A brief message displays at the top of the pane while the information is being deleted and again once the deletion is complete.

Opera

To manage cookies in Opera, select "Settings" from the Opera Menu.

32_selecting_settings_in_opera

The Settings screen opens on a new tab. Click "Privacy & Security" in the list of items on the left.

33_clicking_privacy_and_security

To delete individual cookies from certain sites, scroll down to the Cookies section and click "All cookies and site data".

34_clicking_all_cookies_and_site_data_opera

The Cookies and site data dialog box displays showing you how many cookies have been saved for each site that saved cookies on your computer. This will look familiar if you followed our instructions earlier for deleting cookies in Chrome. The process of deleting individual cookies in Opera is very similar to Chrome. Just like in Chrome, each site has buttons representing each of the cookies (the Channel ID is a channel-bound cookie) for the site. To delete an individual cookie from a site, click one of the buttons and then click "Delete". For example, we clicked the "id" button for the doubleclick.net site, a common advertising network. Details about the cookie display, including when the cookie expires. To remove this cookie, click "Delete".

35_deleting_a_single_cookie

To delete all the cookies from that site, click the "X" button to the right.

35a_deleting_cookies_for_a_site

To delete all the cookies for all the websites in the list, click "Delete All".

36_deleting_all_cookies

When you're finished deleting cookies, click "Done" on the Cookies and site data dialog box.

37_clicking_done_cookies_and_site_data_dialog

If you know you want to delete all cookies and website data, not individually, there's a quick way to do this. Scroll back up on the Settings tab, and click "Clear browsing data" under Privacy.

38_clicking_clear_browsing_data

On the Clear browsing data dialog box, make sure the "Cookies and other site data" box is checked. You can also specify a time frame for which you want to delete the cookies from the drop-down list at the top of the dialog box. You can select from the past hour, the past day, the past week, the last 4 weeks, or the beginning of time. Once you're ready to delete all your cookies, click "Clear browsing data".

39_clear_browsing_data_dialog_opera

If you have some sites you trust and want to have the convenience being able to log in quickly, you might want to delete only specific, individual cookies for certain websites and preserve cookies for sites with which you regularly interact. Sometimes cookies are placed on your computer by websites other than the one you are visiting. These are called third-party cookies. Some third-party cookies are alright and don't give cause for concern. But, a lot of third-party cookies are from advertisers and allow them to track your visits to other websites. You can easily block third-party cookies in the major browsers.

You may think you've gotten rid of all your cookies by following the procedures in this article. However, there is another type of cookie, called a Flash cookie, or a Local Shared Object (LSO), that you should also delete to stop websites from secretly tracking you.