Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

I wish to view, add and edit the cookies of my google chrome. Can anyone suggest to me a way to do it?

share|improve this question

You can go to the Developer Tools (Ctrl-Shift-J or Tools -> Developer Tools) -> Console and the you can enter javascript command:


You can replace or add new cookies with this technique.

It is possible to set multiple cookie options, i.e.

document.cookie="username=John Doe; expires=Thu, 18 Dec 2013 12:00:00 UTC; path=/";
share|improve this answer
Stanley basically said it but to clarify - if you only edit a single cookie with this command, it will not delete all the other cookies on the site, it really only replaces the cookies mentioned in the command. – Jon z Sep 11 '13 at 22:21
This won't work if some website is using HttpOnly flag to prevent access to cookies by JS (to deny XSS attacks). More on wiki. – s3m3n May 6 '14 at 17:37
Hi, can you also set the expiry date using this method? – Drewdavid Oct 8 '14 at 4:22
Hi David, I just edited my answer to show how to add expiry and path. – StanleyD Oct 13 '14 at 11:49
Typing in address bar works as well. – kenorb Sep 1 '15 at 16:57

Using 10.0.648.45 dev you can view cookies in Options → Under the Hood → Content Settings → All Cookies and site data.

Alternatively, you can view the cookies for the current site with the Developer Tools (Ctrl-Shift-J or Tools → Developer Tools), Resources → Cookies.

share|improve this answer
But you cannot edit the values in either pane, can you? – phihag Dec 16 '12 at 8:45
That's correct, you can only view them in Chrome without addons. – Dan H Dec 27 '12 at 0:36
Note that viewing Resources > Cookies (in developer tools) just shows the cookies that are available to the current request. Whereas "All cookies and site data..." shows you all the cookies that have been set for a particular domain (regardless of the path). – w3dk Oct 13 '15 at 12:13
@phihag And if cookie value too long, Developer Tools will trim it. – HEX Apr 21 at 10:34

Perhaps the easiest way to view your cookies in Chrome is to visit:

  • chrome://settings/cookies

This does not allow you to edit the cookies in Google Chrome 33.0.1750.117 (Official Build 252094) on Mac OS X, but does allow viewing and deleting.

share|improve this answer
There is no hyperlink, because Chrome does not allow hyperlinks for chrome://. – Martin Thoma Jun 7 '15 at 7:24
@moose Although Chrome does permit you to add these special links to Chrome's bookmarks for easy access (it also assigns a special "cog" favicon). I have this particular one on my bookmarks-bar for easy access. – w3dk Oct 13 '15 at 12:09
@w3d It might work from the bookmakrs folder, but not on a webpage. Just try it: – Martin Thoma Oct 13 '15 at 12:28
@moose Yes. (Although Chrome used to allow you to drag these special links to the address bar / omni box, but they stopped that as well - you just get the about:blank page now. You can still manually "Copy link address" and paste it in the address bar - marginally quicker than selecting, copy and paste.) – w3dk Oct 13 '15 at 12:37
Well, that depends on your workflow. For me, clicking 3 times fast on the text and pressing CTRL+C is much faster than doing a right-click and selecting "copy link". – Martin Thoma Oct 13 '15 at 12:43

I have been frustrated by the current solutions on the extensions store to view, edit, create, remove cookies. The current solutions appeared as popups and did not have a good UI. I wanted to get the same functionality as the firebug cookies editor with a Chrome look and feel. So I made one:

Cookie Inspector - Missing cookie manager for Google Chrome. Edit and create cookies right in the Developer Tools.

share|improve this answer
Finally a decent replacement for Firecookie. Thank you man! – georg Oct 7 '13 at 10:13
Doesn't work with Chrome 42. Any other? – nitech May 27 '15 at 10:20
Hi @nitech. I'm on Chrome 43 and it's working pretty well. Maybe you can table what's not working in support. Thanks. – westoque May 28 '15 at 15:01

For all pages

  1. Go to Settings:

    enter image description here

    (now you are on chrome://settings/)

  2. Scroll to the Privacy section > Content Settings...

    enter image description here

    (now you are on chrome://settings/content)

  3. Click on All cookies and site data...

    enter image description here

    (now you are on chrome://settings/cookies)

  4. Here you can view/remove cookie or remove all cookies. Click on the labels to see details.

    enter image description here

For the actual page

  1. Press F12
  2. Go to Resources > Cookies

    enter image description here

  3. In the right side you can see the cookies. If you want to delete them > right click > Delete:

    enter image description here

To edit cookies, I recommend the Chrome plugin: EditThisCookie ( that was already mentioned.

share|improve this answer

There is a Chrome plug-in called Edit This Cookie. It adds a menu to your browser toolbar which allows you to add, edit, and delete cookies.

Install it from here:

The source code is here:

share|improve this answer

For completeness it should be noted that you don't need the developer tools console or any add-ons, extensions or plug-ins.

The javascript commands provided by @StanleyD can be directly entered into the address bar with just an additional "javascript:" prepended. E.g.


This is useful in an environment where you need to send a cookie change out to a bunch of non-tech users without overwhelming them with steps.

share|improve this answer
This doesn't work if HttpOnly has been used. – Flimm Jan 13 at 13:50

I would recommend use external cookies managers. Personally, I like ChromeCookiesView and CookieSpy.

share|improve this answer
FYI, CookieSpy is AdWare – Justin Holzer Apr 8 '13 at 15:19

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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