Skip to content

Export or delete the cookies stored by Google Chrome Web Browser

License

Notifications You must be signed in to change notification settings

mdapei/ChromeCookiesViewer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

ChromeCookiesViewer

ChromeCookiesViewer is a Windows command-line tool that allows you to export or delete the cookies stored by Google Chrome Web Browser.

Downloads

Download from releases

Development

Build

  1. Clone the repository.
$ git clone https://github.com/mdapei/ChromeCookiesViewer.git
  1. Open the repository in VS2019, switch to the Release configuration, and build the solution. That's it!

Usage

ChromeCookiesViewer <host> [-s <file> | -p | -d] [OPTIONS]

   <host>        Regex for filtering the host name associated to the cookies.
                 Use the asterisk (*) wildcard for all hosts.

   -s <file>     Save the cookies in the specified text file (path can be absolute or relative).

   -p            Print cookies in console.

   -d            Delete cookies from the browser (Google Chrome must be closed).

Options:

   -n <name>     Regex for filtering the cookie names.

   -a            Include multiple cookies with the same name.
                 Without this option, in case of cookies with the same name,
                 only the most up-to-date one will be extracted.

   -e            Exclude expired cookies.

Unable to Open Database File

Due to a recent Google Chrome update (version 114.0.5735.110 and later) to protect users against malware attempting to steal cookie information, you need to launch it from the command line with:

chrome.exe --disable-features=LockProfileCookieDatabase

Another option is just close Google Chrome before running ChromeCookiesViewer.

Support

GitHub Issues are for Bugs and Feature Requests Only

License

About

Export or delete the cookies stored by Google Chrome Web Browser

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages