Export Cookies

Export cookies to various formats in one click!

You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Userscripts to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install a user script manager extension to install this script.

(I already have a user script manager, let me install it!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(I already have a user style manager, let me install it!)

Author
138 Aspen
Daily installs
0
Total installs
8
Ratings
0 0 0
Version
0.2.1
Created
2025-12-05
Updated
2025-12-05
Size
11.2 KB
License
GPL-3.0
Applies to
All sites

Greasy Fork

🪄 Features

This script allows you to export cookies from the current page to files or clipboard. Currently supports the following formats:

  • cookies.txt: Netscape HTTP Cookie file
  • cookies.json: JSON format
  • Clipboard copy: Copy cookies directly to clipboard in either format

📚 Usage

Right-click on any page and select Tampermonkey - Export Cookies. Then choose one of the following options:

  • Enter 1 to export as Netscape format (cookies.txt)
  • Enter 2 to export as JSON format (cookies.json)
  • Enter 3 to copy Netscape format to clipboard
  • Enter 4 to copy JSON format to clipboard

⚠️ Notes

Please note:

  • You need to add .json extension to the whitelist in Tampermonkey's options page to export as cookies.json. (.txt is whitelisted by default)
  • httpOnly cookies are only supported in Tampermonkey BETA versions.
  • Clipboard functionality requires the GM_setClipboard permission.

✨ Acknowledgment