31

How can I delete specific cookies from Google Chrome?

I have cookies from a website that recently got updated, and I need to clean up the existing cookies, but I don't want to delete any other cookies that I have in the browser.

33

On Windows and Linux, press Ctrl+Shift-i. On OS X, press --i instead.

Alternatively, open the Developer Tools pane from the Tools menu.

Open the Resources pane, and delete the cookies you want to delete.

Chrome developer tools - delete cookies

  • Ctrl+J for Chromium 17 on Linux, at least, opens the downloads page. Ctrl+Shift+I opens the inspector for reference. I don't know if the same shortcut is applicable for Windows, though. – Reid Feb 25 '12 at 22:27
  • 1
    J (note: capital J) opens the dev-tools. j (note: lower j) opens download. – akira Feb 26 '12 at 11:37
  • If you are still wondering, you can use the X marked button at the bottom or the delete button. – Gokul N K Sep 10 '13 at 6:43
  • F12 can also be used, which is quicker. – Gnuffo1 Sep 11 '15 at 9:28
  • Note: if the host "unexpectedly closed the connection" then Chrome doesn't list the cookies, and you'll need to use the user settings menu. – Carl Walsh Oct 2 '17 at 22:44
12

Here's a command-line solution for deleting specific cookies from Chrome.
Cookies are stored in an sqlite database file:

  • on Linux: ~/.config/google-chrome/Default/Cookies
  • on Windows: %LOCALAPPDATA%\Google\Chrome\User Data\Default\Cookies
  • on Mac: ~/Library/Application Support/Google/Chrome/Default/Cookies

You can delete all cookies belonging to a site by running an SQL DELETE command on this file:

Linux / Mac

sqlite3 cookiefile 'DELETE FROM cookies WHERE host_key LIKE "%domain%";'

Windows

sqlite3 cookiefile "DELETE FROM cookies WHERE host_key LIKE '%domain%';"

Note:
You can download the sqlite commandline client from here: https://sqlite.org/download.html

  • 2
    I'm getting "Error: disk I/O error" when attempting to delete a cookie. SELECT command with same where clause shows there's 1 cookie that would match. I guess it can't be deleted while browser is open? Running with admin privileges obviously. – ambidexterous Jul 31 '17 at 22:55
  • The sqlite3 command didn't clear my cookies, but just deleting the file does. – ognockocaten Jun 20 at 15:33
7

The wrench menu is gone now. In Sept 2014, the answer to the question of how to delete specific cookies in the Chrome Browser is:

  • Go to menu button, choose "settings".
  • Select "Show advanced settings".
  • Go to "Privacy".
  • Select "Content Settings" button.
  • Under "Cookies" select the "all cookies and site data" button.

A shorter alternative to arrive at the same place as the above steps is to type the chrome URL directly into the address bar: chrome://settings/content/cookies, which can also be bookmarked for more convienient reuse, before proceeding onto the final steps:

  • Search for the site you want to delete.
  • Click the "X" to the right of the site listing.

Google sure has made this difficult. The headings that lead you here are non-intuitive, and it's way to buried, and by changing the location of this function in each version of Chrome, there are all kinds of out-dated answers on the web.

  • Thanks! This works great even now (June 2015) and doesn't need an additional browser addon. – nonbeing Jun 29 '15 at 13:37
  • In newer versions of chrome, the URL seems to be chrome://settings/content/cookies instead. – blubb Apr 5 '18 at 10:19
  • Looks like to delete specific cookies, you now go to: chrome://settings/content/all – mmortal03 Sep 25 at 11:02
6
  1. Open the Wrench Menu
  2. Navigate to Options -> Under the hood -> Content Settings -> Cookies
  3. Click All cookies and site data…
  4. Search for the site
  5. Click on the [+] to expand the site and view its cookies
  6. You can delete either a specific cookie for the site or the site and all of its cookies
  • 1
    I think the Wrench Menu is gone now. – kevinarpe Sep 9 '13 at 12:09
2

I use Cookie Monster for managing cookies for all my browsers, not just Chrome.

.

1

Consider using Cookie Editor extension.

1

Consider use of cookies manages such as ChromeCookieView and CookieSpy, (the CookieSpy developers appear to no longer have a web presence, but the product can be downloaded from numerous places, such as this link).

They are free. ChromeCookieView is very functional. CookieSpy shows cookies for not only for Chrome but and other browsers as well.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.