34

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.

Peter Mortensen
  • 12,090
  • 23
  • 70
  • 90
719016
  • 4,177
  • 16
  • 59
  • 91
  • The answer which was accepted in 2012 is no longer valid. Please consider accepting a different answer, such as https://superuser.com/a/920604/731724, instead. – ClickRick May 24 '17 at 17:57

8 Answers8

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

akira
  • 61,009
  • 17
  • 135
  • 165
  • 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 06:43
  • F12 can also be used, which is quicker. – Gnuffo1 Sep 11 '15 at 09: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 02 '17 at 22:44
  • 1
    In Chrome 71 (Windows) Developer Tools, the cookies are now under the Application tab, then on the left side, Storage > Cookies. – Mark Berry Jan 16 '19 at 17:08
16

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

Carl Walsh
  • 393
  • 3
  • 16
kontextify
  • 443
  • 1
  • 4
  • 9
  • 3
    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 '19 at 15:33
  • With Edge it is: '...\AppData\Local\Microsoft\Edge\User Data\Default\Cookies' and 'Cookies-journal'. There are separate folders for the Developer and Beta versions, too. As of today, all Edge processes must be terminated first. Just clearing the cookies in the UI does not seem to be sufficient. – cskwg Nov 26 '21 at 08:16
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.

blubb
  • 105
  • 3
Derek Kerton
  • 69
  • 1
  • 3
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
Synetech
  • 68,243
  • 36
  • 223
  • 356
Motsel
  • 840
  • 6
  • 10
2

This works on my system: chrome://settings/content/all?search=privacy

...presenting a list of per-site cookies with a search/filter text field in the top-right corner of the page, for my current version/context/date:

Google Chrome: 111.0.5563.64 (Official Build) (arm64)
OS: macOS Version 12.6.3 (Build 21G419)
date: 2023-03-15

Since it appears Google Chrome is changing its user interaction every so often (a few of the above answers did not work for me, including the most-up-voted answer), this might not work on other OSes or in future versions, but who knows.

Johnny Utahh
  • 581
  • 7
  • 23
2

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

.

Moab
  • 58,044
  • 21
  • 113
  • 176
1

Consider using Cookie Editor extension.

Adrian Panasiuk
  • 1,085
  • 1
  • 11
  • 14
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.

fixer1234
  • 27,064
  • 61
  • 75
  • 116
ktapkin
  • 86
  • 1