Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

AFAIK Google Chrome uses an SQLite file to save cookies. I've tried to locate this file under my Windows 7 but couldn't locate it.

I've found one file only, under C:\Users\your_username\AppData\Local\Google\Chrome\User Data\Default, but it didn't have SQLite extension, and even when I even tried to open it using an SQLite browser, it didn't recognize the file.

I know I can see those cookies from Chrome settings section, but I am trying to read the cookies file content through my Delphi project, so I will appreciate it so much if anyone can please help me by telling me where I can find Google Chrome cookies SQLite file or how I can read Google Chrome cookies file.

share|improve this question

migrated from stackoverflow.com Aug 9 '12 at 8:02

This question came from our site for professional and enthusiast programmers.

1  
Try the c:\Users\<UserName>\AppData\Local\Google\Chrome\User Data\Default\Cookies file. –  TLama Aug 8 '12 at 21:43
2  
This is not a programming question; I've voted to move it to Super User. –  Rob Kennedy Aug 8 '12 at 21:44
    
@TLama Please check my question, I've noted there that I've already tried the cookies file under this path and it is of no use –  MChan Aug 8 '12 at 23:42

3 Answers 3

up vote 4 down vote accepted

You can find a solution on SuperUser :

Chrome cookies folder in Windows 7

C:\Users\your_username\AppData\Local\Google\Chrome\User Data\Default\

You'll need a program like SQLite Database Browser to read it.

share|improve this answer
    
I've noted in my question that I've already tried this path before and there is no SQLite DB under it –  MChan Aug 8 '12 at 23:43
3  
Apologies, it seems that my confusion was due to using FireFox SQLite extension which didn't open files unless they have SQLite... I've tried use sourceforge.net/projects/sqlitebrowser and it opened the file :) Thanks for your help –  MChan Aug 8 '12 at 23:53

We already have Mac OS X and Windows here, so I'll just add Linux for the benefit of web searchers.

You can find the cookies database at

~/.config/google-chrome/Default/

If you can find it there, I'll have you know that the ~/.config/ part comes from where you or your distribution have set the variable $XDG_CONFIG_HOME to point at.

Freedesktop.org, the standards body for this specification, recommends ~/.config/ to be the default and that's what distros follow.

share|improve this answer

For anyone who needs this on Mac OS X, the file is located at ~/Library/Application Support/Google/Chrome/Default/Cookies

share|improve this answer

Your Answer

 
discard

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.