PCMag editors select and review products independently. If you buy through affiliate links, we may earn commissions, which help support our testing.

How to Control and Delete Cookies on Your Browser

Most of the time, cookies are a good thing, but they can also track you. Take control of a tiny bit of your online privacy by blocking, deleting, and allowing only select cookies.

 & Eric Griffith Senior Editor, Features

Our team tests, rates, and reviews more than 1,500 products each year to help you make better buying decisions and get more from technology.

Our Expert
LOOK INSIDE PC LABS HOW WE TEST
65 EXPERTS
43 YEARS
41,500+ REVIEWS

Cookies—what could be wrong with such deliciousness? Well, even a certain monster on Sesame Street is less into gluten these days. Maybe that's because his beloved snack food had its name co-opted back in the 1990s by the little data files that websites use to improve your experience...and track your activity.

Cookies get stored on your computer when you use a web browser. The cookie file gets read by the server on the other end of the connection. Most of the time, cookies are a good thing—without authentication cookies, you'd constantly be entering usernames and passwords as you visit websites, over and over, on every page. Cookies also make it possible for online shopping carts to work without losing all your items before purchase.

But, cookies can also be used to track you. When you visit a site, you may not get a cookie from just the server for that site, but also a tracking cookie from the advertisers on that site—that's called a third-party cookie. Those can be used to look at where you're going whenever you visit a new website—tracking your moves, so to speak. This has long had privacy advocates up in arms, even though cookies typically do not collect any personalized information. They're bad enough that Mozilla is blocking them by default in Firefox, and Google claims it'll phase them out entirely in a couple of years from the Chrome browser.

The problem is, blocking or deleting all cookies is almost crippling to your web adventures. Yet letting every single cookie through compromises your privacy. So what do you do?


One option is to nuke all existing cookies. Then you can take some control back. How you do it depends on the desktop or mobile browser you're using. Google Chrome and Firefox users should consider the Click&Clean extension (below) and use it to take care of cookies.

Click&Clean (Click&Clean extension)

But there are manual methods.

Take advantage of the built-in controls in each browser to limit the cookies you receive. At the very least, always block the third-party/advertiser cookies. It's not foolproof, as advertisers can find ways around that simple option, but it's a start. There are many extensions that help you control cookies on browser like Firefox and Chrome. Check out their respective web stores/repositories for options.


Google Chrome (Desktop)

Click the three-dot icon menu in the upper-right corner to get the Chrome menu, and select More tools > Clear browsing data. In the pop-up box, check off the third and fourth boxes to delete cookies and clear cached images and files. Just pick a timeframe from the menu at the top.

Clear Browsing Data

To manage the cookies in Chrome, type "chrome://settings/content/cookies" in the omnibox (without the quote marks). Tell Chrome to allow data from local sites you actually visit, only keep data until you close the browser, or block cookies altogether. The best option: Block all third-party cookies. You can also set exceptions—if you block all cookies, you might to still allow them for, say, Amazon and NYTimes.com, just so you don't have to re-type your password all the time.

Chrome Cookie Settings

Click See All Cookies and Site Data to see a list of the cookies actually installed locally on your computer. You can go through them one by one and delete as desired. It's not a bad idea to just do a Remove All on cookies every few months, just to clear things out.


Google Chrome (Mobile)

Access the menu via the ellipsis menu in the lower-right (iOS) or upper-right (Android), and select Settings > Privacy > Clear Browsing Data. Check off the section for cookies and tap Clear Browsing Data (iOS) or Clear Data (Android). That's all you can do; you don't get any granular controls over existing cookies (except for selecting a time-frame at the top) and can't block third-party cookies alone.

Chrome Mobile

Mozilla Firefox

Click the upper-right hamburger stack and select Options > Privacy & Security. Under Cookies and Site Data, click Clear Data > Cookies and Site Data > Clear to remove your entire cookie history.

Firefox Clear Data

Back to Cookies and Site Data, select Manage Data if you want to choose the sites from which to remove cookies. There's also a checkbox to Delete cookies and site data when Firefox is closed. But that may be overkill. Under Manage Exceptions, create Exceptions to always (or never) accept cookies from select sites.


Firefox (Android)

Go to the three-dot menu and select Settings > Privacy > Cookies. You get three choices: Enabled, Enabled Excluding 3rd Party, or Disabled. To erase all cookies, on the Privacy screen, check the box by Clear Private Data on Exit. You'll get another pop-up to pick Cookies & Active Logins, among other settings.

Firefox Android clear data

Firefox (iOS)

Tap the hamburger menu on the lower-right, select Settings >Tracking Protection. Select Standard or Strict. The latter is basically a private browsing mode.

But for true cookie control, go to Settings > Data Management > Cookies and turn them off. You can Clear Private Data at the bottom of the screen. Or click Website Data at the top to delete cookie data site by site.

Firefox iOS Data Management/Cookies

Microsoft Edge

