How to Clear Computer Cookies

Cookes help websites remember your personal preferences, but clearing them can help you protect your online privacy. Here's how to clean up your computer cookies.
We receive compensation from the products and services mentioned in this story, but the opinions are the author's own. Compensation may impact where offers appear. We have not included all available products or offers. Learn more about how we make money and our editorial policies.

Although cookies are very useful to navigate the Internet, you need to know the basics of removing your cookie files so you can protect your privacy online. 

What can I do to clear cookies installed on my computer?

There are two kinds of cookies: regular text browser cookies and flash cookies. To ensure maximum web browsing privacy, you have to delete both kinds of cookies. 

Too many internet users delete cookies that are text-based and leave flash cookies intact. This doesn't protect your privacy. You have to delete flash cookies too.

But there's no one standardized way to remove cookies since different browsers clear cookies using different procedures. Since the vast majority of internet users access the web using Microsoft Edge (formerly Internet Explorer), Chrome, Firefox, Safari, or Opera, we'll focus on those.

What's my web browser?

We'll help you figure out which web browser you're using and how to clear cookies.

Microsoft Edge (formerly Internet Explorer)

For many years, Internet Explorer (IE) was the undisputed top browser in the market. These days, Mozilla's Firefox, Google's Chrome browser, and Apple's Safari have taken sizable chunks of the Internet Explorer — now called Microsoft Edge — market share.

Here's how to delete cookies in Microsoft Edge:

  1. Open Microsoft Edge and click the three dots in the top right-hand corner of the window.
  2. In the Settings menu, choose Cookies and site permissions.
  3. Under Cookies and data stored, click on Manage and delete cookies and site data.
  4. Under Cookies and site data, you'll see a set of three toggles. Below that, click the option to See all cookies and site data.
  5. You should now see all the websites that stored cookies for you. Click Remove all at the top of this page.
  6. You'll see a confirmation prompt to Clear site data. Click Clear.

For more details, check out our in-depth guide on managing cookies in Microsoft Edge.

Mozilla Firefox

Before going through the steps below, make sure you're using the latest version of Firefox. Doing this ensures that you benefit from the latest security updates offered by your browser. 

Keep in mind that the more popular a browser is, the higher the chance that it is being targeted for spyware or malware infection.

Here are the steps to delete cookies in Firefox:

  1.  Click the hamburger icon (three stacked bars) in the top right corner of your Firefox window to open the settings menu.
  2. Choose Privacy & Security.
  3. Scroll down to the Cookies and Site Data section.
  4. Click the Clear Data button.
  5. Make sure both options, Cookies and Site Data and Cached Web Content, are selected with a checkmark, then click Clear.
  6. You'll see a confirmation prompt asking if you're sure you want to clear all cookies and site data. Click Clear Now.

Still stuck? Our guide to managing Firefox cookies can help.

Google Chrome

Google Chrome is another popular browser, which makes it a larger target for spyware or malware. You can ensure your information remains private by clearing your Chrome cookies.

Here's how to delete your cookies on Chrome:

  1. Click the three stacked dots in the top right corner of your Chrome window and open the Settings menu.
  2. Choose Privacy and security, then select the Clear browsing data option.
  3. This opens a second window with Basic and Advanced options. You can clear your Chrome cookies on the Basic tab.
  4. Make sure Time range is set to All time and all three options, Browsing history, Cookies and other site data, and Cached images and files, are checked.
  5. Click the Clear data button.


Please note that if you change your cookie preferences in Safari or remove the cookies in your browser, this might remove or change the cookie settings for your other applications, including your Dashboard.

Here's how to clear cookies in Safari:

  1. Open Safari, then click Safari in the top left corner of your Mac screen.
  2. Choose Preferences, then Privacy.
  3. In the Privacy window, click the button that says Manage Website Data...
  4. Here you'll see a list of all the websites that stored cookie data. Click the Remove All button at the bottom of the window.
  5. You'll get a confirmation pop-up window asking if you're sure you want to remove all data. Click Remove Now.

Learn more about how to manage Safari cookies.


Originally marketed as a "fast" browser, Opera has developed quite a loyal, albeit small, following throughout the years. 

Follow these steps to manage your Opera browser cookies:

  1. Go to Settings, then click Advanced.
  2. Next, click on Privacy and Security.
  3. Once in the Privacy and Security window, click Clear browsing data...
  4. Make sure to choose "the beginning of time" in the first drop-down box.
  5. Check all options, including Browsing history, Download history, Cookies and other site data, Cached images and files, Passwords, Autofill form data, and Third party services data.
  6. Click the Clear browsing data button. 

Find more tips in our guide to clearing Opera browser cookies.

Unlimited Device Protection and Large Server Network
Editorial Rating
Learn More
On Surfshark's website
83% off + 3 months free
  • All-in-one VPN app with 24/7 protection thanks to 3,200+ RAM-only servers in over 100 countries
  • Real-time malware defense, webcam protection, alternative ID creation, ad blocking, and more
  • One subscription covers unlimited devices for your entire household with access to 24/7 support