I have linux as my main environment and windows 7 intalled on my virtual machine. What I'm trying to do is replace Cookies file with another file to change my cookies.

I logged in with account A on fb in windows and account B on linux. I transfer file from windows which was in C:\Users\gio\AppData\Local\Google\Chrome\User Data\Default file called Cookies on my linux machine and replaced it in this directory /home/gio/.config/google-chrome/Default, but nothing changed. I closed chrome on linux and opened again but I was logged in on account B again. So my question is from which file does google chrome read cookies.

2 Answers 2


I'd try a less crude way - EditThisCookie extension. It can export and import cookies, it should let you copy session from one system to another.

You can also use it to view cookies.

  • 1
    I want to cahnge cookies with copy and paste not with extension. Thanks anyway
    – user498803
    Sep 18, 2015 at 9:32

Chrome indeed reads cookies from xxx\Google\Chrome\User Data\Default\Cookie. But I think Chrome has a validation or encryption mechanism that cannot directly replace Cookie file.If directly replace Cookie file,Chrome will clear the Cookie file.

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.