Internet Explorer is (mostly) dead, long live Microsoft Edge. To clear cookies, select the three-dot menu and select Settings. Click the hamburger menu on the top left and select Privacy and services. Under Clear browsing data, click Choose what to clear. Some options will be pre-selected; can click or de-select the items you want to delete. Click Clear now. Back under Clear browsing data, you can also choose what gets cleared every time you close the browser.

Edge Clear Data

To manage cookies in the future, scroll up to Tracking Prevention. Choose one of three options: Basic, Balanced, or Strict. You can also see blocked trackers and set exceptions.


Safari (macOS)

By default, Safari is only taking cookies from sites you visit—not third-party cookies. You can make changes by going to the Safari menu (a gear icon) and selecting Preferences > Privacy and looking under Cookies and website data > Manage Website Data. From there, pick the sites whose cookies you crush; click Remove All > Remove Now to kill all cookies.

Safari Block Cookies

If you'd like to manage how Safari handles cookies, look for the option to Block All Cookies on that same Privacy tab.

To manage the cookies Safari will accept, click any site under Cookies and Website data to have Safari ask sites and third parties not to track you. Safari may ask on your behalf every time, but it's up to individual websites whether they'll comply or not.


Safari (iOS)

Safari Clear History

With Safari, you don't access the cookie settings by opening the browser itself. In iOS, go to Settings > Safari and toggle Block All Cookies to on.

To kill all cookies, choose Clear History and Website Data. To kill only select cookie data stored by websites (and keep your History), scroll down to Advanced > Website Data. You'll get a list of the sites storing the most data; at the bottom of the list click Show All Sites to see the full list. Delete the data for sites you don't recognize or trust by swiping left; you'll sleep better. Clear them all by clicking Remove All Website Data at the bottom.

Further Reading

Browser Reviews

About Our Expert

Eric Griffith

Eric Griffith

Senior Editor, Features

My Experience

I've been writing about computers, the internet, and technology professionally since 1992, more than half of that time with PCMag. I arrived at the end of the print era of PC Magazine as a senior writer. I served for a time as managing editor of business coverage before settling back into the features team for the last decade and a half. I write features on all tech topics, plus I handle several special projects, including the Readers' Choice and Business Choice surveys and yearly coverage of the Best ISPs and Best Gaming ISPs, Best Products of the Year, and Best Brands (plus the Best Brands for Tech Support, Longevity, and Reliability).

I started in tech publishing right out of college, writing and editing stories about hardware and development tools. I migrated to software and hardware coverage for families, and I spent several years exclusively writing about the then-burgeoning technology called Wi-Fi. I was on the founding staff of several magazines, including Windows Sources, FamilyPC, and Access Internet Magazine. All of which are now defunct, and it's not my fault. I have freelanced for publications as diverse as Sony Style, Playboy.com, and Flux. I got my degree at Ithaca College in, of all things, television/radio. But I minored in writing so I'd have a future.

In my long-lost free time, I wrote some novels, a couple of which are not just on my hard drive: BETA TEST ("an unusually lighthearted apocalyptic tale," according to Publishers' Weekly) and a YA book called KALI: THE GHOSTING OF SEPULCHER BAY. Go get them on Kindle.

I work from my home in Ithaca, NY, and did it long before pandemics made it cool.

The Technology I Use

My first computer was a Laser 128, an Apple II-compatible clone with an integrated keyboard, matched with an eye-straining monochrome green monitor. I used it to type papers in college for other people for money...until I discovered the Mac SE in the college computer room. That changed my life. My first cellphone was a Samsung Uproar—the silver one with the built-in MP3 player from the Napster days (the pre-iPod era).

I use an iPhone 15 Pro hourly and an iPad Air infrequently (but I'm always in the market for a cheap Android tablet). I have a PlayStation 5 just to play Spider-Man, and several Windows machines, including a work-issued Lenovo ThinkPad. I talk to Alexa and Siri all day long. I do the majority of my computing on a 15-inch LG Gram laptop attached to a Thunderbolt hub to run a multi-monitor setup—I overdid it on the power needed to simply work from home.

I'm most at home in Microsoft Word after decades of writing there. More and more, I turn to services like Google Docs, using tools like Grammarly. I use Google's Chrome browser due to an addiction to several extensions I think I can't live without, but probably could. I use Excel extensively on data-intensive stories, but for chart creation, we've switched over entirely to using Infogram for interactive features that are hard to find elsewhere. I do a lot of graphics work for my stories, but limit myself to the free and amazing Paint.NET software to edit images.

I'm a firm evangelist for using the cloud for backup and syncing of files; I'm primarily using Dropbox, which has never failed me, but I also have redundant setups on Microsoft OneDrive, plus extra picture backups on Amazon Photos and iCloud. Why take chances? For entertainment, mine is a streaming-only household—my kid has never seen network TV and barely been exposed to commercials, thanks to Roku and Amazon Music. The house is peppered with smart speakers from Amazon for instant gratification and control of smart home devices like multiple Wyze cameras and Nest Protect smoke detectors. I've got accounts on all the major social networks, to my horror. I have a robot vacuum for each floor of the house. I want a 3D printer, but not sure what I'd use it for.

Read full bio