Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Seems like Safari 5 would store cookies in ~/Library/Cookies/Cookies.plist - but cookies will remain present in Safari even after exiting Safari, removing this file, and then restarting Safari.

Where does Safari 6 store cookies?

chocolate-cookies-07 1.jpg

edit: corrected the path - Libraries (plural) was a typo.

share|improve this question
up vote 3 down vote accepted

The file ~/Library/Cookies/Cookies.plist (note that it's Library, not Libraries) does not exist with Safari 6, and I'm pretty sure Safari 5.1 didn't use it anymore either.

Safari stores Cookies in ~/Library/Cookies/Cookies.binarycookies now, which is no longer a plain text Preference List file, but a binary file from the NSHTTPCookieStorage class that is not human-readable.

If you want to decipher it and learn more about the file format, take a look at this Stack Overflow answer.

share|improve this answer
I still wonder why this file doesn't show up in fseventer when accessing websites. – slhck Sep 14 '12 at 20:16
It's shown by fseventer for me when for example refreshing this page, but it takes a few seconds. – user495470 Sep 14 '12 at 21:38
I did see it in sudo fs_events with grep -i cookie, however I tried deleting this file (before asking the question) but it seems like it did not "clear the cookies" for Safari 6. Thoughts? – cwd Sep 14 '12 at 22:24
Should have mentioned what you've tried in your question. I'm pretty sure Safari stores the application state somewhere else as well @cwd – is your actual question how to delete cookies from the file system? If so, it'd be helpful to ask exactly that. – slhck Sep 15 '12 at 6:28
hmm, yes i should have. thanks!… – cwd Sep 15 '12 at 11:34

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .