Export cookies from Chrome

Take your cookies to curl, wget, a test script or another browser, without them going anywhere else.

Chrome has no export button for cookies. A cookie editor can make one, but an export holds your logins, so pick one you can check. cookieZ makes no network requests and its code is public.

Make the export

  1. Open the site in Chrome and click the cookieZ icon.
  2. Under the delete options, choose which cookies: This page, This domain and its subdomains or All sites. Nothing is deleted: export uses the same choice. To export only some, search or tick them first.
  3. Click Export and choose a format.
  4. Add a password if you like, then click Copy or Download.

Which format?

Import them again

Click Import and paste, or open cookieZ in a tab to choose a file. It reads its own JSON, other cookie editors' JSON, cookies.txt, Set-Cookie lines, a Cookie header and a curl command from "Copy as cURL" in DevTools. You see what will be added before anything changes. To copy cookies from a staging site to localhost, open cookieZ on localhost and tick Put them on localhost instead.

Keep it safe

Anyone with an export can sign in as you until those logins expire. Don't paste one into a website, a chat or a bug report. With a password, the file is locked on your computer using the browser's own encryption, and only cookieZ can open it again. The password isn't saved, so don't lose it.

cookieZ is free, has no ads and makes no network requests. Its code is public.

Guides: Clear cookies for one site · Fix “Cookie Too Large” · Block cookies on one site · Block third-party cookies · cookies.txt for yt-dlp · Cookies set before you accept