How to Delete Cookies and Stored Website Data in Safari

  • MORE

Websites and advertisers use cookies to identify you and follow you around the internet, and they might also save other website data to remember you by. In Safari, you can delete these cookies and other data. Let's head to Safari's privacy settings.

 safari cookies details

Stored content can include a history of your site visits or information you provided the site, such as your name and email address. You can delete all of the website data at once or for individual sites.

Delete Cookies and Saved Data on the Mac

1. Select Preferences from the Safari menu or hold down the Command key and the comma key at the same time (Command+,).

safari preferences

2. Go to the Privacy tab.

safari privacy tab

3. Click the Remove All Website Data button to remove all stored website data, or skip to step 5 to remove data on a site-by-site basis.

safari delete website data

4. Click Remove Now to confirm. Note, as Safari warns you, this could log you out of sites and perhaps also change how they function. For example, instead of getting tailored ads on the site, you'll be served generic ones.

safari delete website data confirm5. To remove stored data by site, click the Details button. 

safari details

6. Select the sites with stored data you want to remove. Hold down the Command key to select multiple sites.

safari cookies selected7. Click Remove.

8. Click Done.

Alternatively, you can click the Remove All button to delete all of the sites' cookies and stored data. Safari will ask you to confirm your choice:

safari cookies confirm

Delete Cookies and Web History in Safari in iOS

Clear your history, cookies, and browsing data from Safari on your iPad or iPhone.

1. Open the Settings app and tap Safari.

safari ios settings 28479714550376622. Tap Clear History and Website Data. If you're using iOS 7 or earlier, the menu is slightly different: Tap "Clear History" and "Clear Cookies and Data".

safari ios clear history

3. Tap Clear to confirm.

safari ios clear confirm4. Tap Advanced back in the Safari Settings window to clear other stored website data.

safari ios advanced

5. Tap Website Data.

safari ios advanced website data6. Tap Remove All Website Data. Alternatively, you can click the Edit link at the top right and then delete individual sites' data by tapping the minus sign next to the site names.

safari ios advanced removeDoing this will not only help protect your privacy. It can also clear out precious space on your device.


Add a comment
  • Starbase101 Says:

    Does not clear all cookies/databases. On many of them, they just reappear over and over after clicking Remove. There seems to be no way to permanently remove them without Remove All, which undesirably clears everything. Site should not be permitted to hijack disk space on a user's computer!

  • cj salazzio Says:

    Hi, I wonder if Jaluo might communicate with me; have a question on 'directory not open' in Terminal. Jaluo was right on re comment submitted August 9, 2017 at 9:02 p.m. Was able to remove sticky databases in Safari preferences immediately. Thanks.

  • MikeIsMyName Says:

    I have Safari Version 11.0.1, and the Privacy box has changed, it doesn't give you these options now when you click onto 'Manage Website Data'. On mine when you click onto 'Manage Website Data', it takes forever to load, up to 5mins!, be patient.
    We have to do this daily now, as Twitter has announced it now tracks all websites you visit, and based on them they will block you based on your Political views now!

  • debra Says:

    i have about 30 sites that will not remove no matter how many times i hit "remove all". i've also deleted all history and cleared my cache. using safari 10.1.2

  • Laurie Says:

    Visitor: It worked !! Thank you!! The list of unwanted files was empty!!

  • Lionel Says:

    Someone help, there's these random sites stored in my website data in advanced, and it will not let me delete it, I always click delete all the data and it still will not reset it, any tips or tricks to help me remove it permanently

  • diemm Says:

    @ visitor July 13th, 2017 at 10:58 pm
    Worked fine for me. Finally.
    Thank you.

  • jaluo Says:

    1. Open your terminal
    2. Type "cd ~/Library/Safari"
    3. Type "mv Databases Databases_".
    4. Have a check from safari Privacy and your will find all clear :-)

    WORKED !!!!!!!! yeeeeey

  • Visitor Says:

    Hi upstairs:
    I'v met the same problem before and finally found solution.
    1. Open your terminal
    2. Type "cd ~/Library/Safari"
    3. Type "mv Databases Databases_". (Or you can use sqlite module of python to delete the record what you want to ...)
    4. Have a check from safari Privacy and your will find all clear :-)

  • LouMinn Says:

    Ditto. Same here, and this is even after opening Safari in a new 'Private window'.

  • Jono858 Says:

    Got about a dozen websites that stay on the list no matter how many times I remove them using either Remove All or individual selections. If there isn't a way to end unwanted vendor tracking I'm getting off Safari!
    Mac OS 10.10.5 & Safari 10.1.1

  • Abraham Says:

    I have the same problem, these 2 websites could not be deleted

    and underneath them it says, "Database" instead of "cache"

    Any help would be highly appreciated.

  • John W Says:

    Add me to the list. Why can't we
    eliminate these database files?

  • Steve Says:

    I have 8 sites that won't go away in safari in ios 10.3.2

  • MRW99 Says:

    Same problem with two websites !!!
    Help please

  • ChadRS Says:

    Same issue, I have 2 websites that won't die. It's concerning. HELP!

  • Samuel Johnston Says:

    Same problem with four websites
    They just will not die!

  • JD Grif Says:

    I have the same problem John Dowling posted. Any ideas? I even tried the terminal command to "kill" the history. No luck. OSX 10.11.6

  • John Dowling Says:

    Hi Melanie
    What do you do once you have followed the instructions a number of times, but 4 websites automatically keep coming back. Obviously they have lodged some small software into my system. I run Intego anti virus and that has not done the job
    Many thanks

Back to top